Institutional knowledge extraction for engineering teams — exposes architectural decisions to AI coding agents via semantic search and retrieval
Memex provides three well-named, read-only tools with clear descriptions and reasonable parameter schemas. Tool names follow verb_noun convention (memex_query, memex_get_decision, memex_list_recent). Descriptions are substantive (150-250 chars) and explain prerequisites and confidence scoring. However, output schemas are entirely undocumented, responses are free-text strings rather than structured objects, forcing LLMs to parse unstructured text. Parameter descriptions are present but lack explicit constraints (e.g., min_score range 0.0-1.0 is stated but not formalized). Error messages are helpful but inconsistent. No tool annotations (readOnlyHint, idempotentHint) despite all tools being read-only and idempotent.
Fetch the full text of a specific decision record by path or title slug. `id` can be an exact file path (e.g. 'knowledge/decisions/2024-11-14-migrate-billing.md'), a filename fragment (e.g. 'migrate-billing'), or any partial path suffix. Returns the raw markdown including frontmatter.
List recent architectural decisions, optionally filtered by domain keyword. `domain` is matched case-insensitively against each record's title and excerpt (e.g. 'auth', 'database', 'api', 'infra'). Returns up to `limit` records sorted most-recent first (by filename date).
Semantic search over indexed architectural decisions. Returns the most relevant decisions matching the question. Low-confidence records are included with their confidence score surfaced so you can hedge your answer. Default min_score is 0.5 (lower than the CLI default of 0.7 — agents benefit from seeing borderline matches). Run `memex index` first if the index is empty.
Output schemas completely undocumented. All three tools return free-text strings; LLMs cannot parse structured results or chain tool calls. No field definitions, no pagination metadata, no result counts.
No tool annotations despite all tools being read-only and idempotent. Missing readOnlyHint and idempotentHint metadata that would help agents reason about safety and retry behavior.
Parameter constraints stated in descriptions but not formalized in schema. min_score range (0.0-1.0) and limit bounds are mentioned textually; JSON Schema should declare minimum/maximum properties.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2026-07-28+ | v2 |
memex_get_decision accepts ambiguous 'id' parameter (path, fragment, or suffix). No enum or pattern constraint; description lists examples but LLMs may pass invalid formats. Should validate and return actionable error.
Error responses lack recovery guidance. '_NO_INDEX' message tells agent to run 'memex index' but does not suggest alternative tools or next steps. Should follow recovery-guide pattern.