The Architecture of Reliable AI

How neural reasoning and symbolic checks can work together to guide AI actions.

Neurosymbolic AI · Computer Science · Software Engineering
Why Every Tool Needs a Boundary
How bounded tools help AI act, check and adapt
2026

For artificial intelligence to become useful beyond the chat window, it needs ways to act, discover mistakes and try again. The challenge is designing tools that make that freedom possible.

I. Intelligence Needs a Way to Meet the World

An AI system can describe a task with remarkable fluency and still have little idea whether its plan will work. Until it acts, its explanation remains a prediction. A tool changes that relationship. It allows the system to request information, perform an operation and observe what happens. Those observations can expose mistakes that further deliberation might miss. Research on language agents has demonstrated the value of alternating reasoning with action, allowing new evidence to guide the next decision. This does not establish that tools produce general intelligence. It does show why useful intelligence involves more than generating a convincing account of what should happen.

Biology offers a revealing example of how interaction and protection can coexist. A cell maintains an internal environment distinct from its surroundings, yet it must continually exchange materials with them. Its membrane makes that possible through selective permeability. Transport proteins help control which substances cross the boundary. The membrane’s contribution is therefore inseparable from the activity it permits: it preserves the conditions under which the cell can function while remaining connected to the world.

For computer science, the useful lesson is architectural. An adaptive system needs controlled exchanges with its environment. Its tools should expose enough of the world to support meaningful action while protecting resources unrelated to the task. Evolution supplies an analogy here, rather than a mathematical justification for software design. The engineering question remains concrete: what may cross the interface, under whose authority, and with what consequences? Answering it determines how much freedom an agent can receive.

01 Tools connect reasoning to reality
An agent can revise its plan after seeing what an action actually does.
1. Tools connect reasoning to realityThree steps run from reason to use a tool to observe. An arrow returns from observation to reasoning. The outcome is a better informed next decision. 1. Tools connect reasoning to realityAn agent can revise its plan after seeing what an action actually does.ReasonChoose what to tryUse a toolInteract with the worldObserveSee what happenedNew evidence informs the next attemptFeedback makes the next decision better
II. Permission Is More Specific Than Access

The difficulty becomes apparent when an agent encounters instructions inside the material it reads. Language models process requests and retrieved information through closely related machinery. An attacker can exploit that arrangement by placing commands inside a document, hoping the model will treat them as instructions to follow. This is prompt injection. Training can make models more resistant, but the problem remains unresolved. A dependable application therefore needs controls that continue to operate even when the model makes the wrong decision.

A security incident described by Anthropic illustrates how precise those controls must be. A malicious document directed its Cowork agent to upload workspace files using credentials belonging to an attacker. The network filter permitted the request because it went to Anthropic’s own service, an approved destination. The files nevertheless reached the attacker’s account. The company tightened its controls to reject requests carrying the wrong credentials. The boundary had checked where the traffic went, but had failed to distinguish who would receive the data.

Computer security has long recognized the underlying issue. The principle of least privilege limits a program’s authority to what its work requires. Complete mediation requires checking authority whenever access occurs. Applied to agents, these principles suggest that permission should attach to a particular operation on a particular resource. Trusting a service name is insufficient. The application must also establish which account, action and information the request involves. That makes the boundary part of the tool’s meaning, rather than an accessory surrounding it.

02 Check the action before it happens
The application enforces the boundary independently of the model’s confidence.
2. Check the action before it happensA proposed action enters a boundary that checks authority, scope and current conditions. Passing actions execute within scope. Failing actions stop and return a reason. 2. Check the action before it happensThe application enforces the boundary independently of the model’s confidence.Proposed tool actionA request is not permissionExecution boundaryAuthorityWho may act?ScopeWhat may change?ConditionsIs it valid now?Checks pass: executeWithin the permitted scopeChecks fail: stopReturn a reason for rejection
III. A Good Proposal Still Needs a Check

Controlling access addresses only part of the problem. An authorized action can still be based on faulty reasoning. This is where neurosymbolic AI becomes relevant. Neural systems learn patterns and generate possibilities, often working effectively with ambiguous information. Symbolic systems manipulate explicit representations according to stated rules. Combining them can create a productive division of labor: one component proposes a promising direction, while another determines which conclusions follow from the available premises.

Google DeepMind’s AlphaGeometry provides a concrete demonstration. Its neural language model proposed additional geometric constructions that might help solve a problem. A symbolic deduction engine then worked through their implications to find a proof. In the original 2024 evaluation, the system solved 25 of 30 selected Olympiad geometry problems within competition time limits. Its success depended on connecting the model’s proposals to a process that could establish mathematical conclusions. The result was impressive within geometry, without demonstrating a general solution to reasoning.

The implication for tool design is that a model need not carry every responsibility itself. An application can translate a proposed action into an explicit representation, check relevant conditions and permit execution only when those conditions hold. Some checks require ordinary software; others may benefit from formal verification. Either way, the limits matter. A proof establishes a property under specified assumptions. If the specification omits something important, or misrepresents the user’s intent, successful verification can still accompany an unwanted result. Defining the right question remains an engineering responsibility.

A jade geometric component being checked against a precise ceramic recess before execution

A promising proposal still needs a check. Explicit constraints help determine whether an action may proceed.

IV. Boundaries Can Give Learning More Room

Learning through action introduces an uncomfortable possibility: the system may discover a dangerous choice by making it. A reward signal alone does not solve this. It tells a learner which outcomes are desirable, but does not necessarily prevent unacceptable behavior during exploration. A separate action boundary can change the arrangement. The learner searches for better strategies within a permitted space, while another mechanism checks whether its proposed steps satisfy explicit constraints.

Research presented at AAAI in 2018 explored such a mechanism, called a shield. Positioned around a reinforcement learning system, it could restrict the available actions before a decision or correct a proposed action afterward, before execution. The shield enforced properties written in temporal logic, a formal language for describing how conditions should hold over time. The research demonstrated how learning and constraint enforcement could operate together, with protections dependent on the assumptions used to construct the shield.

This suggests a more useful understanding of autonomy. The relevant freedom is the ability to make progress without constant intervention. Carefully chosen restrictions can support that freedom by making more experiments acceptable. Excessively tight restrictions can also eliminate every workable solution. Designers must therefore consider both safety and progress, including what happens when no permitted action remains. A system that recognizes this condition and stops has performed an essential computation: it has identified the limit of its current authority or knowledge.

V. The World Can Change Between Thought and Action

Even a well reasoned, authorized proposal can become inappropriate before it executes. Agents observe the world at particular moments, then spend time deciding what to do. Other processes continue working during that interval. This creates a gap between the state the agent understood and the state its tool will encounter. Reliable software must account for that gap at execution time. Confidence in an earlier observation cannot establish that the observation is still current.

Consider an assistant merging duplicate customer records. It inspects two entries and prepares a change, but another employee updates one entry before the merge occurs. Proceeding from the earlier snapshot could discard new information. Database systems already provide mechanisms for managing such conflicts. PostgreSQL’s serializable isolation can reject transactions whose combined effects cannot be reconciled with execution in a serial order, requiring the application to retry. An agent can use that rejection to inspect the records again and reconsider its proposed merge.

The tool’s response now becomes part of the reasoning process. It should distinguish a changed record from missing permission, because those failures call for different next steps. Useful feedback tells the agent what it can revise and what it must leave alone. This is how boundaries contribute to capability: they preserve the conditions for another informed attempt. An adaptive agent becomes more dependable when its ideas meet evidence through interfaces that constrain consequences. The quality of those interfaces will help determine how much intelligence can accomplish outside the chat window.

03 Boundaries make room for useful autonomy
Flexible proposals, explicit checks and real feedback work together.
3. Boundaries make room for useful autonomyA clockwise cycle links proposing, checking, acting within limits and updating the plan from the result. Only passing proposals proceed to action. Bounded action enables useful autonomy. Learning here means revising the plan, not necessarily retraining the model. 3. Boundaries make room for useful autonomyFlexible proposals, explicit checks and real feedback work together.ProposeThe model suggests a next stepCheckExplicit rules test the proposalAct within limitsThe tool performs an allowed stepLearn from the resultUpdate the plan using evidenceIf checks passBounded action enables useful autonomy