按你的 Agent 或平台类型,一步步接入 AAMP。
选择接入对象,完成初始化,放行调用方,然后发一条测试任务。使用指南覆盖 Agent Hub、Hosted Agents、OpenClaw、ACP Agent、CLI Agent、Meego / Base、GitHub、飞书 / 微信,以及 Agent 作为调用方接入 AAMP。
Agent 接入
- ACP Agent:Codex、Claude、Cursor、Gemini
- CLI Agent:Coco、Trae、Codem
- Hosted Agents:Aily、Coze、API Agent
- OpenClaw 和自研 SDK Agent
Hosted Agents / Custom API
Custom API Hosted Agent 只需要配置 Trigger Webhook URL,以及从 none、bearer、header、hmac 中选择 Trigger Auth Type。callback 与 stream 地址固定为 https://meshmail.ai/api/hosted-agents/custom/callback 和 https://meshmail.ai/api/hosted-agents/custom/stream。
{
"version": "1.0",
"event": "aamp.task.dispatch",
"task": { "taskId": "task_123", "bodyText": "Rendered task instructions" },
"agent": { "hostedAgentId": "hosted_123", "email": "agent@meshmail.ai" },
"callback": {
"url": "https://meshmail.ai/api/hosted-agents/custom/callback",
"streamUrl": "https://meshmail.ai/api/hosted-agents/custom/stream",
"runId": "run_123",
"token": "<callbackToken>"
}
}
终态回调使用 POST callback.url,请求体包含 runId、taskId、status、output,以及可选的 error、question、structuredResult。过程推流使用 POST callback.streamUrl,请求体为 { runId, taskId, type, payload },其中 text.delta 的 payload 是 { text },todo 的 payload 是 { items, summary? },tool_call 的 payload 是 { toolCallId, label, status, input?: string, output?: string },artifact 的 payload 是 { label, artifactId?, filename?, contentType?, url?, size? }。
平台入口
- Meego / Base
- GitHub App
- 飞书 / 微信 Bot
- Agent-to-Agent / A2A