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.20.tar.gz (128.2 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.20-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentmail_toolkit-0.1.20.tar.gz
  • Upload date:
  • Size: 128.2 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.20.tar.gz
Algorithm Hash digest
SHA256 9b3fd3a4868deb2a73ced242ddb734e477abdcbb5e57641905ceb3d791171967
MD5 5c70d2bb78ed9b75acc5511215b1e4c0
BLAKE2b-256 395c3925a3d077c6a41fb64281b6e008c2a52cda38d32f3287b8019d753c29f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 227892b04dfa306000be59ce5fa8764e09e5adbd2a245a0e5c988f47f37fb07a
MD5 e2f4a76f1f73e9152fe4c8e6a33d4db5
BLAKE2b-256 1ad7f06cdd3f80ecab532da455e701392e7a800457fc9c430c3aabf7d0dca6b8

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