Skip to main content
Glama

agent-memory

コーディングエージェント向けのローカルマークダウンメモリ。 プロバイダーもツールも問いません。

共有レイアウトがなければ、各ベンダーは墓場を持っているのと同じです。つまり、セッションアーカイブは、新しいエージェントに教え直さない限り、永続的なアイデンティティにはまったくなりません。詳しい理由については、abi/WHY.md を参照してください(vs RAG、vs vault、vs ベンダーメモリ)。参照実装のロードマップ: ROADMAP.md

あなたのメモリは、あなたが所有するフォルダにあります。~/.agents/memory(アイデンティティとプロジェクトマップ)と <repo>/.agents/memory(プロジェクトごとの作業)。あなたの Agent — またはマークけどoptional MCPを読むホストであればどれでも — 同じレイアウトを使います。

Markdown は source of truth です。このリポジトリの Python MCP は 参照実装 であり、プロプライエタリなバックエンドではありません。

ABI(安定したコントラクト)

abi/ 配下に提供。バージョン管理され、文書化され、実装 非依存です。

Doc

What

abi/README.md

概要 + 適合性

abi/WHY.md

存在理由 (vs RAG / vs vault / vs 壁)

ROADMAP.md

参照実装のロードマップ (ABI ではない)

abi/LAYOUT.md

フォルダ分類

abi/KINDS.md

事実の置き場所

abi/MCP.md

tool 契約

abi/INJECTION.md

AGENTS.md / CLAUDE.md へのバインディング

abi/PLATFORM.md

Windows、シンボリックリンク、マシンごとのパス

abi/INSTALL.md

Sync、injection、scan.json、--help-json

abi/INGEST.md

Catalog / extract / distill パイプライン

インストール時、abi/LAYOUT.md~/.agents/memory/LAYOUT.md にコピーされます。注入と CLI フラグ: abi/INSTALL.md。機械可読な出力: python -m agent_memory --help-json

Related MCP server: mcp-chest-memory

参照実装 (このリポジトリ)

Python は src/agent_memory/ にあります(クローンから pip install -e .)。

Piece

Role

agent_memory.mcp_server

MCP: search / add / register / inventory / sync / ingest

agent_memory.store

レイアウトエンジン、分類、注入

python -m agent_memory sync

正規の ~/.agents/AGENTS.md、それに紐づく CLAUDE.md、ホストの注入

python -m agent_memory inventory

ディスクと PROJECTS.md の照合(.agent.cursor はスキップ)

python -m agent_memory ingest

チャットのカタログ + 抽出パイプライン

skills/memory-sync/

エージェント向けインストールスキル

テンプレートは git 内にのみ存在: examples/*.example.*。実際のストアは ~/.agents/memory。Markdown がこのクローンに漏れた場合は python -m agent_memory consolidate を実行してください。

コーディングエージェントの場合: [インストールは AGENTS.md に従ってください。]

レイアウト (概要)

Path

内容

~/.agents/memory/USER.md

常時オンになるアイデンティティ

~/.agents/memory/PROJECTS.md

slug / path / role / stack / status

~/.agents/memory/concepts/

横断的な型付きメモリ (初回書き込み時に作成)

~/.agents/memory/projects/<slug>/

実際のツリーへのリンク (コピーではない)

<repo>/.agents/memory/

使用時のみファイル生成 — まず staging、書き込み時に型付きパスへ

~/.agents/AGENTS.md

短い注入用ファイル; CLAUDE.md はこれに紐づく

検索は、ユーザーのツリーと登録済みの全プロジェクトツリーの和集合を対象にします。チャットのファイル本体はプロダクトフォルダに残ります。chats-index.md にはタイトルとパスのみが含まれます。

セットアップ

pip と MCP は同じインタプリタを使用します。

python -m pip install -e .
python -m agent_memory sync --init
python -m agent_memory inventory

初回実行時に examples/*.example.* を使って ~/.agents/memory/USER.mdscan.json を埋めてください。MCP をマージした後は、Agent をリロードしてください。

Windows のシンボリックリンクのスタブとハードリンクのフォールバックについては abi/PLATFORM.md を参照してください。

スクリプト

python -m agent_memory inventory
python -m agent_memory inventory --json
python -m agent_memory inventory --register SLUG "/path/to/repo" "role" "stack"
python -m agent_memory sync
python -m agent_memory --help-json
python -m agent_memory sync --help-json
python -m agent_memory inventory --help-json
python -m agent_memory ingest catalog

インストール後、PATH 上の agent-memorypython -m agent_memory と同じです。

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    A
    maintenance
    Local-first, file-based memory layer for AI agents — one shared Markdown vault across Claude, Codex, Gemini, Cursor and any MCP client. Provides read/write memory tools with an audit trail, per-agent trust levels, and Git sync; no cloud and no lock-in.
    2
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Provides a persistent, local-first memory for coding agents over MCP, enabling automatic recall and recording of past work, failures, and decisions to reduce repetition and token usage.
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Provides portable memory for AI agents using plain Markdown files. Enables storing, recalling, and managing memories via MCP tools like recall, remember, forget, list, and get.
    18
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.

  • Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.

  • Shared long-term memory vault for AI agents with 20 MCP tools.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lolaplex/agent-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server