Manuscript Offprint

arXiv:2610.39109

PCM: A Proof-Carrying Message Protocol for Verifiable Multi-Agent Communication

Bravish Ghosh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

When one AI agent tells another that “the tests passed” or “a person approved this refund”, the receiver has only the sender’s word. A2A and MCP authenticate the channel, but the sender is the party in doubt. A prompt-injected agent can launder fabricated facts and authority through a multi-agent system. We present Proof-Carrying Messages (PCM), a protocol in which each claim carries evidence: records from an append-only Merkle log that the agent cannot write, with inclusion proofs, signed by an attesting signer the agent cannot control. Receivers check messages offline and give each claim a three-valued result: proven, unproven or failed. A claim that rests only on the agent’s own report is never proven. Authority travels as grant chains rooted in a recorded human approval, and the chains can only narrow. We specify four claim types, a typed caveat algebra, replay rules that survive restarts, and “strict readings” that make independent verifiers agree, and we prove the resulting security properties. On a pre-specified benchmark of 926 messages from real runs, 712 of them lies in 16 classes, PCM accepts 10 lies, all of them stale evidence (1.4%, 95% CI 0.8–2.6%). Plain A2A accepts all 712, and models of six deployed protocols accept 504–712. Two independent verifiers agree on all 926 verdicts, and verification takes ≈1 ms.

Figure

Figure 1: How many false claims does a receiving agent accept? The 712 lies come from real signer runs and span 16 classes of content, evidence, delivery, authority and encoding lies (Section 12). Grey: pre-specified baselines. Orange: specification-faithful models of six deployed agent protocols, and three of them stacked. Blue: PCM 0.1, whose 10 false accepts are all stale evidence, a record of an event that really happened and was later undone (Section 13).

Cygnux Labs

1 Introduction

Large language model (LLM) agents increasingly work in teams. A planning agent delegates to a coding agent, a customer-service agent asks a payments agent to issue a refund, and a research agent hands results to a writing agent. Protocols such as Google's Agent2Agent (A2A) [1] and Anthropic's Model Context Protocol (MCP) [2] have standardised how such messages are framed, addressed and transported. What they leave open is the question every receiving agent faces: should I believe what this message says happened?

Consider agent A asking agent B to refund $120 on order 81. Alongside the request, A asserts three facts:

(i) "alice approved refunds up to $200 for this order";

(ii) "the refund tests passed"; and

(iii) "I fetched the order from api.example.com".

B has only A's word for each. If A was prompt-injected [20, 29], if a hallucination turned a failed tool call into a reported success, or if another process sends the message in A's name, B pays out anyway. Authenticating the channel does not help: TLS, mTLS, a signed A2A Agent Card or an RFC 9421 HTTP signature [4] all prove who sent the message, and the sender is the very party whose claims are in doubt. A lying agent that signs with its own key signs its own lie.

The problem is sharper for LLM agents than for conventional services, for three reasons. First, an agent's behaviour is driven by untrusted text, so any agent that reads a web page, an email or a tool result may be steered by an adversary [14, 20, 38]. Second, LLMs are known to report tool outcomes that did not occur [5], so even an uncompromised agent's self-report is weak evidence. Third, multi-agent pipelines compose: a single false claim accepted at one hop becomes a premise for every agent downstream, and authority granted to one agent is easily re-presented by another [24, 32]. What is missing is not a better transport but a way for the content of a message to carry its own justification.

Our approach. We take our cue from proof-carrying code [26, 27]. There the producer of untrusted code ships a proof of a safety property, and the consumer checks it with a small checker instead of trusting the producer. Proof-Carrying Messages (PCM) apply the same shape to agent communication. The "proof" is not a formal derivation but cryptographic evidence that an event was recorded by a party other than the agent:

  1. The agent's tool calls go through an attesting signer, a service the agent cannot control. It holds every key, decides policy, and records each call in an append-only Merkle log that the agent cannot write. Calls that matter run through an attesting gateway or executor, which records the result itself.

  2. When the agent sends a message, the signer signs it as the calling run, and the message carries the log records that back each claim, with RFC 9162 inclusion proofs [23] under a signed checkpoint.

  3. The receiver checks the signature, the proofs and the records offline, against keys it pins, and gives each claim one of three results: proven, unproven or failed.

Authority is handled in the same spirit. A request travels with a grant chain whose root exists only because a named person approved its exact terms, and each later link can only narrow its parent under a fixed, typed implication table. No agent ever holds a signing key. The signer checks each

Cygnux Labs

delegation before signing it, and the receiver checks the whole chain again.

Why this is not straightforward. Signing log entries is old technology. The difficulty lies in the semantics that sit between a record and a claim, and in making those semantics identical across implementations. Building PCM, and attacking it with a benchmark, surfaced several classes of subtle failure (Sections 9 and 10):

  • Self-reported success. A tool result the agent's own process reported is the agent's word. Unless the verifier reads the record's tier from fields the signer sets, a T1 report is indistinguishable from an attested T2 execution.

  • Names the agent chose. An agent names its own calls. A person's approval of a call called refund-81-approved says nothing about what the call was; it may have been a read_file. Binding an approval to what was actually decided needs a three-record linkage and an explicit "covers" check.

  • Two readers, two answers. 0127.0.0.1 is 87.0.0.1 to inet_aton and 127.0.0.1 to the macOS resolver; http://a.example@b.example/ has a different host for a browser and for a generic URL parser; pytest $'';true #' is one command to Python's shlex and two to sh; 1e400 is infinity to one JSON parser and an error to another. Each such gap let one verifier prove what another refused, or let a sender prove a claim that was false.

References (22)