Reference ArchiveSource Docs
Memory Architecture
No Redis, PostgreSQL, or Qdrant required.
1 min read
This is a migrated reference document from the original Anvio source repo. Content is preserved as-is; canonical documentation lives in the sections above in the sidebar.
Original path: docs/06-memory.md
Default: Filesystem (Level 1)
workspace/memory/
sessions/{session-id}.json # Short-term conversation context
{user-id}.json # Long-term facts and preferencesNo Redis, PostgreSQL, or Qdrant required.
Optional Providers (Progressive Enhancement)
| Provider | Level | Use Case |
|---|---|---|
| filesystem | 1 | Solo developer, portable workspace |
| sqlite | 2 | Small team, single file DB |
| postgresql | 3 | Multi-user production |
| qdrant | 3 | Semantic/knowledge retrieval |
| redis | 3 | High-throughput session cache |
Configure in workspace/anvio.yaml:
spec:
memory:
provider: filesystem
basePath: memoryPolicies (Phase 2+)
- Memory ranking by recency and relevance
- Summarization when token budget exceeded
- Retention policies per memory type
Edit on GitHub
Last updated on
Skills
Reusable capability modules attachable to any agent. A skill adds typed inputs, structured execution steps, and defined outputs to an agent's system prompt — making authoring explicit and composable r
MCP Architecture
Anvio is an **MCP client**. It connects agents to external MCP servers and exposes their tools through the tool loop. Anvio does not run an MCP server itself.