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.5.tar.gz (174.5 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.5-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentmail_toolkit-0.2.5.tar.gz
Algorithm Hash digest
SHA256 c7c5245aaa3ce6b197e4030f307e9b2f1f91f98d7fe983f9ce64e4810811530d
MD5 9a0deadacb014aad06750ddb0e55851d
BLAKE2b-256 ef0e3f495554c439b6c84713dd7dccb08e47cc2d67ad83fb5f89c4fc0ff2b4c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 02cd230df7f586af4f353ef957a7d8bfcaf262c9e05ffc941562d60d2cc02388
MD5 2cc7c882562b7c5b0159fdc35101b15a
BLAKE2b-256 1892aef2a298893df7303a2ad3b56e013f3a0023ea466961a148ec4a3fb9ad16

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