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.13.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.13-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentmail_toolkit-0.1.13.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.13.tar.gz
Algorithm Hash digest
SHA256 bae59b3b919e457b21064e479f006b6d218b3eebc3ebae378f5bc75fd40145b4
MD5 afd479ef7bb36e60be5d1ae14c197ecf
BLAKE2b-256 0e2c9fbe2ba1f604a5e0199574ad43efaac6850cc13dc83a329fa68109bd805b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 e79a65c6a24ea84cbe3ccf72279ba71405ba1422a4d74b2ab0c920b58976f577
MD5 a6405b956f9d818e491fd5d69058708c
BLAKE2b-256 6e059307a0a77c36587a5e257ba0a64586e8527f69cc98da7001d96e438acb10

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