agentmemory-agents
How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent,…
How agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or retrieved end to end, when extending the system, or when answering how agentmemory works under the hood.
Claude Code
$ npx -y skills add rohitg00/agentmemory --skill agentmemory-architecture --agent claude-code
Codex
$ npx skills add rohitg00/agentmemory --skill agentmemory-architecture -a codex -y
Cursor
$ npx skills add rohitg00/agentmemory --skill agentmemory-architecture -a cursor -y
Gemini CLI
$ npx skills add rohitg00/agentmemory --skill agentmemory-architecture -a gemini-cli -y
GitHub Copilot
$ npx skills add rohitg00/agentmemory --skill agentmemory-architecture -a github-copilot -y
OpenCode
$ npx skills add rohitg00/agentmemory --skill agentmemory-architecture -a opencode -y
Windsurf
$ npx skills add rohitg00/agentmemory --skill agentmemory-architecture -a windsurf -y
name: agentmemory-architecture description: How agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or retrieved end to end, when extending the system, or when answering how agentmemory works under the hood. user-invocable: false
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.
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.
Recall combines BM25 keyword search with configured vector similarity and graph expansion. A clean installation has no embedding provider and uses BM25 without an API key. Set `EMBEDDING_PROVIDER=local` to enable on-device embeddings, which download a model once. A remote embedding provider runs only when `EMBEDDING_PROVIDER` names it. LLM summaries, consolidation and reflection run only when `AGENTMEMORY_LLM_PROVIDER` selects a provider or `AGENTMEMORY_ALLOW_AGENT_SDK=true` turns on the Claude Agent SDK fallback; a key in the environment alone does not turn them on. Per-observation LLM compression also needs `AGENTMEMORY_AUTO_COMPRESS=true`.
Captured prompts, tool inputs and outputs, and memories stay in the local store. They leave the machine only through options the user turns on: a selected LLM provider, the Agent SDK fallback (`AGENTMEMORY_ALLOW_AGENT_SDK=true`), a remote embedding provider, a Redis state backend, or mesh sync to peer servers the user registers.
Memories carry content, concepts, files, importance, and timestamps, grouped into sessions and optionally linked to commits. A lifecycle of capture, compress, consolidate, and forget keeps the store useful over time rather than letting it grow unbounded.
REST defaults to port `3111`, the viewer to `3113`, and the internal engine WebSocket to `49134`. Use `--port <N>` or `--instance <N>` to select another local runtime.
A real-time web viewer at `http://localhost:3113` shows memory building as sessions run, with authenticated SSE updates over the REST port. Useful for demos and for confirming capture is working.
How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent,…
Set up and diagnose local agentmemory, including MCP, environment variables, ports, and feature flags. Use when getting started,…
The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how…
Map of every agentmemory MCP tool, what each does, and its parameters. Use when choosing which memory tool to call, when a tool…
The agentmemory HTTP REST API surface, the primary protocol for talking to the memory server. Use when calling agentmemory over…
Trace a file, function, or line back to the agent session that produced its current commit. Use when the user asks "why is this…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…