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.8.tar.gz (65.8 kB view details)

Uploaded Source

Built Distribution

agentmail_toolkit-0.1.8-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentmail_toolkit-0.1.8.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for agentmail_toolkit-0.1.8.tar.gz
Algorithm Hash digest
SHA256 c2ac263a4993f9f7ebf0b80984df308fef1f3ac59ba6979eb8171bd8a06a314b
MD5 fd72e290ce676549e861d1ceb236cdcb
BLAKE2b-256 e29327082357a9c1bcc3f20a4da93e3fcb8137dd87f556eeef7aa1bf9176f41b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 30a274716d764a0f343d4a3dcdeb1b0fd9b6d5e8b00b57826b4b4c3ac64bd198
MD5 13f389169b0a8f99d528f6d256d8e985
BLAKE2b-256 975f6e75f1d5c1da60451ad44d0eaa9117769f92856e36313abcd2930b674647

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page