
Agent Magnet
io.github.helinakdoganPublished by GitHub account helinakdoganv0.1.11Updated Oct 24, 2026
Behavioral memory layer for AI tools. Learns preferences and context across Claude, Cursor, Codex.
Overview
Gives an assistant a persistent behavioral memory of your preferences, decisions, and project context across sessions and tools.
- What you can do
- Agent Magnet is a memory layer that records decisions, conventions, watch-outs, failed attempts, goals, preferences, and actions as you work, without requiring explicit "remember this" prompts. It sorts these into one memory store that can be shared across Claude, Cursor, and Codex, and lets you forget or mark items done so the memory does not pile up. Storage is local by default, with an optional Redis-backed shared mode.
- When to use it
- Worth adding if you repeatedly re-explain the same project conventions, decisions, or preferences to an assistant in new sessions, or if you want one memory shared across several AI coding tools. Less useful for one-off, single-session tasks.
- Requirements
- Runs locally as a Python package (pip install agent-magnet) over stdio. Requires MAGNET_USER_ID as the memory key. Optional: MAGNET_LOCAL_MODE for local SQLite storage, MAGNET_PROJECT_ID for namespacing, MAGNET_REDIS_URL for shared persistent storage, and MAGNET_OPENAI_KEY for the reflector and classifier models. Team memory requires a paid key from the vendor.
Installation
In SourceWeft
- Open Agent Magnet in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit 7cebb18
Tools
0Version history
1- v0.1.11LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts