ClaudeCodeMod

All shelves / Skills

agentmemory-architecture

rohitg00/agentmemory · 11.8k installs · 30.1K stars

Skill 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.

Marked Data Exfiltration · Indirect Prompt Injection

Install

The repo has no one-line install. Follow its README.

Open the repo

Files

SKILL.md

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

Recall combines BM25 keyword search with configured vector similarity and graph expansion. A clean installation without an embedding provider uses BM25 without an API key. Set EMBEDDING_PROVIDER=local to enable on-device embeddings, which may download a model, or configure a remote provider. LLM compression and summaries require a configured provider and their relevant options.

Storage and lifecycle

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.

Ports

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.

Viewer

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.

See also

  • agentmemory-mcp-tools and agentmemory-rest-api for the surfaces.
  • agentmemory-hooks for automatic capture.
  • agentmemory-config for ports and feature flags.

Facts

Kind
Skill
Repo
rohitg00/agentmemory
Group
Uncategorized
Installs
11.8k
Stars
30.1K

From the same repo

  1. 2572agentmemory-hooksrohitg00/agentmemory11.7k
  2. 2588write-agentmemory-skillrohitg00/agentmemory11.7k
  3. 2466agentmemory-agentsrohitg00/agentmemory12k
  4. 2505agentmemory-mcp-toolsrohitg00/agentmemory11.9k
  5. 2507agentmemory-configrohitg00/agentmemory11.9k
  6. 2541agentmemory-rest-apirohitg00/agentmemory11.8k