rohitg00 avatar

Agentmemory Architecture

This is the architectural reference for agentmemory, the memory server for coding agents. You'll want this when you need to understand how observations flow from capture through hybrid retrieval (BM25 plus vectors plus graph expansion) or when you're extending the system with new functions. It's built entirely on iii engine primitives, no separate plugin layer, so everything is a registered function or HTTP trigger. The documentation covers the storage model, port allocation scheme starting at 3111, and the real-time viewer at 3113. Most useful when you're debugging why a memory isn't surfacing or when you need to reason about the end-to-end path from a coding session to a recalled context chunk.

skills.sh installs
11.3K
GitHub stars
30.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add rohitg00/agentmemory --skill agentmemory-architecture --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/rohitg00/agentmemory
Category
Code Review & Quality
First seen
Jul 14, 2026

More from rohitg00/agentmemory

All 15
1wshobson avatarmulti-cloud-architecturewshobson/agentsDesign multi-cloud architectures using a decision framework to select and integrate services across AWS, Azure, GCP, and OCI. Use when building multi-cloud syst11.1Kskills.sh installs
2github avatarai-prompt-engineering-safety-reviewgithub/awesome-copilotComprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while p10.4Kskills.sh installs
3wondelai avatarrefactoring-uiwondelai/skillsAudit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design"10.1Kskills.sh installs
4github avatarrefactor-method-complexity-reducegithub/awesome-copilotRefactor given method `${input:methodName}` to reduce its cognitive complexity to `${input:complexityThreshold}` or below, by extracting helper methods.10Kskills.sh installs
5shopify avatarshopify-app-store-reviewshopify/shopify-ai-toolkitRun a pre-submission compliance check against your Shopify app's codebase. Reviews App Store requirements and surfaces likely issues before you submit for offic9.6Kskills.sh installs
6github avatarjava-refactoring-extract-methodgithub/awesome-copilotRefactoring using Extract Methods in Java Language9.3Kskills.sh installs