Zettelkasten-style knowledge graph for AI agents — Postgres + pgvector + TEI (Qwen3-Embedding-0.6B), multi-tenant. Port of pantainos-memory.
Raven has 8 tools with complete input schemas and descriptions. Naming follows verb_noun convention (observe, update, resolve, retract, refresh_stats, search, get_memory, list_memories). Descriptions are present (avg ~80 chars) but lack LLM-optimized guidance on WHEN to use each tool vs alternatives. Parameters have types and descriptions, but lack constraints (enums, ranges, format hints). Output schemas are not documented in the provided code. Error handling and recovery guidance are absent. Tool composition is sound (each does one thing), but parameter relationships (e.g., filters object structure) are underdocumented.
Retrieve a single memory by ID with full derivation chain
List memories with pagination and filtering
Record a ground-truth observation (market, news, earnings, tool, human) with a source
Recompute confidence counters and exposure check status for a memory
Resolve a prediction by recording its outcome (correct, incorrect, or voided)
Retract a memory and propagate damage through the derivation graph
Search memories by vector similarity or text query
Output schemas not documented. Tools return data but LLMs cannot plan downstream calls without knowing response structure (e.g., does search return memory_id, content, confidence, derivation_chain?). Breaks tool chaining.
Parameter 'filters' (search, list_memories) is an unstructured object. No schema for valid keys (source, state, tags). LLMs cannot know what filters to pass without trial-and-error.
No error handling guidance. Tools lack descriptions of failure modes (e.g., 'memory_id not found', 'invalid outcome enum'). Agents cannot self-correct on errors.
Inferred effective spec: 2025-06-18+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2025-06-18+ | v2 |
Update an existing memory's content (thesis-preserving correction or thesis change)
Descriptions lack WHEN-to-use guidance. 'Update an existing memory' does not explain when to call update vs retract, or when a correction vs thesis_change is appropriate. LLMs must guess.
No pagination guidance in list_memories description. Does limit=1000 work? What is the max? Without stated limits, LLMs may request huge result sets, exhausting context.