pypi agent-magnetstdioMITupdated 14d ago
Your AI forgets your project every new session. This fixes that.
agent magnet 能做什么?
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
pip install agent-magnet
agent-magnet init
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.
{
"mcpServers": {
"agent-magnet": {
"command": "agent-magnet-mcp",
"env": { "MAGNET_USER_ID": "your_name" }
}
}
}
MIT licensed. Contribute — and a ⭐ if this saved your context window.
安装
把 agent magnet 添加到你的客户端。选择你正在使用的那个。
claude mcp add agent-magnet -- uvx agent-magnetcodex mcp add agent-magnet -- uvx agent-magnetamp mcp add agent-magnet -- uvx agent-magnet{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"agent-magnet","command":"uvx","args":["agent-magnet"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"agent-magnet": {
"command": "uvx",
"args": [
"agent-magnet"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"agent-magnet": {
"type": "local",
"command": "uvx",
"args": [
"agent-magnet"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"agent-magnet": {
"command": {
"path": "uvx",
"args": [
"agent-magnet"
]
}
}
}
}Add to your Zed `settings.json`.
uvx agent-magnetRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档18/25
- 维护19/25
- 可信度13/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 6 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.1.11最新 | 2026年6月18日 |