インテグレーション
AgentSend works with any AI agent framework. Use the REST API directly or follow one of the framework-specific guides below.
概要
AgentSendはシンプルなREST APIを公開しているため、あらゆるエージェントスタックに自然に適合します。 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.
フレームワークインテグレーション
フレームワークを選択して、ツール定義、エージェントの例、Webhook処理を含むステップバイステップガイドをご覧ください。
ダイレクトAPI
上記に記載されていないフレームワークの場合は、REST APIを直接呼び出してください。HTTPクライアントを持つすべての言語がそのまま動作します。
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リファレンス 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.
コミュニティ
ここに記載されていないフレームワークでAgentSendを使用していますか?ぜひ拝見したいです。DiscordでインテグレーションをDiscordで共有していただければ、ドキュメントで紹介します。