Description
Relate is an embedded, local, and agent-native graph database engineered in Rust, providing a high-performance and reliable solution for managing complex data relationships. It fully supports Cypher 25, a powerful declarative graph query language, enabling developers to efficiently query and manipulate graph data. The database offers flexible storage options, allowing users to choose between in-memory operation for speed-critical applications or a transactional filesystem for persistent and durable data storage.
Read More
Designed with an agent-native architecture, Relate is particularly well-suited for applications that require localized data processing and intelligent agent functionalities. Its embedded nature means it can be directly integrated into applications, eliminating the overhead of separate database servers and simplifying deployment. This makes it an ideal choice for edge computing, IoT devices, and other scenarios where low latency and self-contained data management are crucial.
The project emphasizes security, as evidenced by recent fixes addressing CodeQL alerts related to permissions and cache scoping. Continuous development focuses on improving performance, distribution, and the overall developer experience. The codebase includes various components such as clients, documentation, examples, and extensions, indicating a comprehensive ecosystem for building and deploying graph-based applications.
Relate's commitment to modern development practices is reflected in its use of Rust, a language known for its safety, concurrency, and performance. The project also maintains detailed documentation, including architectural decision records (ADRs), contributing guidelines, and release notes, fostering transparency and community involvement. With ongoing updates and a focus on robust features like statement timeouts and experimental columnar property stores, Relate aims to be a versatile and powerful tool for developers working with graph data.
- CategoryAI SQL & Database Tools
- Pricing ModelOpen source
- PlatformsLinux, macOS, Windows
Relate's Core Features
Embedded local graph database
Agent-native architecture
Supports Cypher 25 query language
Written in Rust for performance and safety
Memory-based storage option
Transactional filesystem storage option
Statement timeout functionality
Experimental Vortex columnar property store
Comprehensive documentation and examples
Continuous integration and testing
Security fixes and updates
Python client examples available
Swift package support
Docker support for deployment
Getting Started with Relate
Clone Repository: Obtain the Relate source code by cloning the GitHub repository to your local machine.
Install Rust Toolchain: Ensure you have the Rust toolchain (version 1.99.1 or newer) installed, as Relate is written in Rust.
Build Project: Navigate to the project directory and build the Relate binaries using Cargo, Rust's package manager and build system.
Configure Storage: Choose between in-memory or transactional filesystem storage based on your application's persistence and performance requirements.
Integrate into Application: Embed the Relate library directly into your application to utilize its graph database capabilities.
Query Data: Use Cypher 25 queries to interact with your graph data, performing operations like creating nodes, relationships, and retrieving information.
Run Examples: Explore the provided examples, including Python notebooks, to understand how to use Relate for various data management tasks.
Relate's Use Cases
- Embedded Graph Analytics
- Agent-Native Data Storage
- IoT Device Data Management
- Application Configuration Management
- Local Knowledge Graphs
- Transactional Data Persistence
- Rust Application Development








