agent-memory
agent-memory
코딩 에이전트를 위한 로컬 마크다운 메모리 — 모든 프로바이더, 모든 도구.
공유 레이아웃이 없으면 각 벤더는 묘지를 소유하게 됩니다. 즉, 새 에이전트마다 다시 가르치지 않는 한 세션 아카이브는 영구적인 정체성이 되지 못합니다. 전체 근거(RAG, 볼트, 벤더 메모리와의 비교)는 abi/WHY.md 를 참조하세요. 참조 구현 로드맵: ROADMAP.md.
메모리는 사용자가 소유한 폴더에 저장됩니다: ~/.agents/memory(정체성 + 프로젝트 맵) 및 <repo>/.agents/memory(프로젝트별 작업). 에이전트 — 또는 마크다운과 선택적 MCP를 읽는 모든 호스트 — 는 동일한 레이아웃을 사용합니다.
마크다운이 진실의 원천입니다. 이 저장소의 Python MCP는 참조 구현이지 독점 백엔드가 아닙니다.
ABI(안정적 계약)
abi/ 아래에 제공 — 버전 관리, 문서화, 구현 비종속:
문서 | 내용 |
개요 + 적합성 | |
이것이 존재하는 이유 (RAG, 볼트, 벤더 묘지와의 비교) | |
참조 구현 로드맵 (ABI 아님) | |
폴더 분류 | |
사실이 저장되는 위치 | |
도구 계약 | |
AGENTS / CLAUDE 바인딩 | |
Windows, 심볼릭 링크, 머신별 경로 | |
동기화, 주입, scan.json, | |
카탈로그 / 추출 / 증류 파이프라인 |
설치는 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 .).
구성 요소 | 역할 |
| MCP: 검색 / 추가 / 등록 / 인벤토리 / 동기화 / 수집 |
| 레이아웃 엔진, 분류, 주입 |
| 표준 |
| 디스크 vs |
| 채팅 카탈로그 + 추출 파이프라인 |
| 에이전트 설치 스킬 |
템플릿은 git에만 존재: examples/*.example.*. 라이브 저장소: ~/.agents/memory. 마크다운이 이 클론에 유출된 경우 python -m agent_memory consolidate 를 실행하세요.
코딩 에이전트: 설치 방법은 AGENTS.md 를 따르세요.
레이아웃 (요약)
경로 | 내용 |
| 항상 켜져 있는 정체성 |
| slug / 경로 / 역할 / 스택 / 상태 |
| 교차 유형 메모리 (최초 쓰기 시 생성) |
| 실제 트리에 대한 링크 (복사본 아님) |
| 사용 시에만 파일 존재 — 스테이징 인박스, 쓰기 시 유형별 경로로 이동 |
| 짧은 주입; |
검색은 사용자 + 등록된 모든 프로젝트 트리를 통합합니다. 채팅 본문은 제품 폴더에 유지됩니다. chats-index.md 는 제목 + 경로만 포함합니다.
설정
pip와 MCP에 동일한 인터프리터 사용:
python -m pip install -e .
python -m agent_memory sync --init
python -m agent_memory inventory~/.agents/memory/USER.md 와 scan.json 을 채우세요 (최초 실행 시 examples/*.example.* 에서). MCP 병합 후 에이전트를 다시 로드하세요.
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