AEP:Towards Trustworthy Agent Communication, Networking, and Collaboration

Yuhao Wang, Shengfang Zhai, Xinyu Zhou, Guanghao Jin, Wenjie Qu, Huichi Zhou, Hao Liu, Jiaheng Zhang, Jun Wang, Linyi YangarXiv 2026

TL;DR

Imagine a world where your personal AI agent needs to collaborate with a stranger’s agent to solve a complex task. AEP (Agent Exchange Protocol) is the "diplomatic protocol" that allows these agents to discover each other, negotiate, and share knowledge safely without leaking your private data or falling for malicious tricks. It moves us from simple "chatting" between bots to a sophisticated, auditable exchange of reusable "context assets."

What Problem Does This Paper Address?

We are entering an era of Open Private Agent Networks. These are decentralized ecosystems where agents owned by different people or companies—each with their own private memories and specialized tools—need to work together.

The challenge is a classic "trust vs. utility" dilemma. If agents are too open, they leak private information (privacy risk) or accept "poisoned" data from malicious peers (security risk). If they are too closed, they remain information silos, unable to leverage the collective intelligence of the network. Existing protocols either assume everyone knows everyone (not true in open networks) or rely on a "shared memory" that assumes a level of trust that simply doesn't exist between independent parties.

Comparison of AEP against existing paradigms and protocols.

As shown in the table above, existing solutions like simple request-centric A2A (Agent-to-Agent) or broadcast systems fail to provide a complete package of discovery, safety, and evidence-based trust.

Methods

The authors introduce a new paradigm called Open Private Agent Collaboration (OPAC) and instantiate it through the Agent Exchange Protocol (AEP).

AEP isn't just one algorithm; it’s a four-layer stack designed to handle the messy reality of decentralized collaboration:

  1. AEP-Routing: This is the "discovery" layer. It distinguishes between the physical topology (who is actually connected) and an agent's local cognitive topology (who the agent thinks is out there and trustworthy). It uses "constrained gossip" to find relevant peers based on semantic needs.
  2. AEP-Coordinate: This layer turns a vague "I need help" into a structured list of "demands." It manages the negotiation process, ensuring that agents only ask for what they truly need.
  3. AEP-Exchange: The "Safety Gate." Before any data moves, this layer decides on a release mode: share the raw data, share a sanitized/summarized version, or—if it's a skill—just run it locally and send back the result.
  4. AEP-Ledger: The "Black Box." It records interaction evidence in a signed, append-only ledger. This allows agents to derive trust scores from actual past behavior rather than just blind reputation.
The AEP framework distinguishes between physical connectivity and an agent's local cognitive view, using four sub-protocols to manage collaboration.

Datasets

The researchers evaluated AEP using a multi-agent benchmark adapted from MultiAgentBench. They simulated environments with varying network scales (4 to 64 benign agents) plus malicious actors. The evaluation covered three distinct domains:

  • Research: Distributed knowledge gathering.
  • Coding: Collaborative code generation.
  • Daily Service: Completing tasks using personal context and private memory.

The simulation used virtual HTTPS transport to realistically emulate network issues like latency, packet loss, and agents joining or leaving the network.

Key Insights and Ideas

  • From Messages to Assets: Instead of treating collaboration as an exchange of transient chat messages, AEP treats it as an exchange of Context Assets (memory fragments, tool results, skills). These are reusable and subject to much stricter access control.
  • Cognitive vs. Physical Topology: In a decentralized world, no one has the "God view" of the network. AEP acknowledges this, letting agents build their own "cognitive maps" of who is useful and who is dangerous.
  • Evidence-Based Trust: Trust isn't a static setting; it’s derived from the ledger. If an agent provides high-quality help, its trust score goes up. If it tries to inject malicious prompts, it gets blacklisted based on auditable evidence.
  • The "Middle Ground": AEP finds a sweet spot between the isolation of simple request-response and the vulnerability of globally shared memory.

Key Results

The results are quite striking, especially regarding safety:

  • Utility: AEP consistently achieved the highest task scores (often 99%+ in Coding and Research), significantly outperforming standard broadcast and A2A baselines.
  • Privacy: While baselines suffered from 30-40% privacy leakage, AEP achieved 0.00% privacy leakage across all tested scenarios.
  • Security: AEP showed near-zero injection success for malicious actors. Even when 40% of the agents in the network were malicious, AEP only saw a 3.5% drop in task scores, whereas baselines essentially collapsed.
  • Efficiency: While AEP uses more tokens than simple A2A (due to safety checks and discovery), it is far more efficient than broadcasting, which wastes massive amounts of bandwidth.

Limitations and Future Work

The authors note that their study was conducted in controlled benchmark environments. Real-world deployments might face even more extreme heterogeneity and unpredictable agent behaviors.

Currently, the protocol relies on manually set thresholds for things like routing and trust updates. The authors suggest that adaptive policy configuration—where agents learn to tune their own safety and collaboration parameters—is a promising direction for future research. They also emphasize that while AEP provides the mechanism for safe sharing, it must be complemented by robust human-configured governance and clear access control policies.

Summary updated

Abstract

As privately owned agents become increasingly capable, collaboration in open agent networks is limited by partial topology knowledge, ownership boundaries, and the risk of exposing or contaminating private context. Existing agent-to-agent protocols are useful when collaborators are already known, while shared-memory and broadcast-based systems rely on visibility and trust assumptions that do not hold in decentralized, low-trust environments. We introduce Open Private Agent Collaboration (OPAC), an asset-centric paradigm for cooperation among private agents with open membership, partial observability, and ownership-aware access control. Rather than treating collaboration as the exchange of final responses, OPAC enables agents to selectively discover, exchange, audit, and integrate policy-controlled context assets. This shifts the unit of cooperation from transient messages to reusable external context, while keeping disclosure and integration subject to privacy and security constraints. We instantiate OPAC with the Agent Exchange Protocol (AEP), a decentralized framework that combines semantic discovery, demand-driven coordination, safety-gated asset exchange, and ledger-backed evidence derivation. By distinguishing physical topology from each agent's local cognitive topology, AEP allows agents to discover task-conditioned collaborators under an unknown network structure, release only admissible assets, and update future cooperation decisions from auditable interaction evidence. AEP therefore provides a middle ground between pure request-response interaction and globally shared memory, offering a practical foundation for trustworthy agent-native networking through selective, auditable reuse of distributed context assets.
BibTeX
@misc{wang2026aep,
  author = {Yuhao Wang and Shengfang Zhai and Xinyu Zhou and Guanghao Jin and Wenjie Qu and Huichi Zhou and Hao Liu and Jiaheng Zhang and Jun Wang and Linyi Yang},
  title = {{AEP:Towards Trustworthy Agent Communication, Networking, and Collaboration}},
  year = {2026},
  eprint = {2611.29598},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29598},
}
Figure