SkillsReviewed · rohitg00

agentmemory-architecture

agentmemory-architecture is a reference skill for assistants and developers working on agentmemory, but its two files do not provide a complete server installation guide. It explains the iii engine, memory storage, retrieval, provider settings and troubleshooting for host connections.

Researched 16 Nov 2026

In short.

agentmemory-architecture is a reference skill for assistants and developers using or extending agentmemory, but its descriptions do not establish that a particular installation works. It documents file-backed storage, keyword and optional vector retrieval, explicit provider settings, data-sharing options and host-specific troubleshooting. No software was executed; retrieval quality, automatic capture, security enforcement and operating costs remain unassessed or unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied plugin/skills/agentmemory-architecture folder: SKILL.md and TROUBLESHOOTING.md, plus the repository-root LICENSE as the related notice. Source identity is preserved through the original folder address and revision-pinned file addresses. The server implementation, Compose configuration, generated-documentation tooling, other skills and host connectors are outside this scope. No installation, command, API request, capture session or retrieval operation was executed; runtime behavior remains unassessed.

The overview

Identity

The resource is the plugin/skills/agentmemory-architecture folder in rohitg00/agentmemory, containing SKILL.md and TROUBLESHOOTING.md. Its original location is [https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/agentmemory-architecture].

The skill identifies itself as agentmemory-architecture and sets user-invocable: false. It supplies reference instructions for an assistant reasoning about agentmemory’s internals; the memory server itself is a separate resource.

Assessment

Its strongest use is explaining an existing deployment or preparing an extension. It identifies consequential distinctions: the default store is not SQLite, an API key alone does not enable LLM processing, and available memory tools do not prove automatic capture is working.

The files provide an architectural map and diagnostic procedures, without runtime results demonstrating their accuracy. Performance, reliability and compatibility with particular host versions are not assessed.

Users

Developers extending agentmemory can use the skill to understand function registration, state storage and retrieval. Operators connecting coding assistants can use the companion file to distinguish host configuration, MCP connectivity and lifecycle capture.

Beginners get a compact map of the system, but will need additional installation guidance. The troubleshooting file discusses Claude Code, Codex, Hermes, OpenClaw, Pi and OMP; these references do not establish compatibility with every version of those hosts.

Capabilities

The skill explains how agentmemory captures observations and makes them retrievable through REST, an HTTP API, and MCP, the Model Context Protocol used to connect assistants to tools. It describes sessions, commit links, memory lifecycle stages and a viewer with authenticated live updates.

The companion reference covers missing tools, reduced tool inventories, duplicate Codex MCP connections and authenticated REST fallback. It distinguishes an outage from an empty search result and warns that a timed-out write may already have committed. These are documented procedures, not demonstrated outcomes.

Using it

Requirements

Using the runtime features requires a separate agentmemory installation and the relevant host connection. Worker Compose is described as running a pinned iii engine with AgentMemory and the registry state and http workers. The exact engine version, operating-system support and hardware requirements are not specified here.

A clean installation uses BM25 keyword retrieval without an embedding API key. EMBEDDING_PROVIDER=local enables on-device embeddings and a one-time model download. The model identity, download size and resource requirements are unknown.

LLM summaries, consolidation and reflection require AGENTMEMORY_LLM_PROVIDER or AGENTMEMORY_ALLOW_AGENT_SDK=true. Automatic per-observation LLM compression additionally requires AGENTMEMORY_AUTO_COMPRESS=true. Merely having a key in the environment does not enable those features.

Mechanism

The documented server runs on iii functions, triggers and worker state. Functions use names such as mem::*, HTTP triggers use api::*, and the engine routes calls. The skill describes extending functionality by adding a function and trigger.

The state worker defaults to a file-backed key-value store, with Redis available through configuration. Memories contain content, concepts, files, importance and timestamps; they belong to sessions and can link to commits.

Retrieval combines BM25 keyword matching with configured vector similarity and graph expansion. The lifecycle consists of capture, compression, consolidation and forgetting. Algorithms, scheduling rules, retention thresholds and retrieval-quality measurements are not supplied.

Setup

The documented defaults are REST port 3111, viewer port 3113 and internal engine WebSocket port 49134. The viewer address is [http://localhost:3113]. The skill names --port <N> and --instance <N> for selecting another local runtime, without providing a complete installation sequence.

REST requires a bearer credential by default. The troubleshooting file describes an explicit AGENTMEMORY_SECRET, with local credential-file fallback restricted to loopback URLs. For REST fallback, TROUBLESHOOTING.md instructs callers to use only the explicit host credential in explicit mode, use HTTPS for authenticated non-loopback requests, and reject redirects. Implementation enforcement is unverified.

Host configuration changes may require reconnecting the MCP process; daemon configuration changes require restarting the daemon. When both the Codex connector and Codex plugin are enabled, the reference advises choosing one MCP connection.

Example

Consider a hypothetical host where save and search work but broader memory tools are missing. The reference explains that a standalone shim can fall back to seven basic tools backed by a separate store, so those successes would not establish full daemon connectivity.

The documented diagnostic path is to inspect the host’s actual advertised tools, agentmemory status and AGENTMEMORY_TOOLS, then reconnect the affected host as needed. Automatic capture needs a separate check using a real turn and a recorded observation. This example was not executed.

Assessment & evidence

Limitations

These files contain documentation rather than server implementation. They do not establish search accuracy, capacity, latency, deletion guarantees, recovery behavior or end-to-end host compatibility. No software was run.

The architecture file states that captured prompts, tool inputs, outputs and memories stay local unless selected options send them elsewhere. Those options include an LLM provider, Agent SDK fallback, remote embeddings, Redis storage and mesh sync to registered peers. Local operation therefore depends on configuration; implementation-level enforcement of these boundaries is unassessed.

The REST fallback lists routes but does not supply complete request and response schemas. A working connection alone does not establish that automatic capture or the broader memory lifecycle works.

Reasoning

The reference is useful where mistaken architectural assumptions would lead to incorrect debugging or extensions. Knowing that storage is file-backed, providers require explicit configuration and host tool inventories can differ gives developers concrete facts to check.

Its value is explanatory and diagnostic. Claims about better memory quality, lower costs or production reliability would require evidence beyond these two files.

Alternatives

The skill names agentmemory-mcp-tools and agentmemory-rest-api for interface details, agentmemory-hooks for automatic capture and agentmemory-config for ports and feature flags. These are more focused companion references for those tasks, but their contents are not included here.

The troubleshooting file documents direct REST access as a fallback when MCP tools remain unavailable and the daemon is running. The evidence does not support comparisons with competing memory products.

Evidence

Architectural claims come from the revision-pinned SKILL.md at [https://raw.githubusercontent.com/rohitg00/agentmemory/cf9a7381917ea4db7bd574f85c397354a98f1e5f/plugin/skills/agentmemory-architecture/SKILL.md].

Host troubleshooting and REST credential guidance come from TROUBLESHOOTING.md at [https://raw.githubusercontent.com/rohitg00/agentmemory/cf9a7381917ea4db7bd574f85c397354a98f1e5f/plugin/skills/agentmemory-architecture/TROUBLESHOOTING.md]. That file identifies itself as generated documentation.

The repository LICENSE supports the rights description. These sources provide author documentation and licence terms, without runtime logs, benchmarks or independent validation.

Access & freshness

Costs

The Apache 2.0 licence grants no-charge, royalty-free permissions, but does not establish the total cost of operating agentmemory.

Default keyword retrieval requires no embedding API key. Local embeddings require a model download and local computing resources. Optional remote embeddings, LLM processing or external infrastructure can introduce costs, but no provider prices, usage estimates or operating-cost measurements are supplied. Those amounts are unknown.

Rights

The repository LICENSE carries Copyright 2026 Rohit Ghumare and applies Apache License 2.0. It permits use, modification and redistribution subject to its conditions. The captured licence is available at [https://raw.githubusercontent.com/rohitg00/agentmemory/cf9a7381917ea4db7bd574f85c397354a98f1e5f/LICENSE].

Redistribution requires supplying the licence, retaining applicable notices and marking modified files. Applicable NOTICE attributions must also be preserved if such a file accompanies the work. The licence includes a conditional patent grant, provides no general trademark permission and disclaims warranties.

Freshness

The supplied sources are pinned to revision cf9a7381917ea4db7bd574f85c397354a98f1e5f and were captured on 16 November 2026 at 00:12:57.966 UTC. This identifies a specific snapshot; it does not establish the files’ last-edit dates.

A release version and any changes after that revision are unknown. The moving main-branch address may differ from the pinned files described here.

Actions

Use the architecture skill to understand an existing installation or plan an extension. Obtain separate installation documentation and interface schemas before attempting a full deployment or implementing API calls.

For an existing deployment, inspect the configured storage and provider options, confirm the host’s actual tool inventory, and check capture through a recorded observation. Apply the documented credential restrictions when using REST fallback, and inspect state before retrying a write whose response was lost. These are suggested next steps; none were performed.

Evidence for this report

LICENSEnotice · checked 2026-11-16