The Deterministic Agent
Architecting Enterprise AI Systems That Can Safely Act
Why prompt engineering is not enough, and why safe AI operations depend on architecture
- 80% of AI projects never reach production. 95% of enterprise AI pilots show no measurable financial return. The models keep getting better, yet most enterprises still cannot get measurable value from them. Enterprise systems were never designed to let probabilistic AI carry out real work. The problem is the architecture.
- The Deterministic Agentic Core is the missing layer between what AI can do and what enterprise systems can safely execute. It combines hexagonal architecture, typed tool interfaces and governance controls so that probabilistic AI can run critical operations in production.
- The method has been tested in production. We rebuilt four mission-critical systems in 60 days, against an industry average of 16 months, while the platform kept serving more than 5,000 businesses. This paper documents what we did and what changed, so you can test it against your own systems.
The crisis of probabilistic agency
The promise and the gap
Companies are spending heavily on AI and getting little back. U.S. businesses alone invested $35 to 40 billion in AI in 2024 (MIT, 2025)2. Technology budgets are rising from 8% to 14% of revenue, and 36% of that goes to AI (Deloitte, 2026)6. Executive teams expect those experiments to turn into measurable operating results.
The data says they are not getting it:
of AI projects fail to reach production, more than double the failure rate of non-AI IT projects
RAND Corporation, 2024of enterprise AI pilots show no measurable financial return
MIT, 2025of enterprises capture meaningful value from AI
McKinsey, 2025of companies struggle to achieve and scale AI value
BCG, 2024This is more than early adoption pain. It points to a structural problem in how enterprise AI is designed and deployed.
The hallucination gap
The hallucination gap is why your AI investment keeps producing demos. Modern models are probabilistic. They give a likely answer. Business systems are deterministic. They must give the correct answer every time. Most enterprise AI failures start with this mismatch.
A model can infer intent. It cannot guarantee that the resulting action is lawful, financially correct, or compliant with policy.
The moment probabilistic systems are given direct control over deterministic state (financial ledgers, customer records, operational routing, compliance logs), the gap becomes operational risk.
These systems cannot run on best effort. They need strict consistency, traceability and predictable behaviour when something fails. An organisation that puts an AI wrapper on them without closing this gap gets no return, and it takes on new kinds of operational risk.
Until organisations build the layer that turns probabilistic reasoning into deterministic execution, most AI deployments will stay what they are today: impressive interfaces on top of fragile systems.
Why chatbot wrappers fail
The chatbot wrapper is the most expensive mistake in enterprise AI. It ships quickly and demos well, then fails as soon as it touches production systems.
Wrappers rely on instructions written in natural language where they need hard validation. They bypass the rules at the core of the business, have no idempotency or reconciliation controls, and leave audit trails no regulator or governance board would accept.
Prompt quality matters, but architecture determines whether a system can safely operate in production.
The legacy friction problem
Most enterprise AI initiatives fail for a reason boardrooms rarely discuss. The model is seldom the constraint. The systems the model has to work inside are.
Enterprise systems were designed for human operators. Their interfaces assume manual checks, approvals in sequence and slow decisions. Put autonomous agents into them without structural changes and the system gets more fragile. You have probably seen the result: an AI initiative that demos well, then stalls when it meets production.
Technical debt as an AI tax
Technical debt has always slowed software delivery. Once autonomous systems are involved, it is also a safety liability.
Every ambiguity in a system boundary becomes a risk when machines can trigger state changes at machine speed. Workflows that were safe when executed by humans become dangerous when executed by agents.
Executives know this. 86% say technical debt is holding back their AI initiatives (IBM IBV, 2024)5.
Yet most organisations still run debt reduction and AI enablement as separate programmes. They are the same problem. AI exposes architectural weaknesses that were already there.
Systems that were merely inefficient under human operation become unsafe under autonomous operation.
The scale wall
As organisations expand their AI initiatives, they hit the scale wall. At small scale, AI appears to work. A prototype agent completes tasks in controlled conditions, and the early demos build confidence.
At operational scale, the system is more complex, state changes multiply and edge cases appear. Without deterministic boundaries, every automated action raises the chance of an incorrect state change.
Engineering teams respond by slowing deployment, adding review layers and restricting what the AI may do. The initiative that promised speed starts to slow the business down. Delivery slows, incidents rise and executives lose confidence.
The organisation is left with working models and unusable systems.
What this means for leadership
Most leadership teams will not like this.
AI return on investment is determined by architecture before the first model is selected.
If a system cannot safely absorb autonomous actions, every gain in model capability adds risk. Organisations that see this early redesign their operational boundaries before they scale AI. The rest keep adding AI tools on top of fragile systems.
Which group you are in decides whether AI pays for itself or becomes a run of expensive pilots.
Architecture before data and culture
Stalled AI initiatives are often blamed on poor data or a culture that is not ready. In our experience the architecture decides it.
The architecture determines whether AI can act safely inside a system. With the right boundaries, an organisation with imperfect data and cautious staff can still move forward. Without them, even excellent data and keen teams cannot prevent operational risk.
The data quality objection
Executives often cite “garbage in, garbage out” as the main barrier to AI deployment. The principle is correct. The conclusion drawn from it is incomplete.
Models will sometimes reason incorrectly. The danger is when that reasoning produces an unsafe system state. In a deterministic architecture, domain invariants stop it. Typed value objects and aggregate boundaries make sure invalid states cannot be written to critical systems.
So you do not need a multi-year data cleansing programme before you deploy autonomous workflows. The architecture stops incorrect outputs from becoming invalid actions.
Trust and transparency
Resistance to AI inside organisations is often called a cultural problem. Usually it is an architectural one.
Executives hesitate to authorise autonomous systems when they cannot see how decisions are made or actions carried out. With a black box, the safest choice for leadership is to restrict automation.
A deterministic architecture makes the system’s behaviour visible. Every autonomous action produces a structured command, an execution trace and a deterministic outcome, so the system is fully observable, with a trace for every action and decision. Leadership can see what the system tried to do, which rules applied and why the final action happened.
Where is your architecture limiting your AI returns?
Discuss your initiativeThe Deterministic Agentic Core
The Deterministic Agentic Core solves one problem. It lets probabilistic AI operate safely inside systems that demand deterministic outcomes.
Large language models (LLMs) are very good at interpreting intent. They were never designed to guarantee that a financial, operational or regulatory state change is correct. Without architectural boundaries, the system is trusting probabilistic reasoning to change deterministic state. No regulated business should run that way.
The Deterministic Agentic Core puts control boundaries between AI-generated intent and system execution. The AI keeps its full intelligence. Every autonomous action simply has to pass deterministic validation before it can affect production systems.
Architecture before prompts
Prompt engineering can improve how a model reasons. It cannot decide what a system is allowed to do. Prompts shape intent. Architecture governs behaviour.
Hexagonal boundaries
Business rules stay isolated from external systems. AI-generated actions cannot touch infrastructure directly. They must pass through the domain layer.
Domain invariants as code
Typed value objects prevent invalid state. Aggregate boundaries enforce the invariants in one place. Business rules become executable contracts that the system checks every time.
Typed tools
Operational actions are exposed as typed tools with explicit inputs, constrained parameters and predictable outputs. Agents call structured commands. They never send free-form instructions to the core.
Safe-action layer
The agent proposes an action. The safe-action layer validates the request. The command handler decides whether it is permitted. The system executes only if every invariant holds.
Deterministic closure
Every autonomous action ends in a known state: success with the transition recorded, rejection with the policy reason, or a failure that can be retried with controlled backoff.
The model proposes intent. The system decides whether execution is allowed.
In practice, few organisations install these boundaries on a clean slate. Most add them step by step to systems already running under production load. The hard part is finding the exact points where probabilistic reasoning must be separated from deterministic execution, and doing it without destabilising the system around them.
Applied evidence: the PressOne intervention
Why this case matters
Architecture diagrams are easy to draw. What matters is whether they hold up in production.
The intervention below took place on a live platform: a cloud communications business serving thousands of companies and processing real financial and telephony events around the clock. The aim was to make a system that had become hard to change fast again.
Context
PressOne Africa launched in mid-2022 and now runs a business communications platform used by more than 5,000 organisations across many industries. By early 2025 the platform had built up enough architectural friction that routine changes were difficult. It worked, but each change carried more risk.
Between 31 December 2025 and 28 February 2026 we carried out a focused architectural rebuild. The aim was to install deterministic control boundaries across several high-risk subsystems.
Agentic operational framework
We introduced Janet, an internal operational agent, to automate structured back-office workflows through typed tools. She went from zero to more than fifty production tools. A capability-gap detector stops her attempting anything unsafe. When she reaches a limit, it is logged as a product request for the team instead of failing at runtime.
Billing and financial state control
A two-phase reconciliation architecture keeps telephony usage and financial balances in sync. Any discrepancy triggers automated recovery. Drift in financial state is caught as it happens, long before an audit.
Authorisation architecture
Role-based access control applies the same permission boundaries to every operational action, whether a person or the AI starts it. An AI agent works under the same authorisation rules as any other user. Every authorisation decision is deterministic and auditable.
Telephony state management
We rebuilt the platform around call detail records (CDRs) as the single source of telephony state. Session state is rebuilt from stored call records every time. Autonomous actions only ever work on verified state.
Execution under live load
The platform kept serving customers throughout. There was no maintenance window. We introduced the architectural changes step by step while live traffic kept flowing.
commits merged into production
lines of code introduced or replaced
files modified
commits per day sustained
Through all of that, the system stayed stable while its architecture changed underneath it.
Operational impact
Here is what changed in the first month after the rebuild:
reduction in reconciliation failures
decrease in manual operational intervention
to ship a feature, down from 2 to 3 months
The platform became more stable and easier to change. Autonomous systems need both before they can operate safely in production.
Industry context
| Metric | Industry average | PressOne intervention |
|---|---|---|
| Modernisation timeline | 16 months, large teams | 60 days, one architect |
| Typical cost | ~$1.5M (industry aggregate) | Fraction of conventional cost |
| Project success rate | <10% for large programmes | ~90% for surgical interventions |
| Team productivity | Declines with team size | 2+ points higher (QSM, 13K+ projects) |
Sources: Industry aggregate (2024), Standish CHAOS Report, QSM, McKinsey Digital Factory, Brooks (The Mythical Man-Month)
TechCabal, BusinessDay, The Guardian Nigeria, Disrupt Africa, Punch, Vanguard and Nairametrics have reported independently on the platform’s scale and operations.
How would this apply to your systems?
Discuss your initiativeA governance framework for AI that acts
The first question an enterprise board asks about AI autonomy is “How do we know it won’t do something we can’t explain, reverse or defend to a regulator?” Speed comes later.
Operational sovereignty
The enterprise keeps control of decision boundaries, policy enforcement, risk classification and the audit trail for every state change. The model vendor controls none of these. Every regulated organisation needs it this way.
The governance controls you need
Idempotency
Can we retry a failed operation without creating duplicates? Running the same command twice never creates a duplicate state change.
Quiescence
Do autonomous workflows settle predictably? Stabilisation rules make sure the system settles into a known state after each action.
Two-phase reconciliation
Can we prove that what the AI intended matches what actually happened to our financial ledger? High-risk workflows reconcile intention and final state in distinct phases.
Authorisation determinism
Can we guarantee that no autonomous action bypassed our approval hierarchy? Every authorisation is explicit, enforced, tested and logged, with no exceptions.
Error taxonomy
Errors are typed (validation, permission, not found, business rule, internal), so automation and operators know how to respond to each one.
Why most governance frameworks fail
of companies have a mature model for agent governance
Deloitte, 2026plan to deploy agentic AI within two years
Deloitte, 2026Most enterprise AI governance is procedural: policies, review boards, approval workflows and written guidelines. It depends on people following the rules. That worked when people did the work. It breaks down when autonomous agents act at machine speed.
The Deterministic Agentic Core builds governance into the architecture. The safe-action layer cannot execute a financial state change until typed authorisation validation has passed. The two-phase reconciliation layer cannot close a ledger entry until intention matches final state. The policy is written as code, so the control runs at the same speed as the system it governs.
A procedural policy says “AI cannot modify financial records without approval.” An architectural control means the system is incapable of modifying financial records without approval, regardless of what the AI proposes, how it is prompted or who is supervising.
Procedural governance gives you compliance documents. Architectural governance keeps production safe. When agents act at machine speed, only the second one protects you.
Implementation roadmap
Most enterprise AI programmes fail because they deploy autonomy before the architectural controls that make it safe.
So our approach puts structural intervention before feature rollout. We first install the conditions that let agents operate safely and scale predictably. Speed follows.
-
2 weeks
Two-week review
Most organisations already have capable engineering teams and modern infrastructure. What holds them back is architectural friction. The review finds the workflows blocked by architecture, the system boundaries where probabilistic output could change deterministic state, and the workflows ready for early autonomous execution.
Deliverables: An architecture risk map, a prioritised shortlist of workflows, a 30-day intervention blueprint and a measurable outcome agreed with your executive sponsors.
You will know exactly which workflows are blocked by architecture rather than by the model, and what it takes to unblock them.
-
30 days
Safe-core installation
We install the deterministic control layer around one high-value workflow. That means typed operational tools, command-handler boundaries for deterministic execution, and the monitoring and audit records that enterprise governance requires.
Deliverables: Your first production-safe autonomous workflow, governance and rollback controls, operational monitoring and audit trails, and training for your team on the deterministic operating model.
You have a working agentic system in production. The architecture is written into the system and handed to your team, so it does not depend on us.
-
Quarterly
Scaling autonomous loops
Once the safe core is in place, adding autonomy becomes routine. Each new workflow follows the same deterministic boundaries, so you deploy it without redesigning the safety model.
Deliverables: Reusable deterministic patterns, a capability maturity model and an executive governance dashboard.
Autonomous systems succeed when the system around them is designed for autonomy.
The economics of inaction
Most discussions about AI investment start with model capability. The economic question that matters is a different one. What happens when you deploy AI inside systems that cannot safely support autonomous action?
Without architectural change, AI spending produces demos that never reach production. The wasted spend is the smaller cost. The larger one is the structural friction that keeps the organisation from the margin gains AI is supposed to deliver.
The hidden cost of architectural friction
When systems lack deterministic control boundaries, organisations encounter three compounding costs:
Engineering velocity declines.
Teams spend more and more time designing safeguards around fragile systems. Changes that should take days require weeks of coordination and validation.
Incident exposure increases.
Autonomous systems interacting with loosely controlled infrastructure introduce new failure modes: inconsistent financial states, duplicated operations and incomplete audit trails.
Executive confidence falls.
Boards start to see AI initiatives as expensive experiments. Funding slows, programmes shrink and the organisation goes back to manual workflows.
You will not find these costs on one line of the balance sheet. They show up as late delivery, inefficient operations and ground lost to competitors.
Structural margin improvement
When a workflow moves from manual work to deterministic autonomous operation, its cost falls for good. It runs faster and makes fewer errors, and these gains compound. Most technology investments cannot say that.
The gain comes from the architecture that governs how model decisions reach business systems. Without it, someone has to supervise every action by hand, and the AI ends up as a recommendation engine.
Opportunity cost
While you delay, your competitors start automating their workflows safely. Once their gains compound, the gap is hard to close.
Does your system architecture allow AI to safely execute decisions, or does it only allow AI to suggest them?
Organisations that answer that question early turn AI into a lasting advantage. The rest keep funding experiments.
Credibility for transformation partners
Consulting firms should pay attention here. Many enterprise transformation programmes fail even when the strategy is sound, because the systems cannot safely absorb the change.
A deterministic agency architecture lowers that delivery risk. A programme that shows measurable operational results within months earns far more trust. That decides whether a consulting firm stays an adviser or becomes the partner trusted with delivery.
Only 6% of enterprises capture meaningful value from AI. A partner who can show a reliable path from architecture to AI acting in production will win those engagements.
Already running AI? We can review how it is built and controlled.
How we review AI systemsCommon objections, answered
We hear the same objections whenever we make this argument. Most of them are reasonable. Here is where we think the assumptions behind them break down.
“Can’t we just improve the prompts?”
This assumes the problem is how the model reads instructions. Better prompts improve reasoning. They do not control what the system does. Once AI touches production infrastructure, the main risk is whether the system can safely execute the action the model chose. Prompts cannot enforce financial invariants, authorisation rules or reconciliation constraints. The architecture has to.
“Isn’t this slower than shipping a wrapper?”
It is slower than shipping a demo, and much faster than recovering from a failed production deployment. Enterprise modernisation projects often run for years because architectural problems are found late. Install the deterministic boundaries first and every later workflow goes live faster, because the safety model already exists.
“Our engineers are already strong. Why do we need this model?”
You need strong engineers for any transformation. On their own they do not guarantee consistent results. Large engineering teams usually struggle because their systems grew without clear operational boundaries. Deterministic agency gives capable engineers the patterns to work well: clear domain boundaries, typed execution paths and predictable behaviour. Without them, even strong teams spend most of their time fighting system complexity.
“Is this only relevant for large enterprises?”
No. The problem appears wherever autonomous systems touch production state. PressOne is a growth-stage company serving thousands of businesses, and it faced the same constraints a large enterprise does: billing integrity, telephony state, authorisation and operational safety. Whatever the size of the company, autonomous systems need deterministic execution boundaries.
“Can’t the model providers solve this?”
Model providers improve reasoning. They have no control over your system boundaries. Every organisation has its own infrastructure, data models, regulations and operating constraints, and no outside vendor can write the deterministic rules for them. That job stays inside the organisation. Models will keep getting better, but better reasoning will not fix the architecture. Without deterministic execution layers, someone will still have to supervise every AI action by hand.
What to do next
Models are improving fast. What was new two years ago is now offered by many providers, reasoning keeps getting better and inference keeps getting cheaper.
So the model is no longer the bottleneck. The architecture is.
Most enterprise systems were designed for people working through screens, approvals and sequential workflows. They were never designed for autonomous action.
Put probabilistic AI into those systems without changing their boundaries and the demos succeed, production resists and the programme stalls. That is why most AI initiatives never get past the pilot.
The Deterministic Agentic Core removes that constraint. The model stays probabilistic, and the architecture makes sure that system behaviour stays deterministic even when model reasoning is probabilistic.
With that in place, AI can run operational workflows safely and repeatedly, and each new workflow under deterministic control adds to the return on the last one.
Probabilistic intelligence can guide decisions. Deterministic architecture must govern actions.
Start with one workflow. Pick the one your business would most like AI to run, and ask whether your architecture would let it act safely today. If the answer is no, or you are not sure, book a two-week review. In two weeks you will know what to fix, and you will have a 30-day plan to fix it.
Mayowa Okegbenle, the Architect-CEO
A CEO who runs a P&L
He holds an Executive MBA and talks risk, EBITDA and compliance with boards.
An architect who built the core
He has spent two decades building technology companies across web, mobile and agentic AI.
A builder shipping agentic AI now
He builds production AI agents on hexagonal systems, domain-driven design and resilient backend infrastructure.
CEO and co-founder of PressOne Africa, an AI-powered cloud communications platform serving more than 5,000 Nigerian businesses. He led the 60-day intervention in this paper himself, while the platform stayed under live production load.
In two decades, Mayowa has built technology companies through three waves of computing: the web, mobile and now production AI. His work focuses on deterministic architecture. He sets the operational boundaries that make complex systems safe to run, easy to observe and profitable over time.
PressOne is backed by Ventures Platform, Cone Ventures, Techstars, Voltron Capital, Impact Hub, and Shola Akinlade (CEO, Paystack).
Sources and citations
[1] RAND Corporation (2024). The Root Causes of Failure for Artificial Intelligence Projects and How They Can Succeed: Avoiding the Anti-Patterns of AI.
Key statistic: ~80% of AI projects fail to reach meaningful production deployment, roughly double the failure rate of traditional IT projects.
https://www.rand.org/pubs/research_reports/RRA2680-1.html[2] MIT Sloan / Project NANDA (2025). The GenAI Divide: State of AI in Business 2025.
Key statistic: 95% of enterprise generative AI pilots fail to deliver a measurable return on investment or P&L impact.
https://nanda.media.mit.edu/[3] McKinsey & Company (2025). The state of AI in 2025: Agents, innovation, and transformation.
Key statistic: Only 6% of enterprises are 'high performers' attributing 5% or more of EBIT to AI.
https://www.mckinsey.com/capabilities/quantumblack/our-insights/the-state-of-ai[4] Boston Consulting Group (BCG) (2024). Where's the Value in AI?.
Key statistic: 74% of companies struggle to move beyond the pilot phase or realise tangible ROI.
https://www.bcg.com/publications/2024/wheres-value-in-ai[5] IBM Institute for Business Value (2024). The CEO's Guide to Generative AI.
Key statistic: 86% of executives report that technical debt is constraining their AI initiatives.
https://www.ibm.com/thought-leadership/institute-business-value/en-us/report/ceo-generative-ai[6] Deloitte (2026). State of AI in the Enterprise: The untapped edge.
Key statistic: Only 21% of organisations have a mature model for agent governance, and 74% expect to use agentic AI within two years.
https://www.deloitte.com/content/dam/assets-zone3/us/en/docs/services/consulting/2026/state-of-ai-2026.pdf
Get the PDF by email.
For your board pack or your architecture team. We send the whitepaper, and an invitation to a 30-minute walk-through if you want one.
Thank you. It is on its way.
Look out for an email from the J-Division.
Your request is ready to send.
Send it to hello@thejdivision.com with the button below, and we will reply with the PDF.
How would this apply to your systems?
Pick one workflow you want AI to run, and we will go through what it would take in your systems. Or invite Mayowa to take your leadership team through the paper.