a2a-client
v1.0.2
Published
Agent client using agent2agent protocol
Readme
a2a-client
Agent client using agent2agent protocol
Usage
- The agent must be running before the client is invoked
a2a-client <agent URL>- say
exitto quit the client
End-to-end flow
a2a-client agent
│ │
│── GET /.well-known/agent-card.json ──────▶│
│◀─ { name, version, description, skills } ─│
│ (rendered as the startup box) │
│ │
│── POST /a2a { message/send, stream } ───▶│
│◀─ SSE: statusUpdate / task events ────────│
│ (spinner → "Agent: <response>") │
│ │
│── POST /a2a { same contextId/taskId } ──▶│ ← next turn
│◀─ SSE: ... │