Agent Skills

magnet-gateway

Remembers your project so you don't have to explain it again. Memory across Claude, Codex, Cursor.

Install

uvx agent-magnet
  • MAGNET_USER_IDrequired — Your identifier used as the memory key across all tools
  • MAGNET_OPENAI_KEYoptional — OpenAI API key for the reflector and classifier models
  • MAGNET_LOCAL_MODEoptional — Set to 1 to use local SQLite storage — no Redis or external services needed
  • MAGNET_REDIS_URLoptional — Redis connection URL for persistent shared storage (overrides local mode)
  • MAGNET_PROJECT_IDoptional — Namespace for memory isolation across projects (defaults to 'default')
README.md

Agent Magnet

PyPI

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.

Search skills and MCP servers

Fuzzy search across 23,137 skills and servers