Metadata-Version: 2.4
Name: agentmail-toolkit
Version: 0.1.1
Summary: AgentMail Toolkit
Requires-Python: >=3.11
Requires-Dist: agentmail>=0.0.16
Requires-Dist: openai-agents>=0.0.3
Requires-Dist: pydantic>=2.10.6
Description-Content-Type: text/markdown

# AgentMail Toolkit

The AgentMail Toolkit integrates popular agent frameworks and protocols including OpenAI Agents SDK, Vercel AI SDK, and Model Context Protocol (MCP) with the AgentMail API.

## Setup

Get your API key from the [AgentMail website][https://agentmail.to]

### Installation

```sh
pip install agentmail-toolkit
```

### Configuration

```sh
export AGENTMAIL_API_KEY=your-api-key
```

### Usage

```python
from agentmail_toolkit.openai import AgentMailToolkit
from agents import Agent

agent = Agent(
    name="Email Agent",
    instructions="You are an agent created by AgentMail that can send, receive, and manage emails.",
    tools=AgentMailToolkit().get_tools(),
)
```
