agents-memory
agents-memory
AIコーディングアシスタント向けのローカルMarkdownメモリ&クロスエージェントコンテキストエンジン。
Claude Code、Cursor、Antigravity、Zed 間で共有される、単一の永続的なアイデンティティ。
なぜ .agents/memory なのか?
agents-memory という名前は、その普遍的なストレージ標準である .agents/memory に直接由来しています。
グローバル:
~/.agents/memory/は、永続的なアイデンティティ、スタックのデフォルト設定、永続的なコンセプト、プロジェクトインデックスを保存します。リポジトリ:
<repo>/.agents/memory/は、リポジトリ固有の事実、アーキテクチャADR、ステージングインボックスを保存します。
AIベンダーが独自のストアに設定を分散させる一方で、.agents/ は、すべてのエージェント設定と共有インテリジェンスのための、単一のオープンでベンダーニュートラルなファイルシステムハブを提供します。
agents-memory はこれを 純粋なMarkdownファーストのアーキテクチャ で実現します:
ローカル&オフライン: あなたのアイデンティティとリポジトリメモリは、プレーンファイル(
~/.agents/memory/と<repo>/.agents/memory/)に保存されます。人間が読めてGitフレンドリー: 任意のテキストエディタで編集し、gitで差分を確認し、必要なときにコミットできます。
ユニバーサルMCPサーバー: メモリツール(
search_memory、add_memory、get_project_memories、distill_batch)をすべての最新エージェントに公開します。自律的な取り込みと蒸留: セッションログ(OpenAI、Claude、Cursor、Copilot、Antigravity、Pi)から永続的なルールとアーキテクチャ上の決定を抽出します。
Related MCP server: agent-julia
アーキテクチャとフロー
┌─────────────────────────────────────────────────────────────┐
│ SESSION INGEST │
│ OpenAI Exports · Claude JSONL · Cursor · Antigravity · Pi │
└──────────────────────────────┬──────────────────────────────┘
│ ingest catalog / extract
▼
┌─────────────────────────────────────────────────────────────┐
│ STAGING INBOX │
│ Raw captured bullets & noise-filtered facts │
└──────────────────────────────┬──────────────────────────────┘
│ distill_batch / skill
▼
┌─────────────────────────────────────────────────────────────┐
│ LOCAL MEMORY STORE │
│ ~/.agents/memory/USER.md ~/.agents/memory/PROJECTS.md │
│ ~/.agents/memory/concepts/ <repo>/.agents/memory/ │
└──────────────┬───────────────────────────────┬──────────────┘
│ │
▼ ▼
┌─────────────────────────────┐ ┌─────────────────────────────┐
│ IDE INJECTION │ │ MCP SERVER & CLERK │
│ Cursor Rules · Zed Context │ │ search_memory · add_memory │
│ Antigravity AGENTS.md │ │ Universal Tool Integration │
└─────────────────────────────┘ └─────────────────────────────┘クイックスタート
1ステップセットアップ
pip install agents-memory && agents-memory sync --init~/.agents/memory/ をスキャフォールドし、インストール済みのIDEにMCP設定を自動配線し、アシスタントスキルを登録します。
[!TIP] 🤖 エージェント駆動セットアップ(ゼロフリクション):
コーディングエージェントにこう伝えるだけです: 「agents-memoryをインストールしてセットアップして」
エージェントがパッケージをインストールし、スタックの好みを一度だけ尋ね、USER.mdプロフィールを記入し、リポジトリを自律的に登録します。
CLIリファレンス
コマンド | 目的 |
| 正規の |
| 初回スキャフォールディング、サンプル作成、ホスト検出を行います |
| ワークスペースルート全体で未登録のローカルリポジトリを検出します |
| 新しいリポジトリを登録します |
| サポートされているすべてのプロバイダーのローカルチャットトランスクリプトをインデックス化します |
| ヒューリスティックフィルターを実行して、永続的な事実をステージングに抽出します |
| プライベート状態が作業リポジトリに漏れないようにします |
サポートされているエコシステム
Claude Code: シンボリックリンク / 正規の
AGENTS.mdとMCPサーバーを介してバインドされます。Google Antigravity:
.gemini/configルールとagents-memoryMCPを介して統合されます。Cursor: ルールを自動的に注入し、
.cursor/mcp.jsonを設定します。Zed:
context_serversを設定し、アシスタントスキルをミラーリングします。VS Code / Copilot: ローカル状態データベースからセッション履歴を取り込みます。
互換性あり: Windsurf、Cline、Roo-Code、Aider、Continue.dev、OpenAI ChatGPT、Pi、Goose、およびMCP準拠の任意のAIアシスタント。
オープンABI仕様
正式な実装非依存のレイアウト仕様は abi/ にあります:
abi/WHY.md— アーキテクチャ上の決定と、MarkdownがRAGに勝る理由。abi/LAYOUT.md— ディレクトリ分類とパス契約。abi/KINDS.md— 型付きメモリ分類(concepts、facts、decisions)。abi/MCP.md— ツール定義とリクエスト/レスポンス仕様。abi/INGEST.md— カタログ、抽出、蒸留パイプライン。abi/INJECTION.md— ホストルール注入メカニズム。
テストと検証
包括的なテストスイートと蒸留ベンチマークを実行します:
python tests/run_all_tests.pyライセンス
MITライセンス。詳細は LICENSE を参照してください。
This server cannot be installed
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
- AlicenseBqualityBmaintenancePersistent memory MCP server for Claude Code, Cursor, and GitHub Copilot. Semantic search, Git sync, project-based, Persistent memory MCP server for Claude Code, Cursor, and GitHub Copilot. Semantic search, Git sync, project-based organization, and team collaboration via Model Context Protocol.672432MIT
- Alicense-qualityAmaintenanceLocal-first MCP server providing persistent markdown memory with persona engine and fast search, designed to unify AI assistant memory across Claude Code, Cowork, and Dispatch.55MIT
- Flicense-qualityFmaintenanceA local-first, team-ready MCP server providing durable memory for LLM-based coding workflows with multiple storage backends and fast search.4
- 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
Related MCP Connectors
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
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/agents-memory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server