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

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.