ZeroDB
ZeroDB is the persistent knowledge layer for AI agents. One API for vector search, agent memory, file storage, NoSQL tables, and event streaming — with free embeddings.
Why ZeroDB
- Vector Search — Sub-millisecond semantic search with pgvector HNSW indexes
- Agent Memory — Multi-tier cognitive memory (working, episodic, semantic) via ZeroMemory
- File Storage — S3-compatible object storage with multi-tenant scoping
- NoSQL Tables — Schema-free document tables for structured data
- Event Streaming — Real-time event streams for agent workflows
- Free Embeddings — TEI-powered (BAAI/bge models), no OpenAI key required
- GraphRAG — Hybrid vector + knowledge graph search
- MCP Servers — 6-tool memory server + 69-tool full database server
Quick Start
1. Get a database instantly
# No signup required — 72-hour trial
curl -X POST https://api.ainative.studio/api/v1/public/instant-db
Response:
{
"api_key": "tmp_xxx...",
"project_id": "uuid",
"base_url": "https://api.ainative.studio",
"expires_at": "72 hours from now"
}
2. Or use the CLI
npx zerodb-cli init
This creates a project and auto-configures your MCP server for Claude Code, Cursor, or VS Code.
3. Install an SDK
# Python — LangChain
pip install langchain-zerodb
# Python — LlamaIndex
pip install llama-index-vector-stores-zerodb
# Python — Direct
pip install zerodb-mcp
# MCP Server (Agent Memory)
npm i ainative-zerodb-memory-mcp
Architecture
ZeroDB is Postgres-native — built on top of PostgreSQL with pgvector for vector operations and recursive CTEs for graph traversal. No separate graph database or vector database to manage.
| Component | Technology |
|---|---|
| Vector search | pgvector HNSW |
| Embeddings | TEI (HuggingFace Text Embeddings Inference) |
| Knowledge graph | Recursive CTEs (Postgres-native) |
| File storage | S3-compatible object store |
| Memory scoring | Custom blended scoring (similarity + importance + recency) |
Products
| Product | What It Does |
|---|---|
| Vectors | Store and search vector embeddings |
| ZeroMemory | Cognitive memory for AI agents |
| Files | S3-compatible file storage |
| Tables | NoSQL document tables |
| Events | Real-time event streaming |
| GraphRAG | Hybrid vector + graph search |
| MCP | MCP server integration |
Pricing
| Tier | Vectors | Storage | Price |
|---|---|---|---|
| Free | 500K | 2 GB | $0/mo |
| Pro | Unlimited | 10 GB | $49/mo |
| Business | Unlimited | 50 GB | $149/mo |
| Enterprise | Unlimited | 100 GB | $699/mo |
Free embeddings included at all tiers.
Next Steps
- Quick Start Guide — Full setup in 15 minutes
- ZeroMemory — Add persistent memory to your agent
- MCP Setup — Connect ZeroDB to Claude Code or Cursor
- API Reference — Full endpoint documentation