a13n
Build AI agents and run them on cloud.
Open-source, read-only database utilities for small teams: SQL Server upgrade and SSRS migration checks, text-to-SQL, and more on the way. Free and Apache 2.0.
Developer toolsJavaScript · TypeScriptGitHub @db-agentOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Production text-to-SQL agent for Databricks, Snowflake, and AWS — safety guardrails, schema-aware, deployable in one command
Loading the full README.
Read the full README ↗An open-source text-to-SQL AI agent that converts natural language into safe SQL, with production deployment patterns for Databricks Apps, Postgres/MySQL, and cross-agent memory on AWS S3 Vectors. Schema-aware prompt engineering, SQL safety guardrails (SELECT-only validation), knowledge files, and result-set benchmarks you can deploy at work.
Featured In
DB Agent is a minimal natural-language-to-SQL system. A user asks a question in plain English; DB Agent retrieves relevant schema context, prompts an LLM to generate a SQL query, validates the query against a SELECT-only safety layer, executes it against the target database, and returns the results with every intermediate step visible. The primary implementation is a Node.js/React app that runs locally in one command or deploys natively to Databricks Apps.
EXPLAIN / EXPLAIN COST), with approval for expensive queriesdb-agent scan drafts one from your schema, and an accuracy test scores answers with and without it| Local | Databricks Apps | |
|---|---|---|
| Stack | Node.js + Express + React | Same app, native Databricks App |
| LLM | Ollama or any OpenAI-compatible | Databricks Model Serving or any OpenAI-compatible |
| Memory | Local JSONL or AWS S3 Vectors | Lakebase pgvector |
Run locally (Databricks SQL + Ollama):
cd app
cp .env.example .env # set DATABRICKS_* warehouse credentials
ollama pull qwen2.5-coder:7b
./run_local.sh
Open http://localhost:3001. Any OpenAI-compatible endpoint works instead of Ollama; see app/.env.example.
Docker, no cloud account (Postgres demo data): see app/README.md.
Databricks Apps:
# 1. Install prerequisites & labagent
winget install Python.Python.3.14
Invoke-WebRequest -Uri https://bootstrap.pypa.io/get-pip.py -OutFile get-pip.py
python get-pip.py
pip install labagent
# 2. Install Databricks CLI
winget install Databricks.DatabricksCLI
# 3. Authenticate Databricks
$env:DATABRICKS_AUTH_STORAGE="plaintext"
databricks auth login
# 4. Launch DB Agent
labagent launch db-agent --name demo-1 --param profile=DEFAULT
More: ontology and scan · MCP gateway · full configuration
Hands-on bootcamps on text-to-SQL agents, ontologies, and Databricks deployment patterns. Private team workshops: contact BeCloudReady . Community: TorontoAI, 10,000+ data and AI practitioners.
BeCloudReady . Organizers of TorontoAI.
Book a discovery call for customized training and consulting.