惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Exploit Database - CXSecurity.com
G
Google Developers Blog
爱范儿
爱范儿
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 叶小钗
C
Check Point Blog
F
Fortinet All Blogs
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
博客园 - 【当耐特】
Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
P
Palo Alto Networks Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
L
LINUX DO - 热门话题
M
MIT News - Artificial intelligence
Vercel News
Vercel News
博客园 - 司徒正美
Recorded Future
Recorded Future
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
P
Privacy & Cybersecurity Law Blog
Webroot Blog
Webroot Blog
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
云风的 BLOG
云风的 BLOG
D
DataBreaches.Net
Y
Y Combinator Blog
J
Java Code Geeks
B
Blog
A
About on SuperTechFans
O
OpenAI News
aimingoo的专栏
aimingoo的专栏
T
Tor Project blog
Stack Overflow Blog
Stack Overflow Blog
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - Franky
AWS News Blog
AWS News Blog
GbyAI
GbyAI
Application and Cybersecurity Blog
Application and Cybersecurity Blog
IT之家
IT之家
V
V2EX
量子位
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
大猫的无限游戏
大猫的无限游戏
Help Net Security
Help Net Security
W
WeLiveSecurity
C
Cyber Attacks, Cyber Crime and Cyber Security

Show HN

GitHub - villagesql/villagesql-skills: Agent skills for VillageSQL - gemini-cli-extension; claude-code-plugin GitHub - flightdeckhq/flightdeck: Observability and control plane for AI agents. CSP Radar GitHub - Light-Heart-Labs/DreamServer: Turn your PC, Mac, or Linux box into an AI server. LLM inference, chat UI, voice, agents, workflows, RAG, and image generation. GitHub - Diplomat-ai/diplomat-agent-ts: What can your TypeScript AI agent do to the real world? Scan your code. See which tool calls have zero checks Code Block Selector - Visual Studio Marketplace Prometheus dependency graph — interactive showcase | Riftmap Show HN: I made a vi-like modal keyboard plugin for Figma GitHub - run-llama/liteparse: A fast, helpful, and open-source document parser GitHub - dalemyers/Roar: A macOS CLI tool for notifications GitHub - district-solutions/open-agent-tools-coder: Enables small-to-large self-hosted ai models to use local source code when running tool-calling agentic workloads. We actively data mine 20,900+ (2+ TB) popular github repos using large and small ai models to create reuseable: json, markdown and parquet files for local-first tool-calling models. GitHub - progapandist/stripeek: A local TUI proxy for real-time Stripe API debugging, built for navigating complex payloads fast. GitHub - sir1st/hermes-desktop: All-in-one cross-platform desktop app for Hermes Agent — bundles Python + hermes-agent + hermes-web-ui GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach GitHub - nixys/nxs-universal-chart: The Helm chart you can use to install any of your applications into Kubernetes/OpenShift Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code. GitHub - tamerh/enju: Coordinating Humans, AI Agents, and Compute as Peers on a Shared Workflow Graph Show HN: Continuity-auth – Respect-weighted rate limits for the open web GitHub - luml-ai/luml: AI lifecycle platform where engineers and agents track experiments, train models, and ship to production. GitHub - mrdanielcasper/CoreTex: A UNIX-inspired, biomimetic, flat-file AI harness and knowledge engine. GitHub - clemg/pierre-github: Pierre's diffs.com and trees.software for Github GitHub - lyriks-io/unspaghettit: Behavior-driven AI development without prompt spaghetti. GitHub - sofumel/claude-handoff-revive: Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages. GitHub - dotexorg/saferpc: Typed, end-to-end encrypted RPC over any bidirectional channel. GitHub - BeeZeeAgent/beezee: Agent harness orchestration Legato Next.js Boilerplate for Internal Tools · CoreUI GitHub - clark-labs-inc/clark-hash: Clark Hash, 32x smaller searchable sketches for embeddings GitHub - ZeroPointRepo/youtube-mcp: The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free. Typing Mastery — climb toward 100+ WPM, deliberately GitHub - Andebugulin/Awareen GitHub - fayzan123/claude-workflow-composer: Visual desktop app for composing multi-agent coding workflows. Drag agents, attach skills and MCPs, wire handoffs, export to .claude/ GitHub - harshaneel/humanize: Best static AI text humanizer. Two research-grounded skills that work in any LLM (Claude, ChatGPT, Gemini, Codex): humanize beats perplexity-based detectors, ai-check produces forensic scoring with evidence-quoted flags. Nine levers, 50+ peer-reviewed sources, 2024-2026 detection literature. GitHub - StackOneHQ/stack-nudge GitHub - nodes-app/swift-markdown-engine: A native AppKit Markdown editor for macOS, built on TextKit 2 and bridged to SwiftUI. We hardened an LLM agent. Each defense we added made it more exploitable. GitHub - alkait/WhatsKept: Agent-queryable WhatsApp history from an iOS backup — a single Go binary. GitHub - octelium/cordium: Open-source, general-purpose sandbox platform for devs and AI agents that provides identity-based secure access to infrastructure without credentials. WAR.GOV/UFO Microfilm5 GitHub - scosman/videowright: Build animated explainer videos with your coding agent GitHub - dipankar/dscode: The code editor you can take apart. GitHub - zoharbabin/web-researcher-mcp: MCP server (Go) for AI assistants: web search, content extraction, academic/patent/news research. Multi-provider routing, 4-tier scraping, search lenses. Works with Claude, Cursor, and any MCP client. GitHub - ruvnet/RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video. GitHub - scanaislop/aislop: Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions. 50+ rules across 7 languages (TypeScript, JavaScript, Python, Go, Rust, Ruby, PHP). Sub-second, deterministic, no LLM at runtime. MIT-licensed. GitHub - kouhxp/cheap-im: CPU-only voice agent approximating Thinking Machines' Interaction Models demo GitHub - unprovable/OrchidMantis: Orchid Mantis — standalone framework for Zero-Knowledge Proofs of eXploit (ZKPoX). GitHub - MarcellM01/TinySearch: Shrink the web for your local LLMs! GitHub - TangibleResearch/Halgorithem: A Algo designed to detect AI Hallucitions GitHub - DO-SAY-GO/freelang: I love freelang GitHub - CarpseDeam/Aura-IDE: An AI coding harness that shaped itself - Planner/Worker agents, repo awareness, surgical edits, validation, recovery, and safe diff approvals. GitHub - chojs23/concord: A feature-rich TUI client for Discord GitHub - tommyjepsen/awesome-ux-skills: UX & AI Product designs skills you can use today in Claude Code GitHub - aerf-spec/aerf: Agent Evidence Receipt Format (AERF) — an open specification for tamper-evident, independently verifiable records of AI agent actions. GitHub - kklimuk/docx-cli: CLI for AI agents (Claude, Codex) to read, edit, and comment on .docx files with full format fidelity. GitHub - Jwrede/tokentoll: Catch LLM cost changes in code review. Infracost for LLM spend. GitHub - samchon/ttsc: A `typescript-go` toolchain for compiler-powered plugins and type-safe execution + 500x faster lint integrated into compiler GitHub - Higangssh/homebutler: 🏠 Manage your homelab from chat. Single binary, zero dependencies. GitHub - olalie/tapmap: See where your computer connects and what stands out on a live world map. GitHub - matisiekpl/neond: DX-focused control plane for Postgres dedicated to non-critical workloads. Your postgres:latest replacement 🐘 GitHub - Diplomat-ai/diplomat-agent: What can your AI agent do to the real world? Scan your code. See which tool calls have zero checks GitHub - Bajusz15/beacon: Open-source agent for secure remote access, monitoring, and deploys across home-lab and self-hosted machines like Raspberry Pi, N100, or any Linux server. Open web based TTY or tunnel Home Assistant and other local services securely without opening ports. BigTech AI News - Chrome 应用商店 GitHub - vinhnx/VTCode: VT Code is an open-source coding agent with LLM-native code understanding and robust shell safety. Supports multiple LLM providers with automatic failover and efficient context management. GitHub - michaelaz774/decision-engine: A decision operating system for startup founders, powered by Claude Code. Synthesizes wisdom from 25+ legendary founders and investors into interactive AI-driven decision frameworks. GitHub - Chrilleweb/dotenv-diff: Validate environment variable usage in your codebase GitHub - Lumen-Labs/brainapi2: BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications. GitHub - familiar-software/familiar: Let AI watch you work. Familiar lets your AI update its memory, skills, and knowledge by watching your screen. GitHub - skorotkiewicz/rudo: A small, elegant dock for Wayland GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. make sidebar/address bar rounded corner toggleable
GitHub - gagarwal304/databridge: DataBridge is an open-source MCP server that gives AI agents (Claude, GPT, Gemini, and any MCP-compatible agent) reliable, safe, and intelligent access to heterogeneous databases.
gagarwal123 · 2026-06-24 · via Show HN

DataBridge — The Intelligent Database Layer for AI Agents

One MCP server. Any database. Benchmark-proven.

DataBridge is an open-source MCP server that gives AI agents (Claude, GPT, Gemini, and any MCP-compatible agent) reliable, safe, and intelligent access to heterogeneous databases. It sits between your agent and your data — handling connections, enforcing safety, learning schema, normalizing cross-database joins, and running post-query transforms so the agent gets answers, not raw data engineering problems.

Benchmarked on DataAgentBench (DAB) — the UC Berkeley + Hasura benchmark for real-world data agents across 12 datasets and 4 database systems.


Why DataBridge Exists

Enterprise data lives across multiple systems simultaneously — PostgreSQL for transactions, MongoDB for documents, DuckDB for analytics, SQLite for local state. Answering a single business question often requires querying all of them together.

Current AI agents fail at this in four specific ways:

1. Silent wrong answers. An agent joins PostgreSQL's integer subscriber_id: 12345 with MongoDB's string "CUST-0012345", gets zero rows, and confidently reports "no results found." No error. No warning. Wrong answer delivered with certainty.

2. No safety layer. Agents given database access can — and do — execute destructive operations. A misunderstood task becomes a DELETE FROM orders with no WHERE clause. Prompt-based safety instructions are insufficient. A deterministic enforcement layer is required.

3. Cold start every session. Every new agent session re-discovers schema from scratch — re-reading table definitions, re-learning join patterns, re-discovering that customer_id in PostgreSQL maps to _id in MongoDB. This wastes tokens, time, and produces inconsistent results.

4. Raw row fetching. Agents pull full tables into context when they should push aggregation to the database. A SELECT * on a 500,000-row table is a context window disaster.

The Evidence

DataAgentBench tests agents on 54 realistic queries across 12 real-world datasets spanning PostgreSQL, MongoDB, SQLite, and DuckDB:

System DAB Pass@1
DataBridge + GLM-5.2 61.37%
MinusX + Claude Sonnet 4.6 + GPT-5.5-mini + Claude Haiku 4.5 65.2%
Altimate Code + GPT-5.5 + Claude Sonnet 4.6 63.1%
Spacedock (Recce) + Claude Opus 4.8 67.2%
Altimate Code + Claude Sonnet 4.6 68.2%
Altimate Code + Claude Sonnet 4.6 68.2%
Altimate Code + GPT-5.5 + Claude Sonnet 4.6 71.7%

DataBridge with a significantly lower cost model matches frontier models


What DataBridge Does

DataBridge exposes a single MCP interface that any agent calls with a natural language question or structured intent.

Agent: "Which customers bought product X in Q1 but not Q2, and what was
        their average order value?"

DataBridge:
  → Identifies: orders in PostgreSQL, customer profiles in MongoDB
  → Plans: two sub-queries + cross-DB join
  → Normalizes: integer customer_id (PG) ↔ string "CUST-XXXXX" (Mongo)
  → Safety check: read-only enforcement at parser level
  → Executes: sub-queries, merges results
  → Returns: clean structured JSON

Agent receives: the answer, not the data engineering problem.

Features

Universal Connection

Connect any combination of databases by listing their URIs in a single environment variable — comma-separated, no config files required.

Supported databases: PostgreSQL · MongoDB · SQLite · DuckDB

DATABRIDGE_DATABASE_URIS=postgresql://user:pass@localhost:5432/mydb,sqlite:////absolute/path/to/file.db

Pass it in your MCP client config, in a .env file, or directly in the shell. SQLite and DuckDB paths must be absolute (4 slashes: sqlite:////).


Safety Enforcement

Deterministic safety. Not prompt-based instructions.

  • All queries are read-only by default — enforced at the SQL parser level
  • DML (INSERT, UPDATE, DELETE) and DDL (CREATE, DROP, ALTER) blocked unconditionally
  • No prompt injection can override parser-level enforcement

Schema Memory

Persistent, versioned knowledge about your databases.

  • Schema scanner: introspects all connected databases, stores column types, row counts, null rates
  • Schema cache: persists to local SQLite — no re-scanning on every session
  • Diff detection: flags schema changes since last scan

Cross-database join registry:

Auto-discovers join keys between databases using column name similarity (WordNet + rapidfuzz) and value sampling with a transform grammar. Covers common format differences like 12345"CUST-0012345" without API calls. Human confirmation flow for ambiguous pairs.

{
  "join_id": "orders_customers",
  "source": { "db": "prod_postgres", "table": "orders", "column": "customer_id" },
  "target": { "db": "prod_mongodb", "collection": "users", "field": "_id" },
  "transform": "CUST-{zero_pad(value, 7)}",
  "confidence": 0.97
}

Query Intelligence

Cross-database query planning and execution.

Sub-query spec format — run queries across multiple databases in one call:

{
  "sub_queries": [
    {"db": "sqlite",  "query": "SELECT Name, Version FROM packageinfo WHERE IsRelease=1", "key": "pkg"},
    {"db": "duckdb",  "query": "SELECT Name, Version, ProjectName, Project_Information FROM project_packageversion JOIN project_info ...", "key": "ppv"}
  ],
  "join_on": [["pkg.Name", "ppv.Name"], ["pkg.Version", "ppv.Version"]],
  "transform": [
    {"op": "extract_number", "column": "Project_Information", "metric": "stars", "output": "stars"},
    {"op": "top_n_with_ties", "column": "stars", "n": 5}
  ]
}

Post-query transform pipeline — agents declare what to compute; DataBridge executes it:

Transform What it does
extract_number Pulls a numeric metric from prose text ("38,715 stars", "94k")
top_n_with_ties Returns top-N rows including all tied items — LIMIT N silently truncates ties
sort Sorts rows by column, ascending or descending
cast_number Strips commas/spaces from a text column and casts to integer
compute_ema Exponential moving average per group, sorted by a time column
parse_date Extracts year/decade from prose text containing embedded dates
round_down Rounds a numeric column down to the nearest N (e.g. decade)

Agents never write TRY_CAST(REPLACE(regexp_extract(...), ',', '') AS BIGINT). They call {"op": "extract_number", "metric": "stars"} and DataBridge handles it.

Math compute — fetch data and compute in one call:

# Standard deviation without pulling rows to agent context
math_compute(
    query="SELECT value AS v FROM measurements", databases=["mydb"],
    expression="math.sqrt(sum((x - sum(v)/len(v))**2 for x in v) / len(v))"
)

# EMA over time-series data
math_compute(
    sub_queries=[{"db":"patents","query":"SELECT code, year, COUNT(*) AS cnt FROM t GROUP BY code, year","key":"k"}],
    operation="ema", group_col="code", sort_col="year", value_col="cnt", alpha=0.3
)

# Chi-square test
math_compute(
    sub_queries=[...],
    operation="chi_square", row_col="category", col_col="flag", count_col="cnt"
)

Result Verification

Catch silent failures before the agent acts on wrong answers.

  • Zero-row results on tables with known large row counts → flagged as suspicious
  • Query provenance: which databases were queried, which joins were applied
  • Failure classification: wrong join key / schema mismatch / empty vs failed

Audit Log

Append-only log of every query: timestamp, session ID, query text, rows returned, execution time. Queryable by session or recent N entries. Supports query replay for debugging.


MCP Tools

Tool Description
db_query Execute SQL or a multi-DB spec across connected databases
db_schema Get schema for a database, table, or column
db_joins List and manage cross-database join relationships
db_plan Get the execution plan for a query without running it
db_verify Check plausibility of a result set
db_audit Query history for the current session
db_connections List active database connections and health status

Architecture

┌──────────────────────────────────────────────────┐
│  MCP CLIENT (Claude / GPT / any MCP agent)       │
└────────────────────┬─────────────────────────────┘
                     │ MCP tool calls
┌────────────────────▼─────────────────────────────┐
│  DATABRIDGE MCP SERVER                           │
│                                                  │
│  ┌─────────────────────────────────────────┐    │
│  │  Query Intelligence                     │    │
│  │  multi-DB planning · transforms · math  │    │
│  └──────────────────┬──────────────────────┘    │
│                     │                            │
│  ┌──────────────────▼──────────────────────┐    │
│  │  Safety Enforcement                     │    │
│  │  read-only at parser level              │    │
│  └──────────────────┬──────────────────────┘    │
│                     │                            │
│  ┌──────────────────▼──────────────────────┐    │
│  │  Connection Layer                       │    │
│  │  unified driver · pooling               │    │
│  └──────────────────┬──────────────────────┘    │
│                     │                            │
│  ┌──────────────────▼──────────────────────┐    │
│  │  Schema Memory & Verification           │    │
│  │  schema cache · join registry · audit   │    │
│  └─────────────────────────────────────────┘    │
│                                                  │
└──────────────────────────────────────────────────┘
         │              │              │
   PostgreSQL       MongoDB        DuckDB / SQLite

Getting Started

Prerequisites

  • Python 3.11+
  • At least one running database (PostgreSQL, MongoDB, SQLite, or DuckDB)
  • An MCP-compatible agent (Claude Desktop, Cursor, Windsurf, or any MCP client)

Installation

git clone https://github.com/gaviventures/databridge.git
cd databridge
pip install -e .

Add to your MCP client

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) and add:

{
  "mcpServers": {
    "databridge": {
      "command": "databridge",
      "args": ["serve"],
      "env": {
        "DATABRIDGE_DATABASE_URIS": "postgresql://user:pass@localhost:5432/mydb,sqlite:////absolute/path/to/file.db"
      }
    }
  }
}

Restart Claude Desktop. DataBridge scans your schema on first use and caches it for subsequent sessions.

Multiple databases are comma-separated in DATABRIDGE_DATABASE_URIS. SQLite paths must be absolute (4 slashes: sqlite:////).


See it in action

Once connected, ask Claude a natural language question that spans your databases. DataBridge handles the rest:

"Which decade of publication has the highest average rating among detailed reviews?"

Claude calls db_connections  → PostgreSQL + SQLite live
Claude calls db_schema       → finds books_info (PostgreSQL), review (SQLite)
Claude calls db_query        → samples rows, discovers publication dates are prose text
                               in details field ("May 8, 2012") and join is purchase_id ↔ book_id
Claude calls db_query        → extracts years via regex, joins tables, aggregates ratings by decade
Claude answers               → "The 1990s has the highest average rating at 4.32"

No connection strings in the prompt. No schema explanation needed. No JOIN syntax across database engines.


Database Hints (Benchmark)

When running the benchmark, DataBridge reads a db_description.txt (or db_description_withhint.txt) from each dataset directory and prepends it to the query context — useful for non-obvious join relationships or column semantics the model can't infer from schema alone.

This is a planned feature for the hosted MCP server. Join the waitlist →


Getting to 100% Accuracy

DataBridge out of the box handles schema discovery, join detection, and query planning automatically. But for production use on your specific data, accuracy improves significantly with a few targeted tuning steps:

1. Confirm or correct join relationships Auto-discovery finds joins based on column name similarity and value sampling, but it can miss non-obvious relationships (e.g. purchase_idbook_id) or propose false positives. Ask Claude to call db_joins to list all discovered candidates — it will show each join with its confidence score and transform. Tell Claude to confirm joins that are correct (confirm=<join_id>) or reject ones that aren't (reject=<join_id>). Confirmed joins are shown to the model in every subsequent query as trusted facts, eliminating the need to re-discover them.

2. Add database hints Document non-obvious relationships, column semantics, and business logic in plain text. Examples: which ID fields map across databases, what free-text columns contain embedded dates, what enum values mean. The model uses this context on every query.

3. Normalize your data Inconsistent ID formats (12345 vs "CUST-0012345"), missing foreign keys, nulls in join columns, and mixed date formats all reduce accuracy. The closer your schema is to clean relational data, the better the results.

4. Add ontology and lookup tables Queries that require domain knowledge — category hierarchies, code-to-name mappings, status enumerations — benefit from explicit lookup tables the model can join against rather than having to infer meaning from raw codes.

5. Tune the query context For schemas with many tables, explicitly describing which tables are relevant for which query types reduces the model's search space and improves answer quality.

Need help setting this up for your databases? Write to hello@gaviventures.com — we'll help you configure DataBridge for your specific schema.


Benchmark

DataBridge is built to be measured. We run against DataAgentBench on every release.

System DAB Pass@1
DataBridge + GLM-5.2 61.37%
MinusX + Claude Sonnet 4.6 + GPT-5.5-mini + Claude Haiku 4.5 65.2%
Altimate Code + GPT-5.5 + Claude Sonnet 4.6 63.1%
Spacedock (Recce) + Claude Opus 4.8 67.2%
Altimate Code + Claude Sonnet 4.6 68.2%
Altimate Code + Claude Sonnet 4.6 68.2%
Altimate Code + GPT-5.5 + Claude Sonnet 4.6 71.7%

Reproducible eval scripts are in /benchmark. See TESTING.md for full instructions.

Running the Benchmark

1. Clone DataAgentBench

git clone https://github.com/ucbepic/DataAgentBench.git

2. Set your API key

export TOGETHER_API_KEY=your_key   # or ANTHROPIC_API_KEY, OPENAI_API_KEY, etc.

3. Run a single dataset to verify setup

databridge benchmark run \
  --dab-root /path/to/DataAgentBench \
  --provider together \
  --model zai-org/GLM-5.2 \
  --dataset bookreview

4. Run all 12 official datasets (one run)

databridge benchmark run \
  --dab-root /path/to/DataAgentBench \
  --provider together \
  --model zai-org/GLM-5.2 \
  --official \
  --run 0

5. Run all 5 trials for leaderboard submission

for i in 0 1 2 3 4; do
  databridge benchmark run \
    --dab-root /path/to/DataAgentBench \
    --provider together \
    --model zai-org/GLM-5.2 \
    --official \
    --run $i
done

Results are written incrementally to benchmark/results/submission_{model}.json — a crash mid-run won't lose completed queries. Re-running a specific --run index overwrites only that run's entries.

Supported providers: anthropic · openai · together · groq · kimi · ollama


Roadmap

  • PostgreSQL, MongoDB, SQLite, DuckDB connectors
  • Read-only safety enforcement (parser level)
  • Schema scanner and cache
  • Cross-database join registry (auto-discovery + human confirmation)
  • Multi-DB sub-query spec with join and transform pipeline
  • Post-query transforms (extract_number, top_n_with_ties, compute_ema, parse_date, ...)
  • Math compute (EMA, chi-square, arbitrary Python expressions)
  • Result plausibility verification
  • Audit log with query replay
  • DAB benchmark eval harness
  • 61.1% on DataAgentBench with GLM-5.1

DataBridge Cloud — coming soon

Hosted MCP endpoint — no self-hosting required. Add databases via UI, share with your team, tune join discovery, view eval logs. Join the waitlist →


Design Principles

Safety is deterministic, not instructional. Read-only enforcement happens at the SQL parser level. No prompt can override it.

Silent failures are the real enemy. A wrong answer delivered confidently is worse than an error. DataBridge catches zero-row results on populated tables, type mismatches, and plausibility failures before the agent acts.

Computation is cheap. Context is expensive. Value sampling, join confidence scoring, post-query transforms, and math operations all happen inside tool calls. The agent sees a result, not the process that produced it.

Benchmark-first development. Every feature is evaluated against DAB. If it doesn't move the score, it doesn't ship.

Open core. The MCP server, connectors, safety enforcement, schema memory, and benchmark tooling are open source (Apache 2.0) forever.


Contributing

DataBridge welcomes contributors, especially:

  • Database connector implementations (BigQuery, Snowflake, Supabase, Neon)
  • DAB benchmark improvements
  • Safety layer hardening
  • Schema learning algorithms

License

Apache 2.0 — free to use, modify, and distribute. Commercial use permitted.


Built by Gavi Ventures