A2AClient and RemoteAgent let trusted application code call another agent.
Completed blocking requests return a
Message. Streaming, asynchronous execution, and suspended interactions use an A2A Task.
Task lookup, listing, cancellation, and subscription happen only when the client asks for them. The outbound client does not list or monitor unrelated Tasks in the background.
Serve an agent through A2A
Publish an Agent Card, mount a binding, and choose durable Task storage.
Call a remote agent
Send, stream, poll, cancel, subscribe, or compose a remote agent.
Harnest A2A uses the same agent, tools, durable Tasks, sessions, authentication, lifecycle, and telemetry as the neutral API. It is a transport adapter, not a second agent runtime.