Agent-to-Agent Protocols › Delegation message shape

Michael BrenndoerferDecember 1, 20261 min read
Language AI HandbookAll chapters
Part 49 of 67Long-Horizon Agents and Interoperability
Chapter 378Agent-to-Agent Protocols › Delegation message shape
Reading section 6 of 14 · Delegation message shape · 1 minSection 6 of 14 · 1 min

Section 6 of 14 · 1 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The v1 Send Message operation accepts a message with an ID, role, and typed parts. A message can include a taskId for an existing task or a contextId for related interactions. The receiving agent may give back a direct Message or create and return a Task. Omitting taskId does not force task creation. When a known task asks for more input, the client sends a new message referring to the same task and context, then follows its status again.

Match the operation names to the advertised binding. The normative v1.0.1 schema maps HTTP+JSON submission to /message:send and streaming submission to /message:stream. A SendStreamingMessage call can yield a single direct Message, or a task snapshot followed by task events. For that second form, the caller keeps the task ID so it can reconcile after interruption. Prefer a bounded wait to holding the connection open indefinitely.

The status event can report that work paused or finished, while the artifact update carries content. If the application expects a structured summary, it should validate the structure regardless of whether it sees that summary in a direct message or in a task artifact.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy