What's In the Box?
EvolutionDB is a single C binary purpose-built to be long-term memory for AI agents — with in-engine memory primitives, native vectors, and time-travel queries, all behind the PostgreSQL wire protocol.
Agent-Memory Primitives
First-class SQL primitives for agent long-term memory. Storing what an agent knows is a core feature of the storage engine, not a bolt-on layer or a sidecar service.
Native Vectors & HNSW
A built-in VECTOR(N) type with an HNSW index in the core — semantic and lexical hybrid search without a separate vector service.
Time-travel Queries
An MVCC engine keeps prior versions, so you can run historical queries with AS OF. Ask what an agent knew at any point in the past.
SELECT * FROM memories AS OF '2026-01-01';
One Binary, Dual Protocol
A single server speaks the PostgreSQL wire protocol on port 5433 and a native EVO text protocol on port 9967. Connect with psql or DBeaver — or run the zero-Docker embedded mode.
A Single C Binary
Replace a complex side-stack with one application. Unified page storage — 4KB pages, slotted pages, B+ tree indexes, a Clock-Sweep buffer pool, and a write-ahead log with crash recovery — all in the engine.
./evosql-server
Built for Production
Multi-tenant Isolation
Per-tenant DATABASE, USER, and GRANT, enforced by the engine with a waterfall privilege check: table, then schema, then database.
Security Built In
Transparent data encryption (AES-256) for pages and PBKDF2-SHA256 password authentication — security as a storage-layer property.
Agent-native
Ships an MCP server and a standalone agent. Actions stay human-approved: drafts queue first, and a human approves before anything is sent.
A Complete Toolchain
SQL Parser
A Flex/Bison parser for the SQL grammar.
CLI Client
A native command-line client for the EVO protocol.
Python Connectors
Connectors for GitHub, Azure DevOps, calendar, and more.
MCP Server
An MCP server so agents can use EvolutionDB as memory.
Clone and Run
# Clone the repo and start the server
git clone https://github.com/alptekin/evolutiondb
cd evolutiondb
docker compose up -d
# Connect with any PostgreSQL client
psql -h 127.0.0.1 -p 5433 -U admin -d testdb