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.14.tar.gz (70.9 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.14-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentmail_toolkit-0.1.14.tar.gz
  • Upload date:
  • Size: 70.9 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.14.tar.gz
Algorithm Hash digest
SHA256 bfae379cc381c0d6eeebc3c54634d2d7209efef55eee61ec13fa871fbb7ba669
MD5 4cdafc3fc4b4efd86612d02b97e7178a
BLAKE2b-256 86b6df994efe901795cf289a45781a72b22f2a87d8d7b2e63cb1138dc5b5d86a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 26279feead72caa741fc842d7a77ec13835ef9a9b0a799ea44bb67d8a90ed836
MD5 22b0cf17df6e3f2e68612e3f1cc3ec95
BLAKE2b-256 c0dbb2644be44a524f0a851c39a34e8f03c0dd9b5c53b621f2c9630a87c9749c

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