Back to Directory/Developer Tools

io.github.helinakdogan/agent-magnet

Behavioral memory layer for AI tools. Learns preferences and context across Claude, Cursor, Codex.

Developer ToolsPythonv0.1.11

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.

Manual MCP config (Codex, or any other MCP client)
{
  "mcpServers": {
    "agent-magnet": {
      "command": "agent-magnet-mcp",
      "env": { "MAGNET_USER_ID": "your_name" }
    }
  }
}

MIT licensed. Contribute — and a ⭐ if this saved your context window.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx agent-magnet

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-helinakdogan-agent-magnet": {
      "command": "uvx",
      "args": [
        "agent-magnet"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

agent-magnetpypi

Compatible MCP Clients

io.github.helinakdogan/agent-magnet works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More