Skip to main content

AgentMail Toolkit

Project description

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 AgentMail

Installation

pip install agentmail-toolkit

Configuration

export AGENTMAIL_API_KEY=your-api-key

Usage

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(),
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentmail_toolkit-0.1.23.tar.gz (129.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentmail_toolkit-0.1.23-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file agentmail_toolkit-0.1.23.tar.gz.

File metadata

  • Download URL: agentmail_toolkit-0.1.23.tar.gz
  • Upload date:
  • Size: 129.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for agentmail_toolkit-0.1.23.tar.gz
Algorithm Hash digest
SHA256 0f15ceecf145c9e12f6419a18302b1c9ee85bf8bee5aededde86e02b1bf09a79
MD5 53a565437bd70fc9f8d9405b059c6011
BLAKE2b-256 bee48f335f1fcc5235aeae3d7b4fb3b847923c090016c82ea25cd98f46f3e003

See more details on using hashes here.

File details

Details for the file agentmail_toolkit-0.1.23-py3-none-any.whl.

File metadata

File hashes

Hashes for agentmail_toolkit-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 28de64e2844b418c1176357887b1042c3ab6719f28458f37179c6fe9797bf2e4
MD5 e4b2724d0a21dee901eedc57f647f9e5
BLAKE2b-256 d48eaa780715e6e00f1afe5500fd1b51959ce678ebeb78da61ee7167b6e07706

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page