Skip to content

Guide · Agent skill

How to use the agentmemory Architecture Guide agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The agentmemory-architecture skill gives an AI coding agent background knowledge about how agentmemory is built. agentmemory is a memory server that runs on your machine, records what coding agents do, and makes that history searchable later. After this guide you will know how to install the skill, how to ask for it in plain language, and what kinds of questions it helps with.

agentmemory Architecture Guiderohitg00/agentmemory · Apache-2.0

Quick start

  1. 1Confirm agentmemory is installed. The skill describes agentmemory and does not install it, so make sure agentmemory is set up first.
  2. 2Download the skill ZIP. Get the ZIP from this page and keep it somewhere you can find it.
  3. 3Unzip into a skills folder. Extract it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder for one project.
  4. 4Or upload it in the Claude apps. Open Settings, go to Capabilities, then Skills, and upload the ZIP.
  5. 5Ask a natural question. Ask how agentmemory stores, retrieves or organises memory, or which ports it uses.
  6. 6Check the answer against live settings. For exact current ports or config values, confirm with the agentmemory-config skill or the official docs.

What a skill is and what this one does

An agent skill is a folder of instructions that an AI assistant can load when a task matches the skill's description. This skill is a reference guide. It covers how agentmemory stores memories, how it retrieves them, the ports it uses, and where the local viewer lives.

With the skill installed, the agent can reason about memory end to end, explain why a memory may or may not have been retrieved, and help you think through extending the system. It does not change your files or run commands by itself.

Install the skill from the ZIP or the Claude apps

Option 1: download the ZIP from this page and unzip it into ~/.claude/skills/ to make it available to you across projects, or into a project's .claude/skills/ folder to limit it to that project.

Option 2: in the Claude apps, open Settings, go to Capabilities, then Skills, and upload the ZIP there.

The package contains SKILL.md and TROUBLESHOOTING.md. The skill itself requires agentmemory to already be installed, because it describes agentmemory rather than installing it.

  • Folder for all projects: ~/.claude/skills/
  • Folder for one project: .claude/skills/ inside that project
  • Claude apps: Settings → Capabilities → Skills
~/.claude/skills/

Trigger the skill with natural requests

The skill is not meant to be invoked by name. Its description tells the agent when to use it, so ask a question about how agentmemory works and the agent can load it. Phrases that match the skill's purpose include asking how memories are stored or retrieved, asking how to extend the system, or asking which ports agentmemory uses.

If the agent answers a general question without the detail you expected, name the topic directly, such as the viewer or the storage model.

  • How does agentmemory decide which memories to return when I search?
  • Which ports does agentmemory use, and can I change them?
  • Where is the local viewer and what does it show?
  • How are memories grouped into sessions and linked to commits?
  • I want to add a new capability to agentmemory. Where do I start?

Know what the skill explains

The guide describes agentmemory as a local memory server that captures observations, indexes them for hybrid retrieval, and serves them over REST and MCP. It explains that everything is a function, a trigger, or worker state on the iii engine, and that new capability is a new function plus a trigger.

Recall combines BM25 keyword search with configured vector similarity and graph expansion. Without an embedding provider, BM25 works without an API key. Setting EMBEDDING_PROVIDER=local enables on-device embeddings, which may download a model. Memories carry content, concepts, files, importance and timestamps, and move through a lifecycle of capture, compress, consolidate and forget.

For ports, REST defaults to 3111, the viewer to 3113, and the internal engine WebSocket to 49134. You can select another local runtime with --port <N> or --instance <N>. The viewer at http://localhost:3113 shows memory building as sessions run.

  • REST API default port: 3111
  • Viewer default port: 3113
  • Internal engine WebSocket: 49134
EMBEDDING_PROVIDER=local

Troubleshoot missing tools with the included guide

If an agent says an MCP tool is not available, the bundled TROUBLESHOOTING.md lists the first checks. It advises identifying your host, then restarting or reloading the affected host connection after configuration changes. In Claude Code it points to /plugin list and /mcp.

The guide also warns not to run another host's setup commands, so follow the steps that match your host.

/plugin list

What people use it for

  • Tracing why a past memory did not show up in a search result.
  • Deciding where to add a new function and trigger when extending agentmemory.
  • Finding which local ports to free or change when another service conflicts.
  • Pointing a teammate to the viewer at localhost:3113 to confirm capture is working during a demo.
  • Getting a plain-language overview of the storage model before reading the codebase.

Frequently asked questions

How do I install the agentmemory architecture skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder. In the Claude apps you can instead open Settings, go to Capabilities, then Skills, and upload the ZIP.

Does this skill require agentmemory to be installed?

Yes. The skill describes agentmemory and does not install it, so agentmemory must already be set up on your machine.

Is the agentmemory architecture skill free?

The skill is published under the Apache-2.0 licence. This page does not list pricing, so check the licence terms for details on use and redistribution.

Does the skill run scripts or use the network?

No. The skill includes no scripts and does not use the network. It is a set of reference documents that the agent reads.

How do I trigger the skill?

Ask a question about how agentmemory works, such as how memories are retrieved or which ports it uses. The skill is not invoked by name, so the agent loads it when the request matches its description.

Can this skill change my agentmemory settings or ports?

No. It explains the default ports (3111 for REST, 3113 for the viewer, 49134 for the internal engine WebSocket) but does not change them. For exact current values, use the agentmemory-config skill or the official docs.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits developers who want to understand or extend the agentmemory codebase, engineers debugging retrieval, and anyone setting up ports or the web viewer. It is not useful for everyday memory use, since it adds no memory tools and only explains internals. If you only need to use agentmemory day to day, rely on its MCP tools and REST API instead.

Download the skill