Available on PyPI

Universal Database Intelligence layer
for AI Agents

Securely connect AI agents to your databases. Enrich your schema with descriptions, aliases, and privacy controls. Built for the Model Context Protocol with SQLShield protection.

Get Started View on GitHub

Your Data, Securely Bridged to AI

TernoDBI handles the complexity of connection, security, and protocol translation.

DATA SOURCES
INTELLIGENCE LAYER
TernoDBI
AI CONSUMERS
Claude Desktop
Custom Agents

Capabilities

SQLShield

Automatic read-only enforcement and AST validation to prevent SQL injection.

Access Control

Scoped API tokens with expiration, role-based permissions, and secure authentication.

Multi-DB

Unified API for Postgres, MySQL, Snowflake, BigQuery, Databricks, Oracle.

Native MCP

First-class support for the Model Context Protocol (Admin & Query servers).

Schema Enrichment

Generate descriptions, rename tables/columns, and enhance metadata so LLMs understand your schema better.

Privacy Controls

Hide tables/columns from LLMs, use public aliases, and apply row-level data filtering.

Pagination

Cursor-based result pagination for handling large datasets efficiently without overwhelming agents.

Multi-Source

Connect multiple datasources simultaneously and query across them from a single API.