Engineering/AI documentation
Agent Memory
The Agent memory tab exposes memory tied to agent behavior and project collaboration.
Concepts: rag, a2a
Implementation Summary
The Agent memory tab exposes memory tied to agent behavior and project collaboration in the active project.
Frontend Surface
frontend/src/components/memory/MemoryView.tsxbackend/app/core/agent_memory.py
State, API, And Backend Contracts
Stores
- None recorded.
API And Backend
backend/app/api/routes/memory.py
Architecture Notes
- The feature is mounted through
frontend/src/components/memory/MemoryView.tsxand the UI navigation path recorded in the inventory. - Agent notes are read through
backend/app/api/routes/memory.py, which validates project visibility before loading project agent-memory data. MemoryViewremounts the Agent memory tab on active-project changes so notes cached for one project are not reused in another project view.- The frontmatter and manifest entries are the durable contract for agents updating this page after code changes.
- When the referenced component, store, route, agent, skill, or test behavior changes, regenerate and validate the feature documentation.
Agents, Skills, LLM, MCP, And Permissions
- RAG-related behavior depends on project context, documents, memory, or retrieval material referenced by the cited stores and routes.
- Agent-to-agent behavior should be traced through agent stores, A2A routes, permissions, and review surfaces before changing assumptions.
Tests And Verification
tests/test_memory.py
Related Features
Related Concepts
Compass Evidence
- Spec/task: CF-SPEC-60 / CF-757
- Inventory source:
docs/features/inventory.json
When To Update
- Update this page whenever the listed UI components, stores, routes, model behavior, permissions, or tests change.
- Regenerate the site and machine manifests with
python scripts/feature_docs.py --seed-missing --generate-site --check.