尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Production text-to-SQL agent for Databricks, Snowflake, and AWS — safety guardrails, schema-aware, deployable in one command
翻译准备中
正在加载完整 README。
查看完整 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.