
SQL Agent LangGraph
blueprint · 4 agents
20000★ stars
What it does
LangGraph's SQL tutorial: list the tables, pull the relevant schema, draft a query, run it through a query-checking step, execute, and loop on errors. The double-check-before-execute structure is the part worth stealing.
Agent flow
1 · Explorer
Read the schema
sqlite
2 · Writer
Draft the query
no tools · reasoning
3 · Checker
Verify before running
no tools · reasoning
4 · Executor
Run & recover
sqlite
get the code
View the source on GitHub ↗
This blueprint lives in its authors' repository. SocketCat indexes it and links you to the real thing.