Use RushDB with AI Agents
RushDB gives agents a structured data layer, a traversable graph, and persistent memory. Choose the shortest setup that matches your agent.
Fastest Setup: Give the Agent the Guide
For an MCP-capable agent, send:
Fetch https://rushdb.com/agent-setup and follow the instructions exactly.
The machine-readable setup guide walks the agent through MCP connection, schema discovery, memory labels, nested record linking, recall patterns, and semantic search.
Coding Assistant: MCP + Skills + Memory
For Claude Desktop, Cursor, VS Code Copilot, OpenClaw, or another local coding agent:
- Connect the local MCP server.
- Install RushDB Agent Skills.
- Start a new agent session.
- Send:
Set up RushDB as my persistent memory layer.
The agent calls getOntologyMarkdown, creates a SESSION, and validates recall. For the full bootstrap prompt and recommended labels, follow the Agent Memory Quickstart.
Custom Agent Harness
For an application-controlled agent, choose the interface based on where orchestration lives:
| Interface | Use it when |
|---|---|
| MCP tools | Your framework already supports MCP tool discovery and invocation |
| TypeScript SDK | Your harness runs in Node.js, the browser, or an edge-compatible runtime |
| Python SDK | Your harness runs in Python |
| REST API | You need language-neutral HTTP integration |
At the start of each agent session:
- Call
getOntologyMarkdownto discover the live schema. - Recall the latest
SESSIONand relevantDECISION,TASK, orPREFERENCErecords. - Create a new
SESSION.
Before the session ends:
- Store decisions, tasks, observations, and artifacts.
- Link them to the session through nested JSON or relationships.
- Confirm the stored summary.
Verify
Ask your agent:
Search RushDB for
SESSIONrecords. Show the most recent one and summarize any linked decisions or tasks.
If you have not bootstrapped memory yet, use the Agent Memory Quickstart first.