| Internet-Draft | Agent Task Coordination | July 2026 |
| Cui & Du | Expires 4 January 2027 | [Page] |
AI agent communication requires intelligent task level coordination to manage dynamic workloads across large-scale, heterogeneous networking environments. This draft proposes general requirements for an agent protocol to enable autonomous task coordination at scale, including dynamic task discovery, negotiation, and context-aware scheduling with real-time adaptability.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 4 January 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
With the rapid advancements of AI technologies and their applications, AI agents utilizing Large Language Models (LLMs) have emerged as a pivotal direction in global technological evolution and market development. The single-agent systems exhibit inherent limitations when addressing complex tasks in dynamic environments, the efficient multi-agent collaboration for complex task completion has garnered increasing attention, wherein task-oriented coordination constitutes a critical component of standardized multi-agent systems.¶
This document examines the requirements and operations for standardizing AI Agent protocols to support task coordination in multi-agent systems.¶
+---------+
+------------------->| Agent X |
|2.Task1 distributed +---------+
| |
| |
| |
+---------+ 1.Task submitted +---------+ 3.Task1 completed|
| Task |------------------->| |<-----------------+
| Invoker |<------------------ | Agent A |<-----------------+
+---------+ 4.Task completed +---------+ 3.Task2 completed|
| |
| |
| |
|2.Task2 distributed +---------+
+------------------->| Agent Y |
+---------+
The system operates as follows: when a task invoker submits a task to Agent A (Coordinator), the Agent A SHOULD use the standard discovery mechanism to discover Agent X and Agent Y that own the required capabilities and assign tasks to them. Upon receiving completion notifications from both agents, Agent A aggregates the results and delivers the final artifact back to the task invoker.¶
Some typical use cases in which multiple agents work together to complete tasks:¶
These categories of use cases (may be further extended) demonstrate the collaboration among agents spanning multiple distinct domains to achieve end-to-end task completion. The embodied agents (such as the robots and unmanned aerial vehicles) interacting with physical environments through embodied interfaces, while virtual agents (such as the various software applications and personal assistant) providing complementary capabilities, has demonstrated the advantages of collaboratively completing complex tasks in various scenarios.¶
As task complexity increases, heterogeneous agents require multiple interaction rounds, precise planning, ordered execution, and efficient context sharing mechanisms to enhance resolution quality and robustness.¶
Through task coordination and resource consumption monitoring, the multi-agent systems are able to support dynamic allocation of for example, the computing, storage and bandwidth resources to optimize the resource utilization efficiency.¶
Task coordination may dynamically prioritize resources allocations based on for example, task priorities, agent expertise and Quality of Service requirements. This ensures timeliness and accuracy of critical tasks, reduces service response latency, and maintains output stability and reliability.¶
The agents may update or adjust the task during task execution phase based on end user's inputs or contextual updates to better respond to the final task requirements.¶
Precise task descriptions or task templates are REQUIRED to ensure all agents maintain a consistent understanding of the objectives, operational constraints and criteria.¶
A well-defined task description:¶
The AI Agent protocol should support a structured task description format. A complete task description may include the following components:¶
Task descriptions assigned to different agents MUST follow the minimization principle, i.e., agents SHOULD receive only the minimal, contextually necessary information required to fulfill their tasks to prevent unauthorized access of sensitive information.¶
The AI Agent protocol design should support comprehensive state descriptions throughout the task execution lifecycle. The potential task states may include task submitted, running, suspended (awaiting external input or output from other agents), completed, canceled, rejected, and failed, as well as management operations such as state queries, retrieval, and pushing intermediate results.¶
Based on the length of time to complete the tasks, tasks can be categorized into short-term tasks that require a single request-response interaction and long-term tasks that may require multi-round interactions or extended waiting periods. For long-term tasks, the reporting and querying of intermediate states (e.g., progress percentage, checkpoints) should be supported. The Coordinator Agent may dynamically adjust the target of the task according to intermediate results from the Execution Agents and the context information. The AI Agent protocol design should support management of both long-term and short-term tasks.¶
When delegating tasks to Execution Agents, the Coordinator Agent may include task-relevant contextual about the contact information of the end user, the task itself, the historical preference information known by the Coordinator Agent, and other necessary conversation data, to facilitate the task execution. For example, in trip planning case, this may encompass historically booked flight/hotel preferences or dynamically perceived context like recent user dialog. The AI Agent protocol design should consequently support context sharing mechanisms through standardized definitions of context types, length constraints, and encoding formats to enhance the effectiveness of task execution.¶
The context sharing MAY have an impact on privacy of the user, it is necessary to consider the limitations of the scope of context sharing, especially for the sensitive information e.g. name, age, address of the user.¶
Exception handling constitutes a critical mechanism for multi-agent collaborative task execution. If an execution agent cannot complete an assigned task due to lack of skills or overloaded, the failure in task execution may lead to such as releasing the connections.¶
The AI Agent protocol should consider separating the transmission of task control messages (such as task creation, task update, task status query and task result notification) from the transmission of real-time multimodal context (such as task-related voice, video, and images). These two different types of messages may require different transmission channels. This AI Agent protocol can be built on top of the Agent session protocol and make use of the Agent session protocol to enable the exchange of task control messages, real-time and non-real-time multimodal context between AI agents with low-latency.¶
The AI Agent session protocol should be able to provide mechanisms beyond simple request/response, including the complex interaction modes for example message multicast, publication/subscription (PUB/SUB), asynchronous notifications.¶
After receiving the target agent list from the discovery result, the Coordinator Agent may select one Execution Agent and send the task cooperation message to that agent. The Coordinator Agent may delegate agent identifier lookup to the Agent Communication Server, which is then responsible for routing the message according to the agent identifier.¶
The Agent Communication Server MAY also provide task state management according to service requirements, for example, retry/re-entry after task failure.¶
+-----+ +-------------+ +-----+ | |-(A)task request-->| | | | | AI | | Agent |-(B)task request-->| AI | |Agent| |Communication| |Agent| | A | | Server |<-(C)task response-| B | | |<-(D)task response-| | | | +-----+ +-------------+ +-----+
Figure 2 shows the abstract task cooperation procedure between agent A and agent B in the same domain:¶
+------+ +-------------+
| |-(A)task request-->| |
| AI | | Agent |
| Agent| |Communication|
| A | | Server X |
| |<-(F)task response-| |
+------+ +-------------+
| ^
| |
(B)task request (E)task response
| |
v |
+------+ +-------------+
| |<-(C)task request--| |
| AI | | Agent |
| Agent| |Communication|
| B | | Server Y |
| |-(D)task response->| |
+------+ +-------------+
Figure 3 shows the abstract task cooperation procedure between agent A and agent B across domains:¶
The following parameters are included in the agent task cooperation request:¶
The following parameters are included in the agent task cooperation response:¶
Task-oriented coordination constitutes a critical function for multi-agent collaboration. This document discusses the necessity of introducing task-oriented coordination to address complex tasks, optimize resource utilization, and guarantee service quality. Consequently, it analyzes the requirements imposed by task-oriented coordination on AI Agent protocol design, specifically concerning task descriptions, task states, communication mechanisms, context sharing, and exception handling. Finally, it introduces the task flow and parameters for task cooperation between Agents.¶
This memo includes no request to IANA.¶
When designing the task-oriented coordination for AI agents communication, privacy should always be considered.¶