Output will stream here when you run the agent.
Summary
The Chat with Database Agent answers questions about your data in plain English. It introspects the schema, writes the SQL, runs it read-only, and explains the results. Reach for it to give non-SQL users a safe way to query a database, or to prototype analytics without hand-writing queries.
Installation
$ pnpm dlx shadcn@latest add @agentcn/langgraph/text-to-sql
Composition
├── index.ts
├── instructions.md
├── lib/db.ts
├── tools/execute-sql.ts
├── tools/introspect-database.tsCustomization
- Edit
index.tsto change the model, description, or system prompt. - Add route-local tools under
tools/; tool input and output types are inferred from TypeScript. - Run
dawn verifybefore deploying generated LangGraph artifacts.