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.2.7.tar.gz (174.6 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.2.7-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentmail_toolkit-0.2.7.tar.gz
  • Upload date:
  • Size: 174.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for agentmail_toolkit-0.2.7.tar.gz
Algorithm Hash digest
SHA256 b3055deff67f9e61c5d9f168ead1b0c27e93347e60b2471337040c0b810dbdc1
MD5 b094051b0c88c597d4181dbe87ca96e0
BLAKE2b-256 13aa64d78c34d029acc507b8b4cd480d5fcc081bd3012ac343bd675baf98bc63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4a006f820335e9ae2e902d3d757c6c0e2abfb58c078a94ce70990ea42c5d41b2
MD5 45e2d0b8a7b35d5eadf96684ae99e68f
BLAKE2b-256 ce11cfb8f18ead14d20ac3281091ed2918ea09959f3cd101d75f43dea1362235

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