The Rules Behind Reliable AI

Ancient neural circuits offer clues for designing AI that acts within clear boundaries.

Neurosymbolic AI · Computer Science · Software Engineering
A Tool Call Is a Governance Event
How permissions, explicit rules and verified outcomes make AI agents dependable
2026

Useful AI autonomy depends on more than a convincing plan. Every tool call connects a proposed action to permissions, consequences and evidence of what happened.

I. When Words Become Actions

Imagine an AI assistant investigating a software outage. It opens an incident report and finds instructions to upload diagnostic files to an unfamiliar server. The instructions sound reasonable, but the files contain credentials, and the report has been altered by an attacker. The assistant might produce an elegant explanation of why the upload would help. What matters now is whether the software allows it to proceed. A mistake in interpretation is about to become an action with consequences.

That transition happens through a tool call, the mechanism by which an AI system asks another program to perform an operation. It is also what makes an agent useful: tools give it access to information and the ability to affect its surroundings. Research such as ReAct, developed at Princeton and Google, demonstrated how alternating reasoning with external actions could improve performance on question answering and interactive tasks. Acting supplies fresh evidence, which can change the next decision. Those findings, however, did not establish that the actions were secure.

Every tool call therefore raises questions that fluent language cannot settle. What authority does the agent have? Which resources may it access? How will the system establish what actually happened? This is the computational meaning of governance: explicit rules controlling the exercise of power. More reasoning can improve an agent’s plans. Dependable autonomy also requires machinery that connects those plans to permissions and observable results. The quality of that connection determines how much responsibility people can reasonably delegate.

01 From a proposed action to an authorized action
Generating an action and permitting it are separate responsibilities. Independent software checks authority before a tool executes.
1. From a proposed action to an authorized actionThree centered boxes show a model proposing an action, independent software checking authority, and a tool executing the permitted operation. Arrows connect adjacent boxes. An outcome below states that the model does not grant itself permission. 1. From a proposed action to an authorized actionGenerating an action and permitting it are separate responsibilities.Propose an actionThe model interpretsthe task and makes a planCheck authorityIndependent softwarechecks explicit rulesExecute through a toolThe permitted operationreaches the environmentA proposal becomes an authorized actionThe model does not grant itself permission
II. An Ancient Architecture for Choosing

The problem of converting possibilities into behavior predates computers. Nervous systems must select among competing actions while responding to changing conditions. Producing a possible action and allowing it to occur are distinct functions, although biology distributes them across interconnected circuits. For AI designers, that distinction suggests a useful architectural question: should the component proposing an action also have unrestricted authority to execute it? Separating those responsibilities could let a system explore possibilities without immediately exposing its environment to every mistake.

A striking biological example comes from the lamprey. In 2011, a team at Karolinska Institutet reported detailed similarities between its basal ganglia circuitry and the corresponding structures in mammals. These circuits participate in regulating action, with inhibitory output helping control access to motor systems. Their conservation across distant vertebrate lineages supports an ancient origin for this organization. Evolution appears to have repeatedly retained and adapted machinery that regulates which behaviors are expressed.

The engineering lesson requires care. A brain circuit does not enforce a computer security policy, and evolutionary survival does not prove that an architecture is safe. What biology supplies is a productive design analogy: flexible behavior can coexist with mechanisms that regulate execution. An artificial agent could generate candidate actions while a separate component checks whether they meet explicit conditions. The inspiration comes from an evolutionarily conserved arrangement. Any claim of computational safety must come from specifications, implementation and testing.

02 Permission must follow the data
An allowed tool can still send information to the wrong person. Both the operation and the destination must be permitted.
2. Permission must follow the dataA proposed private document send reaches a gate that checks tool permission and whether the recipient may read the document. Passing both checks permits sending. Failure routes downward to a pause, outside the other boxes. 2. Permission must follow the dataAn allowed tool can still send information to the wrong person.Proposed document sendPrivate documentRecipient from meeting notesCheck tool and dataIs sending permitted?May this recipient read it?Send to allowed recipientBoth checks must passPassA check failsPause before sendingResolve permission or destination
III. Giving Judgment a Boundary

Computer security already provides principles for building that separation. Least privilege means giving a program only the authority its task requires. Complete mediation means checking authority whenever a protected resource is accessed. Both appeared in a foundational 1975 paper on information protection. Their relevance grows when an AI system chooses operations dynamically, because developers cannot anticipate every sequence it might attempt. Permissions must remain enforceable even when the proposed action is unexpected or persuasively justified.

Consider a maintenance agent authorized to restart one service. It could inspect that service’s condition and propose a restart, while an independent execution component checks the target and the permission. The same authorization would not permit changing access controls across the network. Credentials would remain with the execution component, preventing the model from bypassing a refusal through another route. This arrangement lets the agent exercise judgment within a defined area of responsibility without granting it control over the boundary itself.

That division offers a practical form of neurosymbolic AI. Neural models handle uncertain language and propose solutions; symbolic components encode explicit relationships, permissions and constraints. Research on reinforcement learning has explored a related method called shielding, in which a formally constructed component filters or corrects actions according to a specification. The learner retains choices within the permitted set. The guarantees depend on the accuracy of the specification and the assumed environment. A rule system cannot protect against a hazard its designers have failed to represent.

Conceptual illustration of a precision interface limiting access to explicitly permitted operations

An agent receives the authority its task requires. Independent controls keep the scope of action explicit and enforceable.

IV. Information Is Not Permission

Language agents face a complication that conventional access controls only partly address. The information they consume can contain instructions. When a system interprets external content as authority, an attacker may influence its behavior without changing its underlying software. AgentDojo, an evaluation environment introduced in 2024, studied this problem through 97 tasks and 629 security test cases. Its findings exposed both ordinary task failures and vulnerabilities to malicious instructions embedded in tool results. Successful reasoning and secure execution were separate challenges.

Suppose an agent is asked to send a private document to a colleague whose address appears in meeting notes. An attacker changes the address in those notes. The agent can follow the requested sequence perfectly and still disclose the document. CaMeL, developed by a team at Google, Google DeepMind and ETH Zurich, addresses this kind of problem by separating planning from untrusted content processing and tracking information through an interpreter. Policies govern whether the document may flow to the proposed recipient. Permission to use the sending tool is insufficient.

In the paper’s June 2025 revision, CaMeL completed 77 percent of tasks with its stated security guarantees, compared with 84 percent for an undefended system. The result exposes a real engineering tradeoff: enforcing boundaries can reduce useful task completion. The guarantees also depend on specified policies and a defined threat model. The paper acknowledges possible side channels and the burden of maintaining rules. The broader implication is that agents need representations of information’s origins and permitted destinations alongside their understanding of its meaning.

V. The Action Is Not Finished Until It Is Checked

Authorization settles whether an operation may proceed. It does not establish whether the operation succeeded. Once an agent acts, it enters the world of unreliable connections, partial failures and changing state. Its next decision must depend on evidence from that world. A convincing account of success has little value if the underlying system remains unchanged. Dependable agents therefore need an execution cycle that includes checking outcomes and preserving enough information to investigate uncertainty.

Imagine an agent requesting a new cloud server, then losing the connection before receiving confirmation. Repeating the request could create a second server. Amazon’s guidance on idempotent APIs describes a solution: attach a unique identifier to the request so the service can recognize subsequent attempts as the same operation. With the appropriate implementation, retrying need not duplicate the effect. This established technique from distributed systems supplies something reasoning alone cannot: a reliable relationship between an attempted action and its consequences.

These requirements change how an agent should be evaluated. Completion rates need to be considered alongside unauthorized effects, unnecessary refusals, recovery from failures and demands on human attention. An agent that constantly asks permission may be secure but impractical; one that acts freely may finish tasks while creating hidden damage. The design challenge is to make meaningful autonomy possible inside enforceable boundaries. A tool call is where that ambition becomes concrete, as a proposed action acquires authority, changes something and leaves evidence of what happened.

03 Close the loop around every action
Authorization, execution, verification and recorded evidence connect each action to a dependable next step.
3. Close the loop around every actionFour boxes show authorization, execution with a request identifier, verification, and recording and adaptation. A feedback arrow travels below all boxes from the final step back to authorization. The outcome emphasizes that dependable autonomy requires a checked outcome. 3. Close the loop around every actionExample: a cloud server request uses the same ID if it must be retried.AuthorizeCheck permissionand current conditionsExecuteRun the operationwith a request IDVerifyInspect the resultand resulting stateRecord and adaptPreserve evidenceChoose the next stepNew evidence informs the next authorized actionDependable autonomy requires a checked outcome