StrataDB Documentation
Welcome to the StrataDB documentation. StrataDB is an embedded database for AI agents, providing six data primitives with branch-based isolation, OCC transactions, and three durability modes.
Quick Links
Getting Started
Install StrataDB and run your first example.
Concepts
Understand branches, primitives, and data isolation.
Guides
Learn how to use each primitive with detailed walkthroughs.
Cookbook
Real-world patterns for agent state, RAG, replay, and more.
API Reference
Complete API documentation and specifications.
Architecture
Deep dive into how StrataDB works internally.
For Users
Getting Started
Installation, feature flags, and a step-by-step tutorial that covers all six primitives.
Concepts
Core ideas you need to understand: branches, primitives, value types, transactions, and durability.
Guides
Per-primitive walkthroughs: KV Store, Event Log, State Cell, JSON Store, Vector Store, Branch Management.
Cookbook
Recipes for real-world patterns: agent state management, multi-agent coordination, RAG with vectors, deterministic replay, and A/B testing with branches.
Troubleshooting and FAQ
Common issues, error messages, and frequently asked questions.
For Contributors
Contributing
Development setup, workspace structure, running tests, code style, and pull request process.
Architecture
How StrataDB works internally: crate structure, storage engine, durability and recovery, and concurrency model.