DB Hub

•

Provides secure, read-only access to a wide range of databases for AI agents through a unified interface.

DB Hub is a self-hosted, read-only service that simplifies and secures database access for AI agents. Written in Go, it offers native query capabilities across 18 different database products, including SQL, NoSQL, graph, and time-series databases. Administrators can configure data source connections, manage per-agent grants with precise expirations, and monitor activity through an embedded UI. The hub enforces read-only execution, applies query limits, and provides robust auditing, ensuring controlled and accountable data interactions for agents. It also supports OAuth2 for enhanced authorization workflows.

主要功能

01Per-Agent data source grants, rotation, revocation, and OAuth2 authorization
02Built-in administration UI for configuration, schema preview, and audit trail
03Native query support for 18 database products (SQL, MongoDB, Redis, etc.)
04Enforced read-only execution with parser-based protection and safe command lists
05Bounded queries with configurable timeouts, row limits, and response size limits
060 GitHub stars

使用案例

01Centralizing database access for multiple AI agents under a single, self-hosted service
02Securely exposing internal databases to AI agents with granular access control
03Building AI applications that require audited, read-only access to diverse data sources