FastrMemory
v0.9.3Local-first cognitive agent memory with bi-temporal SQLite, replayable history, hybrid retrieval.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fastr_recall
Triple-Stream hybrid search (BM25 + Vector + Graph) with progressive token budgeting and trap weighting.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query or task description |
budgetTokens | integer | Token ceiling (e.g. 500, 1500, 4000) |
files | array | Target file paths being inspected or edited |
includeHistory | boolean | Include historical superseded rules |
module | string | Filter by module (e.g. auth, db, api) |
fastr_remember
Records a new rule, architectural decision, error trap, or workflow. Automatically scrubs credentials.
| Parameter | Type | Description |
|---|---|---|
content * | string | Detailed actionable lesson or trap warning |
kind * | string | Kind of memory |
title * | string | Concise headline title |
assertion | string | Condition that keeps this memory relevant, checked against the working tree: text_present:<path>::<text>, symbol_present:<path>::<name>, or file_present:<path>. Once it stops holding, recall stops ret… |
files | array | Related file paths |
module | string | Module name (e.g. auth, db, api, ui) |
pinned | boolean | Pin to always surface during recall |
scope | string | Storage scope: project-local or organization-wide global |
symbols | array | Related symbol or function names |
verified | boolean | Set true if already verified by passing tests |
fastr_handoff
Saves or retrieves cross-agent session milestones. Promotes staging memories when verifyStaging=true.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: "save" new milestone or "latest" to retrieve |
activeFiles | array | Active files modified during session |
nextStep | string | Immediate next action for the next agent session |
summary | string | Summary of progress completed (required for save) |
taskTitle | string | Current task title (required for save) |
verifyStaging | boolean | Set true to promote session staging memories to verified |
fastr_status
Returns health, memory counts, raw event counts, pending spool count, and embedding coverage %.
| Parameter | Type | Description |
|---|---|---|
projectId | string | Project ID override |
fastr_trap_log
Immediately logs an error trap diagnosed during a build failure or test error. Receives a conditional 2.0x recall boost for trap-intent or file-scoped queries.
| Parameter | Type | Description |
|---|---|---|
content * | string | Exact explanation of the error trap and the concrete workaround/fix |
files * | array | Code files affected by this error trap |
title * | string | Clear, imperative rule title (e.g. Never Use Date.now() for JWT Exp) |
assertion | string | Condition that keeps this memory relevant, checked against the working tree: text_present:<path>::<text>, symbol_present:<path>::<name>, or file_present:<path>. Once it stops holding, recall stops ret… |
module | string | Module name (e.g. auth, db, api) |
fastr_trap_recall
Fetch all active [TRAP] warnings protecting specific files before beginning an edit.
| Parameter | Type | Description |
|---|---|---|
files * | array | Target files about to be edited or inspected |
includeNeighbors | boolean | Include 1-hop downstream call-graph and import traps |
fastr_compress
Compresses markdown files or text to reduce token usage while strictly preserving headings, URLs, and code blocks. Creates .original.md backup if filePath is provided.
| Parameter | Type | Description |
|---|---|---|
content | string | Direct text or markdown content to compress in-memory |
dryRun | boolean | Preview compression savings without modifying file on disk |
filePath | string | Path to markdown or text file to compress on disk |
fastr_diagnose
Performs comprehensive health checks across SQLite B-Trees, FTS5 BM25 search index consistency, orphaned file links, and multi-agent DAG frontiers.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional diagnostic category filter |
fastr_get
Fetch one memory by ID with full content, linked files, status, bi-temporal validity (valid_from/valid_to), and superseded_by.
| Parameter | Type | Description |
|---|---|---|
id * | string | Memory ID (e.g. mem_8f2a1c) |
fastr_replay
Reconstruct the active memory set at a past ISO timestamp from bi-temporal valid_from/valid_to windows.
| Parameter | Type | Description |
|---|---|---|
at | string | ISO timestamp (default: now) |
fastr_tools
Lists the memory tools this server can run, with their input schemas. Use fastr_call to execute any listed tool.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum tools to return |
query | string | Filter by tool name or description |
fastr_call
Runs any tool from fastr_tools by name. Arguments are validated against that tool's input schema before dispatch.
| Parameter | Type | Description |
|---|---|---|
tool * | string | Tool name from fastr_tools, e.g. fastr_list or fastr_export |
args | object | Arguments object for the target tool |