Agent Context Protocols Enhance Collective Inference

Arjun Beniwal, Devansh Bhardwaj, Shreyas Chaudhari, Ashwin Kalyan, Tanmay Rajpurohit, Karthik R Narasimhan, Ameet Deshpande, Vishvak Murahari

TL;DR

This paper introduces Agent Context Protocols (ACPs), a novel framework for robust, long-horizon coordination in multi-agent AI systems. By leveraging structured execution blueprints and fault-tolerant error handling, ACPs enable diverse AI agents to collaborate effectively on complex tasks, achieving state-of-the-art results in web assistance and multimodal report generation.

What Problem Does This Paper Address?

The paper addresses the challenge of building truly generalist AI systems that can tackle complex, real-world problems requiring multiple steps and collaboration among specialized agents. While current multi-agent systems often rely on imprecise natural language for communication, this approach limits inter-agent interaction, hinders error recovery, and makes it difficult to achieve reliable performance on long-horizon tasks. The authors aim to bridge this gap by introducing a structured and fault-tolerant protocol for agent-agent communication and coordination.

Methods

The core contribution is the introduction of Agent Context Protocols (ACPs). ACPs are a domain- and agent-agnostic set of structured protocols designed for agent-agent communication, coordination, and error handling. Key components include:

  • Execution Blueprints: These are persistent Directed Acyclic Graphs (DAGs) that encode task dependencies and store intermediate agent outputs. They provide a structured representation of the overall task and its sub-tasks.
  • Structured Communication Schemas: Standardized message schemas (e.g., AGENT_REQUEST, AGENT_RESPONSE, ASSISTANCE_REQUEST) govern information exchange between agents and tools.
  • Fault-Tolerant Recovery Mechanisms: ACPs introduce standardized descriptive status codes (akin to HTTP status codes) and context-rich error messages. This enables agents to re-plan and recover from errors, localizing failures without collapsing the entire workflow.

These components work together to enable robust and fault-tolerant multi-step collective inference across diverse agents.

Datasets

  • AssistantBench: Used for evaluating long-horizon web assistance tasks.
  • Multimodal Technical Reports: A dataset for evaluating the generation of comprehensive, multimodal reports.
  • Synthetic Dataset for Dashboard Creation: A newly curated dataset designed to benchmark long-horizon, complex tasks requiring significant parallelism and sequential complexity.

Key Insights and Ideas

  • Structured protocols are crucial for reliable multi-agent systems: Moving beyond ad-hoc natural language communication to standardized protocols is essential for achieving robust performance in complex, long-horizon tasks.
  • Execution blueprints provide a powerful framework for coordination: Representing tasks as DAGs with dependencies and intermediate states allows for systematic planning, execution, and error handling.
  • Fault tolerance is not an afterthought, but a core component: Standardized error codes and context-rich error messages are vital for enabling agents to recover from failures gracefully and maintain progress.
  • Modularity and extensibility are key for generalist systems: ACPs are designed to be modular, allowing for the easy integration of new domain-specific tools and agents without retraining the core system.

Key Results

  • State-of-the-Art (SOTA) on AssistantBench: ACP-powered systems achieved 28.3% accuracy on AssistantBench for long-horizon web assistance tasks, surpassing existing baselines.
  • Human-Preferred Multimodal Reports: ACP-generated multimodal technical reports were rated superior by human evaluators compared to outputs from commercial AI systems, excelling in approximately 85% of evaluation dimensions.
  • Robustness in Ablation Studies: Experiments demonstrated the critical role of ACPs in coordination and fault tolerance for complex tasks.
  • Strong Generalization: The system showed strong generalization across difficulty levels (67.8% on easy, 48.5% on medium, and 15.5% on hard tasks).

Limitations and Future Work

  • Scalability: The paper suggests investigating ACPs' scalability to larger agent populations as a future direction.
  • Advanced Reasoning Models: The authors propose exploring advanced reasoning models for execution planning.
  • Dynamic Environments: Broadening the applicability of ACP-enabled collective intelligence in dynamic, evolving environments is another area for future research.

Summary updated

BibTeX
@inproceedings{beniwal2025agent,
  author = {Arjun Beniwal and Devansh Bhardwaj and Shreyas Chaudhari and Ashwin Kalyan and Tanmay Rajpurohit and Karthik R Narasimhan and Ameet Deshpande and Vishvak Murahari},
  title = {{Agent Context Protocols Enhance Collective Inference}},
  booktitle = {SEA @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=xKDHZLQJ2O},
}
Figure