本文へスキップ
Skillpedia
コネクタ(MCP)30k · #9340

agentmemory-architecture

できること

このスキルは、agentmemoryサーバーの構造と、記憶を保存して取り出す仕組みを説明します。拡張やトラブルシューティングの前に、システム全体を理解するのに役立ちます。

使う場面

  • ✓agentmemoryが記憶を保存して取り出す仕組みを理解したいとき。
  • ✓新しい機能でメモリサーバーを拡張する計画があるとき。
  • ✓メモリシステムがどう働くかを、他の人に説明する必要があるとき。

スキルのリンク

https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/agentmemory-architecture/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/agentmemory-architecture/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“メモを保存した瞬間から想起されるまで、agentmemoryが私の記憶をどう保存し、どう見つけるかを説明してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

サーバーはローカルで動作し、観測を取り込み、キーワードとベクトルの一致を組み合わせたハイブリッド検索のためにインデックスを作ります。記憶はそのセッションとともに保持され、取り込み、圧縮、統合、忘却というライフサイクルをたどります。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.
よくある質問

検索にAPIキーは必要ですか?

いいえ。クリーンなインストールでは、埋め込みプロバイダーやAPIキーなしでキーワード検索を使います。

記憶はどこに保存されますか?

初期設定の状態ストアはファイルベースで、Redisを使うように設定することもできます。SQLiteではありません。

どのポートを使いますか?

RESTとビューアーは、それぞれローカルの別のポートを使います。初期値はドキュメントに記載されています。

詳細

作者による元の説明

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.

repo: rohitg00/agentmemory

人気

GitHubのスター
30k
ランキング
#9340
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル