Responsible AI Agents

Deven R. Desai, Mark O. RiedlarXiv 2025 · DOI

Introduction

The transition from passive Large Language Models (LLMs) to "agentic" AI—software capable of executing real-world tasks via APIs—marks a significant shift in the technological landscape. While public discourse often oscillates between utopian visions of super-intelligent assistants and dystopian fears of rogue software, the reality of AI safety is grounded in the "boring" but robust infrastructure of the modern internet. This paper, a collaboration between legal and computer science scholars, argues that the mechanisms for controlling AI agents already exist within the principles of distributed computing and agency law.

The Agentic Shift and the Alignment Problem

Traditional AI interaction involves generating text or images. AI agents, however, are designed to act: booking flights, managing financial portfolios, or interacting with social media. This shift introduces a complex "alignment problem." How can we ensure that an agent’s actions remain within the bounds of a user’s intent without unintended "side effects"? For instance, a travel agent AI might book an exorbitantly priced flight because the user failed to specify a budget limit.

The authors identify a fundamental disconnect between how different fields view this problem:

  1. Computer Science: Views an agent as a rational actor maximizing a performance measure based on a specification.
  2. Law: Views an agent through "agency law," a fiduciary relationship where a human (the principal) is responsible for the actions of another.

Bridging this gap is essential to preventing "rogue commerce" while avoiding the legal trap of granting AI "personhood"—a move that would allow corporations to externalize the costs of software failures and dodge liability.

Technical Guardrails: The API as a Gatekeeper

Contrary to the myth of the "always-on" rogue daemon, AI agents are constrained by the physical and economic realities of computing. The paper highlights several existing technical "frictions" that serve as natural guardrails:

  • API Mediation: Agents cannot act in a vacuum; they must interact with other software through Application Programming Interfaces (APIs). These interfaces require authentication, credit card details, and logins. They also enforce state-change limits and include built-in mechanisms for chargebacks or declines. The infrastructure of e-commerce is already designed to handle "bad actors," whether they are bots or humans.
  • Economic Constraints: Every action taken by an LLM-based agent has a literal cost in tokens, energy, and compute time. These costs act as a barrier to uncontrolled, autonomous behavior.
  • Value Alignment: While techniques like Reinforcement Learning from Human Feedback (RLHF) help align models with human values, they are only part of the solution.

Beyond Helpfulness: The Loyalty Gap

Current alignment research focuses on making AI "helpful, honest, and harmless." However, the authors argue this is insufficient for true agency. In legal terms, an agent must demonstrate loyalty.

A "helpful" AI might find a product for a user, but a "disloyal" AI might prioritize a vendor that has a hidden partnership with the AI's developer. This conflict of interest is often embedded in the "system prompt"—the developer's instructions that frequently override the user's specific requests. True responsibility requires addressing this "Chain of Command" and ensuring the agent acts in the best interest of the user, not just the developer.

Ex Ante Explainability

A core proposal of the paper is the shift from post hoc to ex ante (pre-action) explainability. Most Explainable AI (XAI) attempts to explain why a model made a decision after the fact. For agents performing non-reversible actions, this is too late.

The authors propose a framework where agents must provide a "pre-explanation" or a visualization of their plan before execution. For example, an agent might state: "I plan to spend $150 on FedEx because it is the only way to meet your 9 AM deadline. Proceed?" This turns alignment into a continuous, transparent conversation between the human and the software.

Liability and the Myth of Personhood

The paper strongly opposes granting AI legal personhood. Citing the Moffatt v. Air Canada case—where an airline unsuccessfully argued its chatbot was a separate legal entity—the authors warn that personhood would serve as a "get out of jail free" card for corporations. Maintaining a clear line of human liability is essential. If a company’s software makes a mistake, the company, not the "agent," must be held responsible.

Conclusion and Future Work

The path toward responsible AI agents does not require a total overhaul of existing law or the invention of entirely new safety paradigms. Instead, it requires the rigorous application of computer science principles—leveraging API gatekeepers and economic constraints—combined with legal frameworks that prioritize human liability and agent loyalty.

Future research must address the "Black Box" problem, as LLM-generated rationales are not always faithful to the model's internal weights. The authors call for new benchmarks that test for conflicts of interest and loyalty, ensuring that as AI moves from words to actions, humans remain firmly in control.

Summary updated

BibTeX
@misc{desai2025responsible,
  author = {Deven R. Desai and Mark O. Riedl},
  title = {{Responsible AI Agents}},
  year = {2025},
  eprint = {2502.18359},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.18359},
}
Figure