
Agent Magnet
io.github.helinakdogan由 GitHub 账号 helinakdogan 发布v0.1.11更新于 Oct 24, 2026
Behavioral memory layer for AI tools. Learns preferences and context across Claude, Cursor, Codex.
概览
为助手提供跨会话、跨工具的持久行为记忆,记住你的偏好、决策与项目上下文。
- 可以做什么
- Agent Magnet 是一个记忆层,会在你工作时自动记录决策、约定、注意事项、失败尝试、目标、偏好和已执行的操作,无需显式说“记住这个”。它把这些整理成一份记忆,可在 Claude、Cursor 和 Codex 之间共享,并允许你遗忘或标记已完成,避免记忆不断堆积。默认使用本地存储,也可选用 Redis 支持的共享模式。
- 适用场景
- 如果你在新会话中反复向助手解释相同的项目约定、决策或偏好,或希望多个 AI 编程工具共用一份记忆,就值得添加。对一次性的单次会话任务用处不大。
- 运行要求
- 以 Python 包形式在本地通过 stdio 运行(pip install agent-magnet)。需要 MAGNET_USER_ID 作为记忆键。可选:MAGNET_LOCAL_MODE 使用本地 SQLite 存储,MAGNET_PROJECT_ID 用于项目命名空间隔离,MAGNET_REDIS_URL 用于共享持久存储,MAGNET_OPENAI_KEY 用于反思与分类模型。团队记忆需要向厂商购买付费密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Agent Magnet,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Your AI forgets your project every new session. This fixes that.
What it does
- Learns automatically as you work — no "remember this" required
- Shares one memory across Claude, Cursor, and Codex
- Lets you forget or mark things done — memory doesn't just pile up
Quick start
That's the whole install. No Redis, no keys, local by default.
What it remembers
Decisions, conventions, watch-outs, failed attempts, goals, preferences, and actions taken — one memory, sorted automatically.
Team memory
Shared memory for a team — one person's decision becomes everyone's context. Requires a paid Agent Magnet key from agentmagnet.app.
Works everywhere
Claude, Cursor, Codex — same memory, local by default. agent-magnet init detects and configures Claude Code, Claude Desktop, and Cursor for you.
Manual MCP config (Codex, or any other MCP client)
MIT licensed. Contribute — and a ⭐ if this saved your context window.
来源:README.md,提交 7cebb18
工具
0版本历史
1- v0.1.11最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分