Relate
Embedded graph database for AI agents with Cypher queries
Relate is an embedded property graph database written in Rust and designed for local applications, knowledge graphs, and AI agent memory. It supports Cypher 25 queries for creating, modifying, and exploring interconnected data. Graphs can be stored entirely in memory, within individual database files, or as directories of interconnected Markdown documents. Persistent storage uses write-ahead logging and Parquet checkpoints to maintain data durability. Integrated vector search supports semantic similarity queries alongside full-text searching. Geospatial functionality includes coordinate-based calculations and spatial indexing. Developers can access the database through a command-line interface, Python, JavaScript, Rust, or WebAssembly packages. An optional server supports Bolt, HTTP, and MCP connections.