One shared memory for every agent in a project, over MCP
说明与用途
为项目中的所有代理提供共享内存层,使用 Mem0 和 Qdrant 本地实现,消除外部 API 密钥,提供统一上下文。
问题
Multiple AI coding agents in a project need a consistent, shared memory layer without external API keys or complex setup.
结果
All agents share a single memory layer, reducing duplication, eliminating API key management, and enabling consistent context across the project.
工作流
- 1. Install Mem0 and Qdrant locally.
- 2. Clone the agent-memory repository from GitHub.
- 3. Run the provided scripts to generate configuration files for five agents.
- 4. Seed the memory layer with shared rules once.
- 5. Launch agents; they automatically connect to the shared memory via MCP.
- 6. Agents read and write to the shared memory, ensuring consistent context across the project.
证据
Universal MCP memory layer for AI coding agents (OpenCode, Claude Code, Cursor, Kilo Code). Self-hosted with Mem0 + Qdrant. Seed rules once, all agents remember.
- 记录日期: 2026-09-05T17:44:52.825Z