Agents that understand data.
Relate is an open-source embedded database for AI agents. Give your agents a place to keep their data and see how it all connects. No signup. No server to deploy.
Pure data joy.
$curl -sSfL https://relatedb.ai/install.sh | bash && relate skill install --agent claude-codeInstalls the CLI, then the relate skill for Claude Code. The install script verifies release signatures and SHA256 checksums.
See it work
From question to answer, in seconds.
An agent asks a question, writes Cypher, and Relate reads the connected facts and returns rows. Sample data, scripted preview.
One database for every agent.
Every agent, script and app reads and writes the same graph, kept in memory, a directory or one file. No server to run.
Agent skill · MCP
CLI · Libraries
Your data
Open source
Read the code, run it locally, and add your own recipes.
Part of your application
Relate runs inside your application. Keep your data in memory, in a directory, or in one file.
Cypher, for connected data
Your agent asks in Cypher and gets back how the facts connect. Skill and MCP endpoint included.
Start in minutes
No signup. No server to deploy.
Run a query on connected data.
Pick a scenario to watch an agent write Cypher and read the rows that come back. Sample data, scripted preview.
| remembered | kind | item |
|---|---|---|
| "Pricing depends on the Q3 launch" | "Decision" | "Annual plan" |
| "Launch moved to Nov 12" | "Task" | "Draft launch email" |
| "Maya owns the pricing page" | "Person" | "Maya" |
Live graph
One statement at a time.
Pick a shape of data and watch the graph grow as each Cypher statement runs, with new facts landing in the connections that already exist.
Quickstart
Four steps to your first query.
- agent skill
Install the agent skill
One command, for the agents you already use.
- memory / directory / .rl
Pick a storage format
In memory, a directory, or one .rl file.
- Cypher / CSV / Aura
Create data
Write Cypher, load a CSV, or mirror from Aura.
- table / JSON
Query it
Tables for you, JSON for your agent.
Set up relate for me. Read https://relatedb.ai/skill.md, install the relate agent skill, create a database, add my data, and answer my questions by writing Cypher queries.
Built for agents, wherever your agent runs.
relate is a library inside your application. Your agent writes Cypher and relate answers with the results. Use the interface that fits your build.
Agent skill
Teaches your coding agent to write Cypher for relate.
MCP endpoint
Lets agents that speak MCP connect without glue code.
Command line
Create, load and query a database right from the shell.
Libraries
Embed relate in your own application, in your language.
Your language, one library
The same relate in Rust, Python, JavaScript, WebAssembly, Go, Java, Swift and C. Pick the one your application is written in.
No server to run
relate starts when your application does and stops when it stops. Nothing to host, nothing to keep running.
Memory with structure.
Raw data becomes connected facts, so your agent can follow how people, decisions and documents relate. Relationships and similarity answer in one query.
Facts, not loose text
Decisions, people and documents become facts you can query.
Relationships and similarity together
One Cypher statement can combine both.
Zero to querying in seconds.
Install the open-source package, create a database and start running your first query. No account, no instance and no server to deploy.
Cypher you already know.
relate speaks the openCypher language and is tested against the openCypher TCK, the language contract. Where it differs from Neo4j, the docs say so.
Read the differencesBuild it with us, one recipe at a time.
Share a recipe for the cookbook, report what you find, and show what your agents learned.
Start building