Agentmemory Architecture
Local memory server for coding agents that captures, indexes, and serves observations over REST and MCP.
- CCM score
- 72 of 100
- skills.sh installs
- 11.8K
- GitHub stars
- 30.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the end-to-end flow: observations are captured, indexed for hybrid retrieval, and served back over REST and MCP
- Explains the iii engine primitives, where functions (
mem::*) and HTTP triggers (api::*) route all capability, plus the file-backed state store - Documents recall as BM25 keyword search combined with optional vector similarity and graph expansion, working without an API key
- Lists the default ports
3111(REST),3113(viewer), and49134(engine WebSocket), and the data boundary for remote providers
Install
$ npx -y skills add rohitg00/agentmemory --skill agentmemory-architecture -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
agentmemory is a memory server for coding agents. It runs locally, captures observations, indexes them for hybrid retrieval, and serves them back over REST and MCP. Worker Compose runs the pinned iii engine with AgentMemory and the registry state and http workers. The state worker uses a file-backed KV store by default, with Redis available by configuration; it is not SQLite.
iii primitives
Everything is a function, a trigger, or worker state on the iii engine. There is no separate plugin system; the worker registers functions (mem::*) and HTTP triggers (api::*) and the engine routes calls. agentmemory does not bypass iii; new capability is a new function plus a trigger.
Retrieval model
Details
- Repository
- github.com/rohitg00/agentmemory
- Categories
- Memory & Context, AI Agents & LLM Apps
- First seen
- Jul 14, 2026
Questions
What does the agentmemory-architecture skill explain?
It explains how agentmemory is built, including the iii engine primitives it runs on, its storage model, ports and the viewer. It is useful when reasoning about how memory is stored or retrieved end to end, or when extending the system.
How does agentmemory retrieve memories without an API key?
Recall uses BM25 keyword search, and a clean installation has no embedding provider and needs no API key. Setting EMBEDDING_PROVIDER=local enables on-device embeddings, which download a model once.
Does agentmemory send my captured data off the machine?
Captured prompts, tool inputs and outputs, and memories stay in the local store by default. They leave the machine only through options the user turns on, such as a selected LLM provider, a remote embedding provider, a Redis state backend or mesh sync to registered peers.
How do I install the agentmemory-architecture skill?
Run npx -y skills add rohitg00/agentmemory --skill agentmemory-architecture -y in a project. The skill then lets the agent answer how agentmemory works under the hood.
More from rohitg00/agentmemory
All 15Similar to Agentmemory Architecture
More Memory & ContextMCP Mem0MCP servercoleam00686 starsPersistent agent memory via Mem0, with save, retrieve, and semantic search tools.
agentmemory-rest-apiSkillrohitg00/agentmemory11.9K installsThe HTTP REST API surface for agentmemory, the primary protocol for memory operations on localhost.
Marm Mcp ServerMCP serverlyellr88438 starsPersistent local memory and code graph access for AI agents, with semantic recall over stored sessions.
agentmemory-mcp-toolsSkillrohitg00/agentmemory12K installsReference map to every agentmemory MCP tool, covering capture, retrieval, graph, slots, and governance tools.
agent-memory-mcpSkilldavila7/claude-code-templates575 installsPersistent, searchable memory bank that lets AI agents store and recall project decisions and patterns.
proactive-agentSkillhalthelobster/proactive-agent15.4K installsAgent architecture that anticipates needs, survives context loss, and self-improves through a write-ahead log.