Skip to content
Claude Code

agent magnet for Claude Code

io.github.helinakdogan/agent-magnet

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

client:Claude Code transport:stdio runtime:pypi

Install agent magnet in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add agent-magnet -e MAGNET_USER_ID=<MAGNET_USER_ID> -e MAGNET_OPENAI_KEY=<MAGNET_OPENAI_KEY> -e MAGNET_LOCAL_MODE=<MAGNET_LOCAL_MODE> -e MAGNET_REDIS_URL=<MAGNET_REDIS_URL> -e MAGNET_PROJECT_ID=<MAGNET_PROJECT_ID> -- uvx agent-magnet

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

agent magnet in other clients