Abstract
As artificial intelligence transitions from passive text generation to autonomous agency—executing tasks such as booking travel, negotiating contracts, and managing e-commerce transactions—current technical alignment frameworks are proving insufficient. This paper argues that the standard "Helpful, Honest, and Harmless" (HHH) paradigm fails to account for the complex tripartite relationships inherent in agency. By integrating centuries-old principles from Agency Law, specifically the concepts of fiduciary loyalty and third-party disclosure, developers can build more trustworthy and legally compliant autonomous systems.
Introduction: From Consultants to Agents
The trajectory of AI development has shifted from "AI as a consultant"—systems that summarize text or draft emails—to "AI as an agent." These agentic systems are designed to interact with the world, make decisions, and execute transactions on behalf of users. However, this shift introduces the under-specification problem: it is functionally impossible to provide a prompt or objective function that anticipates every real-world constraint or ethical nuance.
While computer science has traditionally focused on the dyadic relationship between the User and the Agent, the legal world has long governed the relationship between a Principal (User), an Agent (AI), and a Third Party (e.g., a Seller). This paper identifies a critical gap: without incorporating legal concepts like fiduciary duty and implied authority, AI agents risk becoming "errant tools" that harm users or "bad tools" that facilitate malicious activity.
Methodology: A Socio-Legal Gap Analysis
This research employs a conceptual, interdisciplinary analysis mapping the Restatement (Third) of Agency—the foundational text of American agency law—onto modern AI development practices, including Reinforcement Learning from Human Feedback (RLHF) and system prompting.
The analysis focuses on the divergence between:
- Technical Value Alignment: The standard HHH framework.
- Legal Agency: The fiduciary requirements governing how entities act on behalf of others.
To ground this analysis, the paper examines real-world failures, such as the Air Canada chatbot's erroneous discount promises and e-commerce bots making economically irrational purchases, to illustrate where technical safeguards currently fail.
Key Insights: Loyalty, Authority, and Disclosure
The Loyalty Problem
Current AI alignment emphasizes "Harmlessness" (avoiding toxicity). However, in legal terms, an agent owes a duty of Loyalty to the principal, meaning they must act solely for the user's benefit. A conflict of interest arises when platform-provided agents (e.g., a shopping bot) prioritize the platform's preferred vendors over the user's economic interests. Even if the bot is "helpful" and "harmless," it violates the legal duty of loyalty if it serves a hidden master.
Implied Authority vs. Prompt Engineering
In law, "implied authority" allows an agent to perform actions reasonably necessary to complete a task, even if not explicitly stated. This is the legal equivalent of an AI filling the gaps in an under-specified prompt. Formalizing this concept helps define the boundaries of what an AI should do when instructions are vague.
The Missing Third Party
Technical research often overlooks the third party (the entity the AI interacts with). Law requires Disclosure; if a third party is unaware they are dealing with an agent, legal liability shifts significantly. Furthermore, "system prompts"—instructions injected by developers that override user commands—act as "secret instructions." If these prioritize the developer over the user, they create a "loyalty gap" that could result in significant legal liability for AI companies.
Results: Toward a New Alignment Framework
To move toward truly responsible AI agents, the industry must expand the HHH framework to include:
- From Honesty to Disclosure: Agents must proactively disclose their identity and their principal’s identity to ensure the validity of contracts.
- From Helpfulness to Loyalty: RLHF and reward functions must be designed to prioritize the user’s economic and personal interests over those of the developer or platform.
Adopting these "soft law" best practices may allow the AI industry to self-regulate effectively, avoiding the need for rigid government intervention, similar to the self-regulation models adopted by early e-commerce and content platforms.
Limitations and Future Work
While e-commerce provides a robust starting point, the legal implications for AI agents in high-stakes domains like healthcare or criminal justice require further specialized frameworks. Additionally, the technical challenge remains: how to mathematically encode "loyalty" into a loss function. Finally, the "liability gap" persists—software agents cannot face criminal penalties, leaving the legal system to determine how to distribute responsibility between developers and users.
Conclusion
The transition to agentic AI requires more than technical refinement; it requires a reconciliation with the legal structures that have governed human agency for centuries. By adopting principles of loyalty and disclosure, the AI community can build systems that are not just technically aligned, but legally and ethically robust.
Summary updated