relate / docs
Docs
Documentation for relate, the embedded Cypher graph database: install it, connect an agent, look up a command or an error.
I want to…
Evaluate
Decide whether relate fits the problem, and what it does not do.
- See where relate fits, and where it does not
- Find the problems relate solves
- Read the limitations
- Check the license, versioning and release process
Get started
Install it and build a first graph, from the CLI or your language.
- Install relate
- Build a first graph in the CLI
- Embed relate in a Python app
- Embed relate in a Node.js app
- Run relate in the browser
- Embed relate in a Rust program
Agents
Memory, MCP, the skill and the framework integrations.
- Connect your agent to relate
- Give an agent a memory
- Install the agent skill
- Drive relate from an agent
- Keep an agent safe
- Connect over MCP
Guides
One task at a time: Cypher, embedding, serving, operating, migrating.
- Choose an output format
- Use the interactive shell
- Script the CLI
- Import a CSV
- Pass values to a statement as parameters
- Load JSON from a URL or a file
Reference
Every command, flag, clause, function, API and error.
- Look up an error
- Query these docs as a graph
- Check how releases are signed and verified
- See what relate collects and sends
- Look up a term in the glossary
- Read the changelog
Concepts
How relate works, and the trade-offs it makes.
- Understand storage and durability
- Understand transactions and concurrency
- Understand the Cypher dialect
- Understand how relate is built
- Understand namespaces
- Understand security and trust
Learn from a recipe
Worked examples with a small dataset and plain Cypher. Every step runs in your browser.
- Agent trajectory timelineLog every tool call an agent makes as a timestamped step, then read the last N, the next page, and everything since a cutoff, with constraints that keep newest-first reads correct.
- Context graph for a codebaseAnswer multi-hop questions about a codebase: IDF-weighted full-text search finds where to start, and bounded graph hops follow supersessions, dependencies, and citations.
- Entity resolution in pure CypherResolve two messy customer exports into companies with normalized keys, bigram typo matching, IDF-weighted scores, and a human review queue, all in Cypher.
Using the docs with an agent
Every page is markdown
Add
.mdto any page's URL for the same page as plain text, the way an agent reads it. llms.txt lists every page by task.Install the skill
relate skill installadds the relate skill to the agents it finds on your machine.About the skillrelate skill installSomething wrong or missing?
A page that is wrong, unclear or absent is reported from /docs/feedback.md, which says how.
Report a wrong page