Asynchronous Hierarchical Memory Engine — a local sidecar daemon that compresses AI conversation context into a dense Master Memory Block via Ollama, SQLite, and asyncio.
AHME exposes three well-named, verb-first tools (ingest_context, get_master_memory, clear_context) with clear descriptions (150 - 250 chars, within baseline 194 avg). All tools have input schemas with typed properties. However, critical gaps reduce the score: (1) output schemas are completely undocumented, callers cannot see what fields are returned; (2) parameter descriptions lack actionable constraints (e.g., no guidance on text length, reset behavior side effects, or namespace format); (3) no error handling guidance, tools return TextContent but do not document failure modes or recovery steps; (4) no per-parameter type validation hints (e.g., 'namespace must be 1-64 alphanumeric chars'); (5) destructive operations (clear_context, get_master_memory with reset=true) lack confirmation or dry-run patterns. Naming is strong (verb_noun convention, clear intent), but schema and error handling are weak.
Explicitly wipe all queued chunks and summaries from AHME's database. Use this if you want a completely clean slate without retrieving memory first.
Retrieve the latest compressed Master Memory Block from AHME. Returns a dense, token-efficient summary of all ingested context, then resets the context window so the next session starts fresh with the summary as its seed (context-window replacement pattern). Inject the returned text into your system prompt to restore long-term memory.
Push raw conversation or document text into the AHME memory engine. AHME will asynchronously compress it into a hierarchical Master Memory Block.
Output schemas completely undocumented. Tools return TextContent but callers cannot see what fields, structure, or metadata are included in responses. LLMs cannot plan downstream tool calls or extract structured data.
Destructive operations (clear_context, get_master_memory with reset=true) lack confirmation or dry-run patterns. Agents can irreversibly wipe memory without safeguards.
Parameter descriptions lack actionable constraints. 'text' has no length guidance; 'reset' does not explain side effects (DB cleared, re-seeded); 'namespace' has no format rules (alphanumeric? length limits?).
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 49 | <=2025-11-25 | v2 |
No error handling guidance. Tools return TextContent on error but do not categorize failures as retryable, user-fixable, or fatal. LLMs cannot determine next steps on failure.
STDIO transport only. Server is not remotely accessible and cannot be used by hosted MCP clients. Limits deployment to local-only scenarios.