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.29.tar.gz (129.8 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.29-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentmail_toolkit-0.1.29.tar.gz
  • Upload date:
  • Size: 129.8 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.29.tar.gz
Algorithm Hash digest
SHA256 19fa029c719d1de4fefdc3ba28013b69e4cf675b089038355c842c7c7cd4ffad
MD5 0c8640ebb1ef61f23ef17a62c0a916f3
BLAKE2b-256 10604a6310e6fe9243f7f3ace8563836141b6d43902d5efe1a2d819b450d9e47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 2684ad784e4ec6b336c95b7636964ce2db4902a42425c4b83e71b5ae16e963a6
MD5 e5267de02a820531cf1df6ec41a5092b
BLAKE2b-256 7e3abe41cb3930381299a6f29c4701f30b95e9a8e1b60f491ca9b332e0ae6fb2

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