Infrastructure for AI Agents

Alan Chan, Kevin Wei, Sihao Huang, Nitarshan Rajkumar, Elija Perrier, Seth Lazar, Gillian K Hadfield, Markus Anderljung

TL;DR

Directly training or prompting AI agents to behave safely and reliably is essential, but inherently insufficient on its own. Drawing analogies to internet protocols like HTTPS and TCP, this paper introduces the concept of agent infrastructure: external technical systems and shared protocols designed to mediate how agents interact with each other, digital services, and human institutions. By structuring external environments rather than just model weights, agent infrastructure provides practical mechanisms for attribution, interaction control, and incident response.

What Problem Does This Paper Address?

Most current AI safety and alignment research focuses on system-level interventions—modifying the agent itself via fine-tuning, system prompts, RLHF, or unlearning. However, when autonomous agents execute long-horizon, open-ended tasks in the real world (e.g., booking flights, handling enterprise workflows, trading assets), internal safeguards alone cannot guarantee robustness against prompt injections, collusion, or goal misgeneralization.

Human society does not rely solely on driver education to prevent car crashes; it relies heavily on road infrastructure: traffic lights, roundabouts, speed cameras, and vehicle registrations. Similarly, the authors argue that autonomous agents require an analogous digital layer of external mechanisms to govern interactions, enforce accountability, and handle failures safely.

Methods

This is a conceptual and foundational framework paper that formalizes agent infrastructure and develops a structured catalog across three primary functions:

  1. Attribution (Who did what?):
  2. Identity Binding: Cryptographically authenticating and associating an agent’s actions with an accountable legal entity (individual or organization) without necessarily exposing private personal data.
  3. Certification: Verifiable, revocable claims about an agent instance (e.g., tool access privileges, autonomy level, privacy standards).
  4. Agent IDs: Unique, tamper-resistant instance identifiers linking agents to certifications and parent processes.
  5. Interaction (How do agents engage?):
  6. Agent Channels: Isolating agent network traffic from human web traffic (via dedicated APIs, IP blocks, or protocols) to reduce attack surfaces and enable swift mitigation during automated worm propagation.
  7. Oversight Layers: Monitoring and intervention interfaces where humans or trusted automated monitors can inspect, guide, or veto agent actions.
  8. Inter-Agent Communication Protocols: Structured protocols (e.g., Google’s A2A) supporting negotiation, coordination, and broadcast messaging between heterogeneous agents.
  9. Commitment Devices: Mechanisms like smart contracts or escrow setups that allow agents to make credible, verifiable commitments to avoid coordination traps (e.g., public goods provision, mutual restraint).
  10. Response (How do we fix failures?):
  11. Incident Reporting: Systematic reporting pipelines that accept machine-filed reports to detect emergent harms or locally run rogue agents.
  12. Rollbacks: Standardized runtime mechanisms and protocols (similar to credit-card chargebacks or database transaction rollbacks) that can undo an agent’s unauthorized or hijacked actions.

Datasets

Not discussed in the paper. (As a conceptual taxonomy and systems-governance framework, the paper does not introduce or evaluate empirical datasets or model benchmarks.)

Key Insights and Ideas

  • Shaping the environment as a safety lever: Restricting or conditioning an agent’s interaction affordances externally bounds its potential real-world harm, bypassing the difficulty of obtaining formal behavioral guarantees from black-box neural networks.
  • The infrastructure analogy to the Internet: Just as secure commerce required the transition from unencrypted HTTP to verified HTTPS, trustworthy autonomous agent ecosystems will not materialize without identity binding, standardized agent channels, and verifiable credentials.
  • Tackling coordination failure through commitment: AI agents competing or negotiating with one another may face prisoner's dilemmas or "races to the bottom" in safety. External software commitment devices (such as smart contracts) offer concrete ways for rational agents to achieve cooperative equilibria.
  • Mitigating "Agent Worms": Dedicated agent channels and rollback capabilities allow network operators to sever or reverse machine-speed prompt-injection contagion without disrupting human users.

Key Results

Because this is a conceptual and agenda-setting paper, it does not present empirical performance metrics. Instead, its qualitative contribution is an architectural taxonomy for multi-agent governance, accompanied by concrete design dimensions, adoption roadmaps, and an extensive catalog of open research questions across computer systems, cryptography, law, and economics.

Limitations and Future Work

The authors highlight several major challenges and failure modes inherent to infrastructure:

  • Adoption and Network Effects: Infrastructure like inter-agent protocols or Agent IDs provides little value unless broadly adopted. Dominant firms may push proprietary, walled-garden protocols.
  • Incentives and Moral Hazard: Widespread rollback mechanisms could disincentivize developers or users from implementing rigorous oversight, shifting financial or operational risk onto rollback operators.
  • Protocol Lock-In: As seen historically with BGP routing vulnerabilities, flawed or insecure infrastructure standards can become entrenched and exceptionally difficult to replace once deployed globally.
  • Privacy and Surveillance Risks: Centralized identity binding and persistent IDs could undermine legitimate anonymity, whistleblowing, and free expression if not paired with strong cryptographic primitives (e.g., zero-knowledge personhood credentials).

Future work must explore the establishment of multistakeholder standards bodies (akin to the IETF or W3C) dedicated to standardizing and updating agent infrastructure.

Summary updated

BibTeX
@article{chan2025infrastructure,
  author = {Alan Chan and Kevin Wei and Sihao Huang and Nitarshan Rajkumar and Elija Perrier and Seth Lazar and Gillian K Hadfield and Markus Anderljung},
  title = {{Infrastructure for AI Agents}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=Ckh17xN2R2},
}
Figure