Intégrations
AgentSend works with any AI agent framework. Use the REST API directly or follow one of the framework-specific guides below.
Overview
AgentSend exposes a simple REST API, so it fits naturally into any agent stack. Whether you're building with a high-level orchestration framework or calling the API by hand, the same primitives apply: create an inbox, send a message, read replies.
All integrations use the same underlying REST API. Framework-specific guides just show you how to wire it in idiomatically for each tool.
Framework Integrations
Pick your framework for a step-by-step guide, including tool definitions, example agents, and webhook handling.
Direct API
For any framework not listed above, call the REST API directly. Every language with an HTTP client works out of the box.
await fetch(`https://api.agentsend.io/inboxes/${inboxId}/messages`, { method: "POST", headers: { "x-api-key": process.env.AGENTSEND_API_KEY, "Content-Type": "application/json", }, body: JSON.stringify({ to: ["user@example.com"], subject: "Hello from my agent", bodyText: "This was sent by an AI agent via AgentSend.", }), });
curl -X POST https://api.agentsend.io/inboxes/$INBOX_ID/messages \ -H "x-api-key: $AGENTSEND_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "to": ["user@example.com"], "subject": "Hello from my agent", "bodyText": "This was sent by an AI agent via AgentSend." }'
See the API Reference for the full list of endpoints, request schemas, and response examples.
Claude Code & Cursor
AgentSend exposes a /skill endpoint for MCP tool integration. Add it to your mcp_servers config and Claude Code or Cursor will automatically discover send_email, list_messages, and reply_to_thread as callable tools.
{
"mcpServers": {
"agentsend": {
"command": "npx",
"args": ["agentsend-mcp"],
"env": {
"AGENTSEND_API_KEY": "your-api-key",
"AGENTSEND_INBOX_ID": "your-inbox-id"
}
}
}
}For a full walkthrough of the MCP setup, see the Claude MCP integration guide.
Community
Using AgentSend with a framework not listed here? We'd love to see it. Share your integration on our Discord and we'll feature it in the docs.