open-source · since 2026-09-11
Self-Improving SQL Agent
ssk525
MIT LangGraph text-to-SQL reference agent for a bundled music-store schema. It combines SELECT/WITH-only execution, retries on executor or guardrail errors, a persistent playbook of failure-derived lessons, optional Mem0 user memory, Streamlit UI and MCP execution tool.
text-to-sqllanggraphmcpevaluationmemoryself-hosted
desk notes
Verified 2026-09-11. Repository contains runnable Python source, SQLite/PostgreSQL setup, one core test file, a 30-question learn split and frozen 20-question holdout evaluation harness. Important caveat: committed evals/results.md contains placeholders, not measured A/B/C scores. GitHub showed 0 stars, 0 forks and no tagged release at verification.