io.github.helinakdogan
agent-magnet
Behavioral memory layer for AI tools. Learns preferences and context across Claude, Cursor, Codex.
stdiocommunityinfra
Package Details
agent-magnet
Transportstdio
Environment Variables
MAGNET_USER_ID
Required
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')