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

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentmail_toolkit-0.1.9.tar.gz
  • Upload date:
  • Size: 70.5 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.9.tar.gz
Algorithm Hash digest
SHA256 4da3eb6ff2dbb58014002bb764a83738f071add3095f3b647ba2fccedc2b2675
MD5 74edc9359c6a6bde790385177ce2d136
BLAKE2b-256 0a32b9848332a79b2134111d8d32fa02d0876833c6f4d72636fa942601e7961b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentmail_toolkit-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6778120000d33866647761190116d50a9c8fb97089599deb3ad8fe80cdb90910
MD5 5b8650d0ec6bff3a3ba9776daf9dd502
BLAKE2b-256 96e43c099cc795537905484aaacd396735f6904ab79d5834385d4181a2ea6d3f

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