Skip to main content

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.

ComponentTechnology
Vector searchpgvector HNSW
EmbeddingsTEI (HuggingFace Text Embeddings Inference)
Knowledge graphRecursive CTEs (Postgres-native)
File storageS3-compatible object store
Memory scoringCustom blended scoring (similarity + importance + recency)

Products

ProductWhat It Does
VectorsStore and search vector embeddings
ZeroMemoryCognitive memory for AI agents
FilesS3-compatible file storage
TablesNoSQL document tables
EventsReal-time event streaming
GraphRAGHybrid vector + graph search
MCPMCP server integration

Pricing

TierVectorsStoragePrice
Free500K2 GB$0/mo
ProUnlimited10 GB$49/mo
BusinessUnlimited50 GB$149/mo
EnterpriseUnlimited100 GB$699/mo

Free embeddings included at all tiers.

Next Steps