AgentRecall
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
AgentRecall is your memory across sessions. YOU drive its lifecycle — no harness fires it for you; if you don't call these tools, nothing is saved. (1) ENTRY: when a session resumes prior work, call session_start FIRST, before acting. (2) DURABLE INTENT: the moment you or the user says save / remember / checkpoint / 记住 / 保存, call session_end (or remember for a single fact). Saying it is not saving it. (3) EXIT: before you stop, call session_end. recall and check are safe to call freely, any time. Hooks auto-fire only in Claude Code; in every other host (Codex, chatbox, raw API) you are the sole lifecycle driver.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| session_startA | [ENTRY — call FIRST, before acting] Use when the user asks to start, load, continue, resume, or open memory for a project. Default mode='cards' loads the owner card, the HARD RULES and the project state card and nothing else; mode='full' adds continuity, insights, rooms, captures and the rest (and is the default when verbose=true, which promises the full JSON context); mode='lite' is a ≤500-token sketch (pull memory on demand via recall()). Read-only: the call leaves the memory store byte-identical (disclosed exceptions: AR_AB_ENABLED=1 writes an A/B arm row, and the hosted server's per-credential activity record). Usage counters and telemetry are queued and recorded before the next write tool (waits at most ~1.5 s), by a 30 s background flush, or when the stdio server's stdin closes or it receives SIGTERM/SIGINT; a crash (kill -9, power loss) before then loses them. |
| session_endA | [ON SAVE/EXIT — YOU must call this; nothing auto-saves] Use when the user asks to save, checkpoint, summarize, end, retain, or persist the current session. Optionally pass close_phase / open_phase to update the project pipeline narrative spine in the same call. |
| rememberA | [MID-SESSION WRITE — single fact/decision; saying it is not saving it] Use when the user asks to remember, store, note, or save a specific decision, fact, or insight. |
| recallA | [RETRIEVE — use freely, any time] Use when the user asks to recall, search, find, or look up previous memory, context, or decisions. Read-only: the call leaves the memory store byte-identical (disclosed exceptions: the hosted server's per-credential activity record). Usage counters and any feedback ratings are queued and recorded after the call: before the next write tool (waits at most ~1.5 s), by a 30 s background flush, or when the stdio server's stdin closes or it receives SIGTERM/SIGINT. A crash (kill -9, power loss) before then loses them. |
| checkA | [MID-SESSION — safe any time; for alignment, before risky decisions] Use when the user asks to validate understanding, verify alignment, or check if their interpretation matches the human's intent. Also call BEFORE a high-risk action — publish, deploy, delete, credential exposure, external send/message, or any other irreversible write — passing |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| show_projects | Show the AgentRecall project status board. |
| start_project | Start or resume AgentRecall memory for a project. |
| save_session | Save the current session to AgentRecall. |
| arstart | Load full project context for a new session. Call this at the beginning of every session to recall past decisions, corrections, insights, and cross-project lessons. |
| arsave | Save everything from this session — journal, palace consolidation, awareness insights. Call at the end of every productive session. |
| arsaveall | Scan all of today's sessions across all projects and save them in one consolidated pass. Use when multiple agents ran in parallel. |
| recall-context | Quickly recall everything AgentRecall knows about a topic — searches journals, palace rooms, and cross-project insights. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Awareness | The compounding awareness document — 200-line cap, cross-project insights, trajectory, blind spots |
| Awareness State | Structured awareness state — insights array, trajectory, blind spots, compound insights |
TDQS
Scored across 5 tools
The five tools map to distinct lifecycle moments: session_start (load), session_end (save), remember (single-fact write), recall (search), and check (validation/verdict). The main soft spot is remember vs session_end, since both persist information, but the descriptions clearly separate 'one fact' from 'whole-session checkpoint'.
Two tools use a noun_verb session_ prefix while the other three are bare verbs (remember, recall, check), so there is no single predictable pattern. Names are still readable and individually clear, but the convention is mixed.
Five tools is well-scoped for a memory/session-continuity server; each tool covers a distinct phase (load, save, write, read, validate) with no obvious filler. Nothing feels thin or bloated.
The surface covers the core memory loop — load context, write facts, recall, validate, and save — with no dead ends for normal use. Minor gaps exist: there is no explicit update/edit or forget/delete operation for stored memories, so correcting or pruning stale memory must be worked around.