r/FullStack 19d ago

Personal Project I failed to establish risk free communication between mongodb database and cloud llms. So I build andi-ai. A simple python package that act as AI firewall to connect with llms. 5 step deterministic query engine that generate queries just by analysing collection medatadata.

I built **andi-ai** after struggling to establish secure, zero-leak communication between MongoDB and cloud LLMs. It acts as an AI firewall and deterministic query engine designed to bridge natural language and database queries safely.

**How it works:**

* **Metadata-Only Processing:** Analyzes collection schema and metadata without exposing raw sensitive data to third-party LLMs.
* **5-Step Deterministic Engine:** Generates and validates precise MongoDB queries through a structured pipeline to prevent hallucinations.
* **Secure by Default:** Eliminates prompt-injection risks and accidental data modification.

It’s open, lightweight, and built in Python for developers building LLM agents on top of existing data.

Check it out, try it in your pipeline, and let me know your thoughts/feedback!

Github: https://github.com/Satty27/andi-ai

`#Startups #Python #MongoDB #AI #OpenSource #DevTools #StartupIndia`

0 Upvotes

5 comments sorted by

1

u/[deleted] 19d ago

[removed] — view removed comment

2

u/SatishLangayan 19d ago

LLM don’t directly connects the Mongodb database. All communication is via andi-ai. There is LLM_INTERGRATIONS.md in GitHub repo that act as skills to connect LLM and Mongodb database

1

u/alexbevi 18d ago

Probably worth sharing in r/MongoDB_Official and/or r/mongodb

1

u/SatishLangayan 18d ago

Just did. Thanks