| 端点 | 方法 | 描述 |
|---|---|---|
/.well-known/agent.json | GET | 获取 Agent Card |
/tasks/send | POST | 发送任务 |
/tasks/{id} | GET | 查询任务状态 |
/tasks/{id}/cancel | POST | 取消任务 |
/tasks/{id}/subscribe | POST | 订阅任务通知 |
pending → working → completed/failed/canceled
{
"id": "task-123",
"status": "completed",
"artifacts": [...],
"history": [...]
}
bin/a2agent.phpbin/a2agent-cluster.php还没有人回复