A developer tool that reads your database schema and exports clean, structured JSON with business names, relationships, PII flags, and rules. Ready for any LLM, agent, or RAG pipeline.
SeDQL is a command-line tool that generates LLM-ready schema context from your database.
It reads your database schema and exports a clean, structured JSON file with business names, relationships, PII flags, and validation rules. No cloud. No API keys. No over-engineering.
Tables, columns, foreign keys, constraints.
users -> Customers, orders -> Orders.
Ready for any LLM, agent, or RAG pipeline.
Three simple steps. No complicated setup. No cloud.
One command. No dependencies. Works on any system.
pip install sedql-cliPoint it at your database. It reads your schema automatically.
sedql init --db "postgresql://..."Ask questions with templates, or export JSON for your AI.
sedql export --output context.jsonSeDQL sits between your AI and your database, providing context and structure.
SeDQL is a semantic layer, not a full LLM.
SeDQL is open source. Try it, file issues, send pull requests, and help us build something genuinely useful.