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: RepoRecall
참조 구현 (이 저장소)
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 deployed
Maintenance
Related MCP Connectors
Hosted MCP memory for coding agents: persistent across sessions, editable markdown, team sharing.
One memory, every AI. A shared, user-owned markdown memory your AI clients read and write over MCP.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides 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.3 npm1MIT
- AlicenseNot gradedqualityBmaintenanceProvides persistent, local-first memory for coding agents with Markdown as the source of truth, exposed via CLI, loopback API, MCP, and Codex hooks for context retrieval and durable writes.MIT
- AlicenseNot gradedqualityAmaintenanceA local markdown memory and cross-agent context engine for AI coding assistants. It provides an MCP server with tools to search, add, retrieve, and distill persistent memory across tools like Claude Code, Cursor, and Zed.165 PyPI5MIT
- AlicenseNot gradedqualityAmaintenanceProvides persistent, shared memory for AI agents via MCP, enabling retrieval of relevant memories instead of loading entire context. Allows agents across projects, machines, and tools to share a single auditable, markdown-native brain.3AGPL 3.0