agent-memory
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 |
概要 + 適合性 | |
存在理由 (vs RAG / vs vault / vs 壁) | |
参照実装のロードマップ (ABI ではない) | |
フォルダ分類 | |
事実の置き場所 | |
tool 契約 | |
AGENTS.md / CLAUDE.md へのバインディング | |
Windows、シンボリックリンク、マシンごとのパス | |
Sync、injection、scan.json、 | |
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 |
| MCP: search / add / register / inventory / sync / ingest |
| レイアウトエンジン、分類、注入 |
| 正規の |
| ディスクと |
| チャットのカタログ + 抽出パイプライン |
| エージェント向けインストールスキル |
テンプレートは git 内にのみ存在: examples/*.example.*。実際のストアは ~/.agents/memory。Markdown がこのクローンに漏れた場合は python -m agent_memory consolidate を実行してください。
コーディングエージェントの場合: [インストールは AGENTS.md に従ってください。]
レイアウト (概要)
Path | 内容 |
| 常時オンになるアイデンティティ |
| slug / path / role / stack / status |
| 横断的な型付きメモリ (初回書き込み時に作成) |
| 実際のツリーへのリンク (コピーではない) |
| 使用時のみファイル生成 — まず staging、書き込み時に型付きパスへ |
| 短い注入用ファイル; |
検索は、ユーザーのツリーと登録済みの全プロジェクトツリーの和集合を対象にします。チャットのファイル本体はプロダクトフォルダに残ります。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.md と scan.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-memory は python -m agent_memory と同じです。
This server cannot be installed
Maintenance
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
- Alicense-qualityAmaintenanceLocal-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.2MIT
- Alicense-qualityBmaintenanceProvides 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
- AlicenseBqualityBmaintenanceLocal-first memory server for AI coding agents that stores work sessions, tasks, and durable memories in Markdown files, exposed through MCP tools for session management and memory retrieval.10151MIT
- Alicense-qualityBmaintenanceProvides 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.181MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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