Metadata-Version: 2.4
Name: agent-magnet
Version: 0.1.0
Summary: Self-learning memory infrastructure for AI products
License: MIT
Keywords: ai,memory,llm,agents,mcp
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fastapi
Requires-Dist: redis
Requires-Dist: litellm
Requires-Dist: mcp
Requires-Dist: qdrant-client
Requires-Dist: neo4j
Requires-Dist: python-dotenv
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-asyncio; extra == "dev"

# Agent Magnet

Self-learning memory infrastructure for AI products.

## Install
```
pip install agent-magnet
```

## MCP Setup (Claude Desktop / Cursor)
Add to your MCP config:

```json
{
  "mcpServers": {
    "agent-magnet": {
      "command": "agent-magnet-mcp",
      "env": {
        "MAGNET_REDIS_URL": "your_redis_url",
        "MAGNET_OPENAI_KEY": "your_openai_key"
      }
    }
  }
}
```

## Proxy Setup (any OpenAI-compatible client)
```python
client = OpenAI(
    base_url="https://magnet-gateway.onrender.com/v1",
    api_key="mg_sk_...",
    default_headers={"x-session-id": "user_123"}
)
```
