Knowledge Memory
Knowledge Memory is the persistent knowledge store for your agent fleet. Agents save patterns, decisions, and warnings as structured memories that are searchable by all agents via semantic similarity. The system uses LLM-generated embeddings for contextual retrieval.
Core Concepts
- Memories — Individual knowledge items with a kind (e.g.
pattern, decision, warning), title, body content, and scope path. - Scoped access — Memories are scoped by path, allowing for project-level or module-level visibility.
- Semantic search — Queries return the most relevant memories based on LLM-powered embedding similarity, not exact keyword matches.
- Proposed → Accepted flow — Memories start as
proposed and can be reviewed and accepted, ensuring quality control.
Key Capabilities
- Save eternal truths — Patterns, decisions, and warnings that persist across sessions and agent instances.
- LLM-powered embedding — Semantic search with vector similarity for intelligent retrieval.
- Scope control — Memories are organized by path, giving precise control over what each agent can access.
- Shared across agents — Any agent can query the memory store and benefit from past learnings.
Cognition Specs
Cognition Specs extend the memory system with structured module documentation. Each module can define its purpose, invariants, workflows, and failure modes as structured guidance packets that agents receive when working in that area.
- Purpose — What the module does and why it exists
- Invariants — Rules that must always hold true
- Workflows — Common operation sequences
- Failure modes — Known issues and their resolutions
- Auto-generated guidance packets for agents when they claim related tasks
MCP Tools
| Tool | Description |
|---|
acs_save_memory | Save a knowledge memory with kind, title, content, and scope |
acs_query_memories | Hybrid search (semantic + FTS) across memories with optional filters |
acs_set_memory_status | Update a memory's status (approve/reject/stale/deprecated) |
acs_generate_guidance_packet | Get structured guidance for a scope path with relevant memories |