Agent Context Protocols Enhance Collective Inference

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

Abstract AI agents have become increasingly adept at complex tasks such as coding, reasoning, and multimodal understanding. However, building generalist systems requires moving beyond individual agents to collective inference -- a paradigm where multi-agent systems with diverse, task-specialized agents complement one another through structured communication and collaboration. Today, coordination is usually handled with imprecise, ad-hoc natural language, which limits complex interaction and hinders interoperability with domain-specific agents. We introduce Agent context protocols (ACPs): a domain- and agent-agnostic family of structured protocols for agent-agent communication, coordination, and error handling. ACPs combine (i) persistent execution blueprints -- explicit dependency graphs that store intermediate agent outputs -- with (ii) standardized message schemas, enabling robust and fault-tolerant multi-agent collective inference. ACP-powered generalist systems reach state-of-the-art performance: 28.3 % accuracy on AssistantBench for long-horizon web assistance and best-in-class multimodal technical reports, outperforming commercial AI systems in human evaluation. ACPs are highly modular and extensible, allowing practitioners to build top-tier generalist agents quickly.

1. Introduction

The evolution of artificial intelligence has seen individual agents excel in specialized domains such as software engineering and logical reasoning. However, the next frontier lies in "generalist" systems capable of handling multifaceted, long-horizon tasks. Achieving this requires a shift toward "collective inference," where multiple specialized agents collaborate. Currently, most multi-agent systems (MAS) rely on ad-hoc natural language for coordination. This "unstructured chatting" serves as a significant bottleneck, leading to imprecision, difficult error recovery, and poor interoperability. When a single agent in a chain produces malformed data, the lack of a structured "lingua franca" often causes the entire system to fail.

2. The Agent Context Protocol (ACP) Framework

To address these limitations, we propose the Agent Context Protocol (ACP). This framework models collective inference as a persistent Directed Acyclic Graph (DAG), termed an Execution Blueprint. This blueprint serves as a shared reference that encodes task dependencies and stores intermediate outputs, ensuring that sub-tasks are executed only when their prerequisites are satisfied.

Figure 1: Task decomposition into an Execution Blueprint (DAG) for a complex travel planning query.

The ACP framework is built upon three core pillars:

  • Standardized Message Schemas: Agents interact via structured schemas (AGENT_REQUEST, AGENT_RESPONSE, and ASSISTANCE_REQUEST) rather than free-form text. This ensures that requests specify clear methods and parameters, while responses include validated variables.
  • Fault-Tolerant Assistance: When an agent encounters an error, it triggers an ASSISTANCE_REQUEST. This provides necessary context for a specialized fault-tolerance agent to re-plan or identify workarounds without collapsing the entire workflow.
  • Standardized Status Codes: Borrowing from the HTTP model, ACP introduces specific error codes (e.g., 601 MISSING_REQUIRED_PARAMETERS). This allows for localized diagnosis and recovery, enabling the system to handle failures gracefully.

3. Experimental Evaluation and Results

We evaluated the ACP framework across three challenging benchmarks: AssistantBench, Multimodal Report Generation, and a synthetic Dashboard Creation task.

On AssistantBench, a benchmark consisting of 214 multi-step web tasks, the ACP-powered system achieved a state-of-the-art accuracy of 28.3%, significantly outperforming existing specialized planners.

In the Multimodal Report Generation task, which required synthesizing information across domains like Finance and Tech, ACP-generated reports were subjected to human evaluation. Reviewers found that ACP outperformed commercial systems such as Perplexity Deep Research and Gemini Deep Research in approximately 85% of evaluated dimensions, particularly excelling in coverage and presentation quality.

Finally, ablation studies using the Dashboard Creation dataset demonstrated the necessity of the full protocol. The complete ACP framework achieved a score of 3.95/5, compared to 1.96/5 for a single-agent baseline and 2.94/5 for a multi-agent system lacking structured assistance.

4. Conclusion

Agent Context Protocols represent a paradigm shift from prose-based coordination to protocol-driven collective inference. By treating multi-agent workflows like a software execution stack, ACPs enable robust, modular, and high-performance generalist systems. Future research will focus on scaling these protocols to larger agent populations and adapting them for highly dynamic environments where task structures may need to evolve mid-execution.

Summary updated

BibTeX
@inproceedings{bhardwaj2025agent,
  author = {Devansh Bhardwaj and Arjun Beniwal 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