FAQ

What is AgentDB?

AgentDB is a database system designed specifically for high scale applications, like AI agents. It allows you to instantly provision databases with just a unique ID, without setup or managing compute. The serverless architecture scales from zero to millions of requests. AgentDB is optimized for AI applications with features like templates, MCP, and vector search out of the box.

What is a database system?

AgentDB provides both the underlying databases and integrations through templates and MCP needed for performant AI agents and applications.

Why is AgentDB particularly useful for AI applications?

Agents create 1000x more databases than humans during conversations and tool calls, and can’t wait for IT provisioning cycles. With AgentDB, an agent can create a database simply by generating a unique ID and use templates to immediately make use of the tables it needs.

Most agent-created databases aren't reused, but some will be valuable for future tasks. AgentDB's pay only for storage and queries model is much more cost-effective than traditional databases that charge for idle compute time, especially for the many ephemeral databases that agents create.

What are AgentDB templates?

AgentDB functions as an MCP server with raw SQL access plus templates. Templates keep all databases of a certain type synchronized with a common schema, and this schema is made available to agents through MCP.

Without templates, agents need to spend time learning what's in a database and how to use it, creating multiple opportunities for mistakes. AgentDB templates provide immediate schema context, enabling agents to properly write data into tables from the start or use already populated databases without additional introspection.

What's in an AgentDB template?

Templates consist of two core components: a description section that explains the database's purpose, business logic, and enumeration mappings, and migration scripts that define the complete schema structure following database management best practices.

Without templates, agents face significant discovery overhead, typically requiring 3-7 API calls before performing any meaningful work as they struggle to understand database structure, available operations, and data relationships.

How does AgentDB work with MCP (Model Context Protocol)?

AgentDB functions as an MCP server with raw SQL access plus templates so agents can effectively use databases. You can use AgentDB directly from any agent like Claude Code, Cursor, or Augment by registering its remote MCP server along with your API key.

Does AgentDB support vector search?

AgentDB includes built-in vector search, allowing you to store embeddings, perform semantic search, and build RAG systems out of the box. This eliminates the need to configure separate vector databases for AI applications.

Can I use existing database schemas with AgentDB?

Yes, you can upload or sync existing databases and create templates from them to standardize schema across multiple database instances.

What databases does AgentDB Support?

AgentDB currently supports both SQLite for fast, reliable transactional operations and DuckDB for powerful analytical queries, giving AI applications flexibility to choose the right engine for their specific use case.

Are AgentDB databases portable?

Traditional databases store all user records in one database, making data portability and compliance complicated. AgentDB provides fully isolated databases that can be easily downloaded, reused as context, or deleted for compliance.

Who should use AgentDB?

AgentDB is designed for AI agents, developers building AI-powered applications, and teams that need to create databases at scale without infrastructure management overhead.

Is there an SDK for AgentDB?

The AgentDB JavaScript SDK provides a simple interface for listing databases and executing SQL statements against AgentDB databases.

How does AgentDB pricing compare to traditional databases?

You pay only for data stored and queries executed, with no server or configuration costs. Traditional databases require forecasting usage and paying for idle compute, whereas AgentDB costs decrease for low-access databases.

How do I create my first database?

Simply generate a unique ID and optionally specify a template. Using the AgentDB SDK, you can create databases with minimal code and no configuration.