Metadata-Version: 2.4
Name: agentsid
Version: 0.1.0
Summary: Identity and auth for AI agents — drop-in MCP middleware
License: MIT
Keywords: agents,ai,auth,identity,mcp,security
Requires-Python: >=3.10
Requires-Dist: httpx>=0.25.0
Description-Content-Type: text/markdown

# agentsid

Identity and auth for AI agents. Official Python SDK for [agentsid.dev](https://agentsid.dev).

## Install

```bash
pip install agentsid
```

## Quick Start

```python
from agentsid import AgentsID, create_mcp_middleware

aid = AgentsID(project_key="aid_proj_...")

result = await aid.register_agent(
    name="research-bot",
    on_behalf_of="user_123",
    permissions=["search_*", "save_memory"],
)

middleware = create_mcp_middleware(project_key="aid_proj_...")
allowed = await middleware.is_allowed(token, "save_memory")  # True
```

## Links

- [Documentation](https://agentsid.dev/docs)
- [Dashboard](https://agentsid.dev/dashboard)
- [GitHub](https://github.com/stevenkozeniesky02/agentsid)
