送信

Agent Magnet

@helinakdogan

Self-learning memory for AI tools. Remembers user preferences and context across Claude, Cursor, and Codex — with multi-parameter forgetting and cross-tool identity.
概要

What is Agent Magnet?

Agent Magnet is an open-source memory infrastructure for AI tools. It learns user preferences, corrections, and patterns automatically — without requiring any explicit commands — 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 required by default — local SQLite storage works out of the box.

Key features of Agent Magnet?

Cross-tool memory — same memory across Claude, Cursor, and Codex
Self-learning — learns from corrections and patterns automatically
Multi-parameter forgetting — permanent, contextual, and transient signals decay at different rates
Team memory — shared memory pool across a team, new members never start from zero
On-premise support — full Docker deployment, no data leaves your infrastructure

Use cases of Agent Magnet?

1. Keeping coding style and project context across AI tool switches.
2. Building AI products where users don't repeat themselves every session.
3. Team onboarding — new developers inherit the team's accumulated knowledge.
4. Enterprise AI deployments requiring data sovereignty.

FAQ

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?

サーバー設定

{
  "mcpServers": {
    "agent-magnet": {
      "command": "agent-magnet-mcp",
      "env": {
        "MAGNET_USER_ID": "your_name",
        "MAGNET_LOCAL_MODE": "1"
      }
    }
  }
}