agent-recall

v3.5.3
io.github.Goldentrii/agent-recall Checked 5 hours ago Published 15 days ago

Closes 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…

ParameterTypeDescription
contextstringOptional context for matching cross-project insights
modestringDefault '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…
projectstring
verbosebooleanSet 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.

ParameterTypeDescription
summary *stringWhat 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_phaseobjectClose the currently active pipeline phase as part of this save. Provide all three reflection fields explicitly — never auto-generated.
insightsarrayInsights learned this session.
open_phaseobjectOpen a new pipeline phase as part of this save (e.g. when a watershed session pivots into the next strategic direction).
projectstring
stateobjectProject 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…
trajectorystringWhere 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.

ParameterTypeDescription
content *stringWhat to remember.
contextstringRouting hint. Values: 'architecture' or 'decision' → palace/architecture room. 'blocker' or 'blocked' → palace/blockers room. 'goal' → palace/goals room. 'lesson' or 'insight' → awareness. 'qa…
projectstring

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.

ParameterTypeDescription
query *stringWhat to search for.
feedbackarrayRate 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…
limitintegerMax results after RRF merge.
projectstring
sincestringISO 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…

ParameterTypeDescription
action_descriptionstringWhat 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…
assumptionsarrayKey assumptions you're making.
confidencestringHow confident you are. Defaults to medium.
decision_idstringLink multiple check calls to the same decision. Auto-generated if not provided.
deltastringThe gap between your understanding and reality (or 'none').
evidencearrayEvidence collected since prior. Each entry shifts probability.
goalstringThe goal or decision question you're checking alignment on. Required for alignment checks; optional when recording a pure decision trail (prior/posterior/evidence).
human_correctionAfter 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.
outcomestringFinal decision result: 'confirmed', 'rejected', 'partial', or free text. Triggers decision trail persistence.
posteriornumberUpdated probability after considering evidence (0-1).
priornumberInitial probability estimate (0-1). Start of Bayesian decision trail.
projectstring
understandingstringAlias for goal — use when saying 'check my understanding: X'. Provide either goal or understanding.