Agent Magnet
@helinakdogan
About Agent Magnet
Self-learning memory for AI tools. Remembers user preferences and context across Claude, Cursor, and Codex — with multi-parameter forgetting and cross-tool identity.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"agent-magnet": {
"command": "agent-magnet-mcp",
"env": {
"MAGNET_USER_ID": "your_name"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Agent Magnet?
Agent Magnet is an open-source memory infrastructure for AI tools. It automatically learns user preferences, corrections, and patterns and persists that memory across sessions and across different AI tools like Claude, Cursor, and Codex.
How to use Agent Magnet?
Install with pip install agent-magnet and run agent-magnet init to configure automatically. The init command detects your installed AI tools (Claude Code, Cursor, Claude Desktop) and writes the correct configuration files. No Redis or external services are required by default — local SQLite storage works out of the box.
Key features of Agent Magnet
- Cross-tool memory across Claude, Cursor, and Codex
- Self-learning from corrections and patterns automatically
- Multi-parameter forgetting with permanent, contextual, and transient decay
- Team memory pool where new members never start from zero
- On-premise Docker deployment, no data leaves your infrastructure
Use cases of Agent Magnet
- Keeping coding style and project context across AI tool switches
- Building AI products where users don’t repeat themselves every session
- Team onboarding — new developers inherit the team’s accumulated knowledge
- Enterprise AI deployments requiring data sovereignty
FAQ from Agent Magnet
Is Agent Magnet free to use?
Yes, the core SDK and MCP server are open-source and free. A hosted proxy option is available at agentmagnet.app.
Does it require Redis or external services?
No. By default it uses local SQLite storage. Redis, Qdrant, and Neo4j are optional for teams and enterprise.
How do I share memory across Claude Code and Cursor?
Set the same MAGNET_USER_ID in both tools’ configurations. Agent Magnet uses this to link memory across tools.
More AI & Agents MCP servers
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
MCP-NixOS - Because Your AI Assistant Shouldn't Hallucinate About Packages
utensilsMCP-NixOS - Model Context Protocol Server for NixOS resources
MCP Manager for Claude Desktop
zueaisimple web ui to manage mcp (model context protocol) servers in the claude app
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
Comments