agentmemory-architecture
하는 일
이 스킬은 agentmemory 서버가 어떻게 만들어졌고 메모리를 어떻게 저장하고 가져오는지 설명합니다. 시스템을 확장하거나 문제를 해결하기 전에 이해하는 데 유용합니다.
사용하는 경우
- ✓agentmemory가 메모리를 어떻게 저장하고 가져오는지 이해하고 싶을 때.
- ✓메모리 서버에 새 기능을 추가할 계획일 때.
- ✓메모리 시스템이 어떻게 작동하는지 다른 사람에게 설명해야 할 때.
스킬 링크
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/agentmemory-architecture/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“메모 하나가 저장된 순간부터 다시 떠오를 때까지, agentmemory가 내 메모리를 어떻게 저장하고 찾는지 설명해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
서버는 로컬에서 실행되며 관찰 내용을 캡처하고, 키워드와 벡터 매칭을 결합한 하이브리드 검색을 위해 색인합니다. 메모리는 세션과 함께 보관되며, 캡처, 압축, 통합, 망각의 수명 주기를 거칩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
agentmemory is a memory server for coding agents. It runs locally, captures observations, indexes them for hybrid retrieval, and serves them back over REST and MCP. Worker Compose runs the pinned iii engine with AgentMemory and the registry state and http workers. The state worker uses a file-backed KV store by default, with Redis available by configuration; it is not SQLite.
iii primitives
Everything is a function, a trigger, or worker state on the iii engine. There is no separate plugin system; the worker registers functions (mem::*) and HTTP triggers (api::*) and the engine routes calls. agentmemory does not bypass iii; new capability is a new function plus a trigger.
Retrieval model
Recall combines BM25 keyword search with configured vector similarity and graph expansion. A clean installation without an embedding provider uses BM25 without an API key. Set EMBEDDING_PROVIDER=local to enable on-device embeddings, which may download a model, or configure a remote provider. LLM compression and summaries require a configured provider and their relevant options.
Storage and lifecycle
Memories carry content, concepts, files, importance, and timestamps, grouped into sessions and optionally linked to commits. A lifecycle of capture, compress, consolidate, and forget keeps the store useful over time rather than letting it grow unbounded.
Ports
REST defaults to port 3111, the viewer to 3113, and the internal engine WebSocket to 49134. Use --port <N> or --instance <N> to select another local runtime.
Viewer
A real-time web viewer at http://localhost:3113 shows memory building as sessions run, with authenticated SSE updates over the REST port. Useful for demos and for confirming capture is working.
See also
- agentmemory-mcp-tools and agentmemory-rest-api for the surfaces.
- agentmemory-hooks for automatic capture.
- agentmemory-config for ports and feature flags.
자주 묻는 질문
검색에 API 키가 필요한가요?
아닙니다. 깨끗하게 설치하면 임베딩 제공자나 API 키 없이 키워드 검색을 사용합니다.
메모리는 어디에 저장되나요?
기본 상태 저장소는 파일 기반이며, 대신 Redis를 사용하도록 설정할 수 있습니다. SQLite는 아닙니다.
어떤 포트를 사용하나요?
REST와 뷰어가 각각 자신의 로컬 포트를 사용하며, 기본값은 문서에 나와 있습니다.
상세 정보
작성자의 원본 설명
How agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or retrieved end to end, when extending the system, or when answering how agentmemory works under the hood.
repo: rohitg00/agentmemory
인기도
- GitHub 스타
- 30k
- 순위
- #9340
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agentmemory-agents
30k에이전트가 agentmemory 메모리 서버를 Claude Code, Cursor, Codex 같은 코딩 도구에 연결하도록 돕습니다.
agentmemory-config
30k에이전트가 포트, 설정, 기능 플래그를 포함해 agentmemory 메모리 서버를 설정하고 점검하도록 돕습니다.
agentmemory-hooks
30k에이전트가 각 메모를 손으로 저장하지 않아도 코딩 세션에서 유용한 내용을 자동으로 캡처하도록 돕습니다.
agentmemory-mcp-tools
30k에이전트가 메모 저장, 검색, 관리 작업에 맞는 agentmemory 도구를 고르도록 돕습니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.