agent-recall
v3.5.3Closes the Intelligent Distance: a correction you give one agent reaches every connected agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
session_start Start Session
[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-cr…
| Parameter | Type | Description |
|---|---|---|
context | string | Optional context for matching cross-project insights |
mode | string | Default 'cards' = owner card + HARD RULES (P0s and behaviour policies) + state card + pending-review count, nothing else; 'full' = every section (continuity, insights, rooms, captures, …) and the de… |
project | string | |
verbose | boolean | Set true to get full JSON context instead of terse summary |
session_end End Session
[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.
| Parameter | Type | Description |
|---|---|---|
summary * | string | What happened this session. Simple session: 2-3 sentences. Multi-phase session: one paragraph per completed phase (e.g. 'Phase 1 — Name: what happened. Phase 2 — Name: what happened. Decisions: X.… |
close_phase | object | Close the currently active pipeline phase as part of this save. Provide all three reflection fields explicitly — never auto-generated. |
insights | array | Insights learned this session. |
open_phase | object | Open a new pipeline phase as part of this save (e.g. when a watershed session pivots into the next strategic direction). |
project | string | |
state | object | Project state card, REWRITTEN every save and loaded by the next session_start. Omitted fields carry forward; [] clears a list. Soft caps (overflow truncated with … and listed in state_card.truncated… |
trajectory | string | Where is the work heading next. |
remember Remember
[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.
| Parameter | Type | Description |
|---|---|---|
content * | string | What to remember. |
context | string | Routing hint. Values: 'architecture' or 'decision' → palace/architecture room. 'blocker' or 'blocked' → palace/blockers room. 'goal' → palace/goals room. 'lesson' or 'insight' → awareness. 'qa… |
project | string |
recall Recall
[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.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to search for. |
feedback | array | Rate previous recall results to improve future ranking. Applied AFTER this call (queued; flushed before the next write tool, by the 30 s background flush, or on stdin close or SIGTERM/SIGINT): it neve… |
limit | integer | Max results after RRF merge. |
project | string | |
since | string | ISO date ("2026-05-01") or relative duration ("7d"). Filters journal results. |
check Check Understanding
[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 `action_description` (one sentence, what you're about to do). Returns matching corrections/rules/insights plus a `verdict`: `blocked` means an authoritative correction OVERRIDES the plan — read it before proceeding. To RECORD a durable human cor…
| Parameter | Type | Description |
|---|---|---|
action_description | string | What you're about to DO, one sentence — pass this before publish/deploy/delete/credential/external-send/irreversible-write actions. Returns matching corrections/rules/insights on the result's `actio… |
assumptions | array | Key assumptions you're making. |
confidence | string | How confident you are. Defaults to medium. |
decision_id | string | Link multiple check calls to the same decision. Auto-generated if not provided. |
delta | string | The gap between your understanding and reality (or 'none'). |
evidence | array | Evidence collected since prior. Each entry shifts probability. |
goal | string | The goal or decision question you're checking alignment on. Required for alignment checks; optional when recording a pure decision trail (prior/posterior/evidence). |
human_correction | After human responds: what they actually wanted. Pass the OBJECT form {rule, why, applies_when} to activate a durable correction; a plain string is only staged for review. | |
outcome | string | Final decision result: 'confirmed', 'rejected', 'partial', or free text. Triggers decision trail persistence. |
posterior | number | Updated probability after considering evidence (0-1). |
prior | number | Initial probability estimate (0-1). Start of Bayesian decision trail. |
project | string | |
understanding | string | Alias for goal — use when saying 'check my understanding: X'. Provide either goal or understanding. |