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.17.tar.gz (70.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.17-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentmail_toolkit-0.1.17.tar.gz
  • Upload date:
  • Size: 70.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.17.tar.gz
Algorithm Hash digest
SHA256 db245660b71e9b524bd9a9ca31c43ca9b956fe37a4ba433362247bd0a04d3e51
MD5 6bd3e3dcdb1254fecf7090df58e9f56e
BLAKE2b-256 874749fb6278113f0fac02bcf17246df4f88cf63bc0619b2c83d9e85f312a3ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 1abc5526ade80e57ee20f0ca4dcee5caa5611c60dbbc4c8768cbcffe6091d3a1
MD5 594753c3bae117dd572fc78db511bc36
BLAKE2b-256 f8dc9ad14e68a47ac80623361cedbc4f17e50fd8d0d26c6422ebfcb7c76c5326

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