What Makes an AI Agent Trustworthy

Giving AI tools is only the beginning of teaching it to act responsibly.

Neurosymbolic AI · Computer Science · Software Engineering
From API Access to Accountable Action
Reliable AI needs feedback, explicit rules and evidence that its actions worked.
2026

Reliable AI needs feedback, explicit rules and evidence that its actions worked.

I. The Distance Between Knowing and Doing

A robot asked to help clean a spilled drink faces a problem that a chatbot can easily overlook. Knowing that a sponge would help does not mean a sponge is within reach. In Google’s SayCan project, a language model identified useful actions while another component estimated whether the robot could perform them in its surroundings. When picking up a sponge was not feasible, the system could choose to find one first. The apparent simplicity of that adjustment concealed a consequential design choice: the machine’s next move depended on both linguistic knowledge and evidence about its situation. The project demonstrated how those judgments could work together.

The same difficulty confronts AI agents operating entirely inside computers. These systems use tools to retrieve information and change things, often through an application programming interface, or API. An interface supplies a vocabulary of available operations. It does not automatically tell an agent which operation fits the circumstances, whether it has permission to proceed or whether the requested change actually happened. Those are separate computational problems. Connecting a language model to more tools expands its reach, but dependable capability requires mechanisms for deciding when and how to use them.

Biology provides a useful starting point. Animals coordinate behavior through feedback, prediction and interacting levels of control. A DeepMind review published in Nature Communications traced connections between those arrangements and artificial systems that control movement. For software engineers, the useful inheritance is a set of organizational principles: observe consequences, coordinate specialized skills and revise behavior when conditions change. Evolution does not certify a software architecture as safe. It offers evidence that adaptive behavior can emerge from structures that continually connect decisions to their effects. The review explores that connection.

II. Why an Agent Needs to Check Its Work

Consider an agent repairing a computer program. It proposes an edit, runs a test and receives an error. That error becomes evidence about the attempted repair. The agent must inspect it, revise its explanation of the problem and choose another action. If it simply continues as though its first edit worked, every subsequent decision rests on a false premise. This illustrates the purpose of a feedback loop: the system repeatedly compares what it intended with what it can observe, allowing the consequences of one action to influence the next.

The ReAct method, introduced in 2022, organized language agents around this recurring exchange. Reasoning, actions and observations were interleaved, so information retrieved from the environment could reshape a developing plan. The approach gave a model opportunities to encounter facts that were absent from its initial answer. Adaptation could happen during a task without retraining the underlying neural network. The changing element was the agent’s working understanding of its situation and the sequence of actions it selected. The original research examined this arrangement across information seeking and interactive tasks.

A feedback loop is only as useful as the evidence entering it. In the programming example, a passing test establishes that the code satisfied that test, not that every possible defect has disappeared. The system therefore needs a clear account of what each observation demonstrates and what remains unknown. This is an engineering version of a fundamental control problem: an agent acts with incomplete information, and its internal picture must remain open to correction. Reliable action requires enough uncertainty to keep checking, alongside enough evidence to move forward.

01 Capability grows through feedback
Each result becomes evidence for the next decision. A code repair is checked before the plan continues.
Capability grows through feedbackEach result becomes evidence for the next decision. A code repair is checked before the plan continues. Capability grows through feedback Evidence connects the next decision to what actually happened Propose a repair Choose a code edit Act through a tool Apply the edit Observe the result Run a relevant test Use the evidence to revise the plan Progress depends on observed results
III. Giving Flexible Intelligence Firm Rules

A scheduling assistant makes the value of explicit rules easy to see. A language model can interpret a request for an afternoon meeting and propose a time. A separate checker can calculate whether the proposed interval overlaps another appointment or falls outside working hours. If the proposal fails, the checker can identify the conflict and return it for revision. Here, the model handles the flexibility of ordinary language while conventional computation handles a requirement that admits a precise answer. Both components contribute to the same decision.

This division is one practical form of neurosymbolic AI. Neural systems learn patterns from data; symbolic systems manipulate explicit representations and rules. In the LLM Modulo framework, a language model generates candidates and external verifiers check them, supplying feedback when necessary. A 2024 evaluation across four scheduling domains reported improvements over direct prompting. The architecture’s correctness guarantees depend on the checks being sound and covering the relevant requirements. It also cannot promise that the model will eventually generate a satisfactory candidate. The evaluation makes those dependencies explicit.

The scheduling assistant still faces a harder question: whether its formal description matches the world. A conflict checker can be perfectly implemented while consulting an outdated calendar. This is where engineering effort shifts from making a model sound convincing to defining what success requires. Developers must specify prerequisites, expected changes and conditions that must remain true. They must also establish how those facts are observed and refreshed. Symbolic verification supplies firm conclusions within a defined boundary; dependable systems make that boundary visible rather than allowing certainty to spread beyond it.

An ivory maze with a teal route around solid barriers, representing flexible decisions within explicit rules

Flexible choices become dependable when explicit rules constrain which paths an agent can take. Conceptual illustration.

IV. Information Is Not Permission

Imagine an assistant reading a document that contains an instruction to send confidential material to an outside address. The assistant needs to understand the document, but the document’s contents should not gain the authority of the person who assigned the task. This is the central difficulty of prompt injection: language encountered as data can be interpreted as a command. The 2024 AgentDojo benchmark investigated this vulnerability through 97 tasks and 629 security test cases, showing how content returned by tools could divert agents from their intended work. The benchmark made that boundary testable.

A system called CaMeL, developed by teams at Google, Google DeepMind and ETH Zurich, approaches the problem through software architecture. It separates the control of a task from untrusted data and enforces policies governing how information can pass through tool calls. In the document example, understanding an address would not itself confer permission to send information there. The important computational distinction is between representing an instruction and possessing authority to execute it. A model’s interpretation becomes one component of a system whose execution rules are enforced separately. The CaMeL paper describes this approach.

Such boundaries carry costs. Restrictions can obstruct legitimate work, and requests for human intervention can become burdensome. CaMeL’s authors acknowledge policy maintenance, possible side channels and misleading outputs that fall outside the protections being enforced. These limitations make the design more informative: it becomes possible to identify which failures an architecture addresses and which remain. For accountable agents, permission must have a concrete representation that software can inspect. Understanding a request, predicting that it will succeed and being authorized to carry it out remain distinct judgments.

02 A plausible action must pass separate checks
A scheduling proposal must satisfy feasibility and permission checks before execution.
A plausible action must pass separate checksA scheduling proposal must satisfy feasibility and permission checks before execution. A plausible action must pass separate checks Example: a scheduling assistant Propose Choose a time Feasibility Is the slot free? Permission May it book for you? Execute Create the meeting If a check fails, revise or request clarification before acting Useful, feasible and authorized are distinct
V. Knowing What Actually Happened

Suppose an agent places an order, but the connection fails before confirmation arrives. The agent cannot tell from the missing reply whether the order was rejected or accepted. Repeating the request might create a second order. Distributed computing has long confronted this ambiguity through techniques such as idempotency: a service recognizes a repeated request identifier and avoids applying the same intended operation again. Amazon’s engineering account explains how this makes retries safer. The problem reveals why an agent needs tools designed to handle uncertainty about execution. The account details the mechanism.

An accountable design would preserve the order’s identifier, check its status and distinguish confirmed completion from unresolved uncertainty. More broadly, an agent’s record should connect the original request to its authorization, attempted actions and observed results. Evaluation should examine those results as well. The original tau benchmark compared final database states with intended outcomes and measured success across repeated trials. That approach tests whether an agent consistently produces the required change, rather than merely giving a persuasive account of its work. The benchmark paper formalized this distinction.

The larger design opportunity lies in combining these principles. Feedback keeps decisions connected to evidence. Explicit rules make requirements testable. Permission boundaries constrain execution, while reliable tool contracts make failures manageable. Together, they give flexible models a structure within which greater autonomy can become useful. The evolutionary connection is strongest in this organization of behavior, where specialized mechanisms cooperate and consequences shape the next move. For the agent waiting on an order confirmation, intelligence includes recognizing that the outcome is still unknown and having a dependable way to find out.

03 An attempted action is not a verified outcome
An order is authorized, executed and checked. Uncertain results require investigation or a safe retry.
An attempted action is not a verified outcomeAn order is authorized, executed and checked. Uncertain results require investigation or a safe retry. An attempted action is not a verified outcome Example: placing an order Authorize Approve one order Execute Use a request ID Verify Check order status Record Keep the evidence Confirmed Uncertain Resolve before repeating Check status or retry safely Reuse request ID Verified outcome Act within authority and verify what changed

SayCan. Google Robotics and Everyday Robots, 2022.

Hierarchical motor control in mammals and machines. DeepMind, Nature Communications, 2019.

ReAct: Synergizing Reasoning and Acting in Language Models. Research project, 2022.

Robust Planning with Compound LLM Architectures: An LLM Modulo Approach. Research paper, 2024.

AgentDojo. NeurIPS, 2024.

Defeating Prompt Injections by Design. Google, Google DeepMind and ETH Zurich, June 2025 revision.

Making retries safe with idempotent APIs. Amazon Builders’ Library, 2021.

Tau benchmark. Research paper, 2024.