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.
Features
- Embedded Rust-based property graph database with Cypher 25 querying and transactional storage
- Flexible graph storage through in-memory databases, individual files, and interconnected Markdown documents
- Integrated vector similarity searching with hybrid full-text queries and configurable vector indexes
- Geospatial querying with coordinate-based distance calculations and spatial indexing
- Interactive command-line interface with query profiling and multiple structured output formats
- Native Python, JavaScript, Rust, and WebAssembly integrations with optional Bolt, HTTP, and MCP connectivity