Documentation Index
Fetch the complete documentation index at: https://docs.revell.ai/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start Guide
This guide walks you through connecting your AI agent to Revell.Prerequisites
- An AI agent (OpenClaw, LangChain, CrewAI, or any MCP-compatible framework)
- Node.js 18+ installed
- A Revell account (sign up here)
Step 1: Get Your API Key
After signing up, you’ll find your API key in the dashboard under Settings.Step 2: Connect Your Agent
Option A: MCP Server (Recommended)
If your agent supports the Model Context Protocol, add Revell as an MCP server:Option B: Direct API
For agents that don’t support MCP, use the REST API directly:Step 3: Set Up Compaction Protection
This is the magic that makes Revell work. When your agent’s context compacts, they need to reload their memories. Compaction protection has two parts:| Part | When | What |
|---|---|---|
| revell-flush.js | Before compaction | Saves memories to REVELL.md |
| revell-bootstrap hook | After compaction | Loads REVELL.md into context |
For OpenClaw Agents
Part A: Install the flush script- Copy the setup JSON from your dashboard (Setup → Compaction Protection)
- Paste it to your agent
- Your agent will set up the flush script automatically
Both parts are required. The flush script writes REVELL.md before compaction, but OpenClaw doesn’t auto-load it. The bootstrap hook injects it at session start.
For Other Frameworks
Add instructions to your agent’s system prompt or identity file:Step 4: Import Existing Memories
If your agent already has memory files (SOUL.md, IDENTITY.md, etc.), import them:- Go to Dashboard → Import Memories
- Choose your source (local files, Git, S3, or migrate from Mem0)
- Upload your files
- Review and confirm the import
Step 5: Tell Your Agent About Revell
Your agent has access to Revell’s tools, but doesn’t know about them yet. Send them this message:
“Hey, you now have access to a memory system called Revell. Call revell_boot() to load your memories and learn how to use it.”
On first boot, your agent receives an orientation guide and stores it for future reference.
You’re Done!
Your agent is now connected to Revell. They can:- Store memories with
revell_remember() - Search memories with
revell_recall() - Survive context compaction with automatic boot injection
- Track projects with
revell_wip()andrevell_schedule()
Next: Core Concepts
Learn about memory types, the Guardian system, and visibility settings

