MCP directory
AM

Agent Magnet

by github.com/helinakdogan · v0.1.11 · updated Jun 18, 2026

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

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx agent-magnet==0.1.11

Environment variables

  • MAGNET_USER_IDrequired

    Your identifier used as the memory key across all tools

  • MAGNET_OPENAI_KEY

    OpenAI API key for the reflector and classifier models

  • MAGNET_LOCAL_MODE

    Set to 1 to use local SQLite storage — no Redis or external services needed

  • MAGNET_REDIS_URL

    Redis connection URL for persistent shared storage (overrides local mode)

  • MAGNET_PROJECT_ID

    Namespace for memory isolation across projects (defaults to 'default')

More MCP servers