Local Agent Memory Without Docker: amem + MCP
说明与用途
amem 是一个通过 MCP 为 AI 代理提供的本地记忆层,将事实存储在 ~/.amem 中,无需 Docker 或云服务。
问题
Coding agents forget context between chats, requiring users to re-explain preferences, decisions, and tool connections in every new thread, or rely on cloud memory products.
结果
A local, Docker-free memory solution for AI agents that stores facts in ~/.amem, enabling persistent context across sessions without cloud dependency.
工作流
- Install amem using npx @iamem/amem setup or globally via npm i -g @iamem/amem && amem setup.
- Launch the local UI using amem ui or amem app.
- Configure the agent to use amem_context to pull compact relevant facts before exploring or prompting.
- Use amem_remember to store one durable sentence after a real outcome, such as a preference, decision, or recipe.
证据
Facts live in ~/.amem on your machine. Free to start. No telemetry.
amem_context — pull compact relevant facts before exploring or prompting
- 记录日期: 2026-09-05T18:59:50.105Z