AI Agents and Hybrid Cloud: Decide What Runs Where

Developer working on a laptop with code on screen, planning an AI agent workflow and hybrid cloud setup

You have an agent that works in a demo, a pile of systems it has to touch, and no clear answer to three questions: what should it automate, which model should do the work, and where should that model run? Get those wrong and you pay for it in cloud bills, compliance headaches, or confident wrong answers on production data. This post lays out a decision framework for all three, using a recent conversation with Celonis's Carsten Thoma as a jumping-off point, plus a healthy dose of skepticism about who is saying what and why.

Start with the process, not the model

Before choosing a model or a hosting location, you need to know how the process actually runs. The question that anchors VentureBeat's discussion with Carsten Thoma, president and executive chairman of Celonis, is whether your organization, from business process owners to IT leaders, understands a process well enough to hand an agent responsibility for it.

Most small teams skip this. They pick a workflow someone describes ("we triage support email, then route to billing or tech"), build an agent around the description, and discover in week three that the real process has four exceptions nobody mentioned. The agent isn't broken. The spec was fiction.

Thoma's term for the fix is an operational digital twin: a combination of process intelligence, task intelligence, and the knowledge people use to bridge gaps between systems. That last part is the one SMBs underestimate. The unwritten "oh, for that customer we always check the old spreadsheet first" step is exactly the context an agent doesn't have.

Thoma also shared a data point worth remembering: one Celonis customer found that 95% of its active procurement processes ran through just 15% of its installed systems. That's a vendor-side, self-reported anecdote, so treat it as an illustration rather than a benchmark. But the shape of it is familiar to anyone who has audited a small business's tool stack: most of the real work happens in a small fraction of the software.

You don't need a process-mining platform to apply the idea. You need a one-week observation pass:

# process_audit.yaml - fill in per workflow BEFORE building an agent
workflow: "inbound invoice handling"
trigger: "email with PDF attachment to billing@"
systems_touched:
  - gmail
  - accounting_software
  - shared_spreadsheet   # the one nobody documented
volume_per_week: 40            # count it, don't guess
happy_path_pct: null           # measure: how many go start-to-finish with no human fix?
exceptions_seen:
  - "vendor name differs from PO"
  - "PDF is a scan, not text"
  - "amount over approval threshold"
who_handles_exceptions: "owner, by memory"

If you can't fill in happy_path_pct from real data, you are not ready to automate. You're ready to measure.

Decide what to automate: a four-question filter

An agent is the wrong tool for plenty of work. Gartner predicted in June 2025 that over 40% of agentic AI projects will be canceled by the end of 2027, citing escalating costs, unclear business value, or inadequate risk controls. That is a forecast, not an observed outcome, but the three failure causes are the right ones to design against.

Gartner also predicts at least 15% of day-to-day work decisions will be made autonomously through agentic AI by 2028, up from 0% in 2024, and that 33% of enterprise software applications will include agentic AI by 2028, up from less than 1% in 2024. Again, predictions. The direction is clear; the timing is a guess.

Here is the filter I use before building anything:

Question If "yes" If "no"
Is the process stable and documented from real data? Candidate for an agent Measure first
Is a wrong output cheap to catch and reverse? Higher autonomy is OK Keep a human approval step
Is the logic deterministic (math, lookups, validation)? Use plain code, not an LLM An LLM may add value
Does the value clearly exceed run cost? Build it Skip or shrink scope

The third row saves the most money. Anything deterministic (totals, date math, threshold checks, format validation) belongs in ordinary code that an agent calls as a tool. Letting a language model do arithmetic you could do with sum() is paying for variance.

# The agent decides WHAT to do; deterministic code does the checking.
def needs_approval(amount_usd: float, vendor_known: bool, threshold: float = 1000.0) -> bool:
    """Plain code. No model call, no variance, no per-token cost."""
    return amount_usd > threshold or not vendor_known

# The LLM's job is narrower: extract fields from messy input,
# then hand them to functions like the one above.

The pattern: the model handles the fuzzy edges (reading a scanned PDF, interpreting an email), and rules handle everything you can state precisely.

Define what the agent must never do

Thoma stressed three safeguards: define prohibited actions for agents, allow human intervention, and examine what agents have done within the wider business process. Those map neatly onto three things you can implement this week.

Prohibited actions should be enforced outside the model, in the tool layer, not requested politely in the prompt. A prompt that says "never delete records" is a suggestion. A tool set that doesn't include a delete function is a guarantee.

# Allow-list the tools; anything not listed does not exist for the agent.
ALLOWED_TOOLS = {
    "read_invoice",
    "lookup_vendor",
    "draft_reply",          # drafts only; a human sends
    "flag_for_review",
}
# Deliberately absent: send_payment, delete_record, edit_vendor_bank_details

Human intervention means a defined pause point, not a vague "someone can look at it." Pick the actions where a mistake is expensive (payments, outbound customer email, changes to financial records) and require explicit approval there.

Examining what the agent did means logging every tool call with inputs, outputs, and the reasoning summary, in a place you will actually look. If you can't reconstruct why an agent made a decision, you can't improve it or defend it.

{
  "ts": "2026-12-02T14:03:11Z",
  "run_id": "inv-0042",
  "tool": "flag_for_review",
  "input": {"invoice": "INV-8812", "reason": "vendor name mismatch vs PO"},
  "model": "local-small",
  "outcome": "queued_for_human"
}

One more caution on context. A VB Intelligence blurb reports that 78% of enterprises running AI agents traced at least one confident but wrong answer to missing or inconsistent business context in the past six months. I could not corroborate that exact figure against other VB Pulse waves, which reported different numbers, so I won't lean on it. The underlying point holds regardless: agents that lack process context produce fluent, confident errors, and fluency makes them harder to spot.

Choose the model: match capability to the task

"Which model?" is rarely a single answer. A production system usually uses several, and the cost difference between using one frontier model for everything and routing by task can be large.

A practical split:

Task type Model class Why
Classification, tagging, routing Small or specialized model Narrow task, high volume, low tolerance for cost
Extraction from structured-ish documents Small to mid-size model Pattern work; accuracy is testable
Tabular, time-series, event prediction Purpose-built models, not an LLM Often cheaper and more accurate
Multi-step reasoning, ambiguous requests Frontier model, used selectively Where the capability premium pays off

Celonis's announcements illustrate the specialized end of this spectrum. At Celosphere on December 2, 2026, the company announced its Enterprise AI Platform, including a family of specialized foundation models called Delphi (Delphi Tab, Delphi Time, Delphi Event). These are often under 10 million parameters, so they run on standard CPUs. The Celonis Context Model and Celonis Apollo are generally available; the Delphi models are in private preview. These are vendor claims about vendor products, and I haven't tested them, but the architectural idea stands on its own: small models trained for a narrow data shape can run cheaply without a GPU.

Thoma's described direction is specialized models behind the firewall, with frontier capabilities used selectively. You can build that pattern without any particular vendor:

def route(task: dict) -> str:
    """Pick a model tier by task, not by habit."""
    if task["kind"] in {"classify", "extract", "route"}:
        return "small_local"          # cheap, private, fast
    if task["contains_sensitive_data"]:
        return "small_local"          # keep it inside the boundary
    if task["kind"] == "open_ended_reasoning" and task["value_usd"] > 50:
        return "frontier_api"         # pay for capability only when it earns it
    return "small_local"

Note the ordering: sensitivity is checked before capability. Data rules should veto model choices, never the reverse.

Decide where it runs: the hybrid logic

"Hybrid cloud" gets used loosely. In an agent context it simply means some workloads run in public cloud or via API, and some run on infrastructure you control (on-premises or private cloud), with the split decided per workload.

Thoma expects more interest in on-premises and private cloud environments. That is a prediction from a vendor executive with a commercial interest, so treat it as a forecast rather than an established market trend. VentureBeat itself notes that Celonis has a commercial interest in making operational context central to enterprise AI. Hold the prediction loosely. The decision logic underneath it is sound regardless of whether the market trend is real:

Factor Pushes toward local / private Pushes toward public cloud / API
Data sensitivity Customer PII, financials, contracts Public or low-risk content
Volume High, steady, predictable Spiky or low
Latency needs Tight, in-workflow Tolerant
Capability needed Narrow task a small model handles Frontier-level reasoning
Ops capacity You can run and patch it You have no one to run it

For a one-to-ten person company, the last row is the honest one. Running your own inference means someone patches it, monitors it, and gets paged when it falls over. If that someone is you, a managed API for most things plus a small local model for the sensitive slice is usually the realistic hybrid.

Utilization is the other trap. Owning hardware only pays off if you use it. The VB Pulse AI Infrastructure and Compute Report (October 2026) found that, among respondents whose organizations operate GPUs or accelerators, 57% put average utilization at half or less. A separate September 2026 VB Pulse survey reported that 55 of 68 production-AI respondents (81%) said average GPU utilization was 50% or less, though that was a self-selected sample of 102 qualified respondents. The figures differ by wave and phrasing, so don't treat any single number as precise. The takeaway is directional: idle accelerators are common, and buying capacity before you've measured demand is a known way to waste money. CPU-friendly small models sidestep part of this problem entirely.

Also note a forthcoming option from Celonis: a self-hosted deployment called Celonis Sovereign, aimed at public sector customers and others needing secure on-premise solutions. It is announced but not yet available, so don't plan around it. It does show that vendors are building toward the split you're deciding on.

Keep your exit open

The most useful line in VentureBeat's framing is its buyer advice: ask for measured results, implementation costs, and evidence that you can still change models and platforms. Apply that to every tool you adopt, including anything I recommend.

Celonis says each company's Context Model is self-owned and decoupled from both the source systems it is built on and the AI that accesses it, and that it works with any other models customers use. That's the right claim to demand from any vendor. Whether it holds in practice is something to verify in a pilot, not take from a press release.

Practical portability checks you can run yourself:

# Can you swap the model without touching business logic?
grep -rn "openai\|anthropic\|specific_vendor_sdk" ./src | wc -l
# If the answer is "dozens of files," you have a lock-in problem.

Keep the model call behind one interface:

class ModelClient:
    def complete(self, prompt: str, *, tier: str) -> str: ...

# business logic depends on ModelClient only.
# Swapping a vendor means writing one new adapter, not rewriting workflows.

Keep your process knowledge (the audit file, the exception list, the prohibited-actions list) in plain documents you own, not trapped in a vendor's proprietary format. That context is the most valuable asset in the whole system, and it should outlive any model.

Treat vendor numbers as claims

Several figures in this space are self-reported and worth discounting accordingly. Thoma cited Hitachi Energy ($350M in documented savings), Novo Nordisk, and Mercedes as benchmarks for process-first AI, but those are remarks from a Celonis executive, not independently verified results. Celonis's own 2026 Process Optimization Report, surveying over 1,600 global leaders, found 85% of organizations want to become an "agentic enterprise" within three years and 76% admit their current processes are holding them back. That is vendor-commissioned research, which tells you what buyers say they want more than what they've shipped. And Celonis was named a Leader in Gartner's 2026 Magic Quadrant for Process Intelligence, a placement the company itself describes in favorable terms.

None of that makes the underlying argument wrong. A process-first approach is sound engineering with or without a vendor logo on it. But when you read a case-study number, ask who measured it, over what period, and against what baseline. If a source can't answer, treat the number as marketing.

For your own pilots, set the evidence bar before you start:

pilot_success_criteria:
  baseline_measured_on: "2 weeks of pre-agent data"
  metric: "minutes of human time per invoice"
  target_reduction: "set before the pilot, not after"
  error_budget: "max acceptable wrong outputs per 100"
  kill_condition: "run cost exceeds value after 30 days"

A kill condition written in advance is the cheapest protection against becoming one of Gartner's canceled projects.

Putting the framework to work

The decision this post describes (what to automate, which model to use, where it runs) is the production-agent decision. The order matters: start with the process audit, not the model. Observe how the work actually runs, find the deterministic parts that should be plain code, mark the actions an agent must never take, and only then choose a model tier and a hosting location per workload. For small teams, that often lands on a hybrid of a managed API for the hard reasoning and something smaller and more contained for sensitive, high-volume steps.

Pick one process you're considering automating and run it through the audit file and the four-question filter above. If the honest answer is "don't build an agent for this yet," that's a useful result too.


Work with BizFlowAI

If you'd rather have this built for you, that's what we do: production AI automation for solo founders and small teams — agents, integrations, and document pipelines that actually ship.

Request a free discovery call — 30 minutes, we map the highest-ROI automation in your workflow. No pitch deck, just engineering.

More guides like this on the BizFlowAI blog.

Frequently asked questions

How do I decide which business processes to automate with an AI agent?

Start by measuring how the process actually runs, not how people describe it. Spend a week observing the workflow, counting volume, listing the systems touched, and calculating what share of cases finish with no human fix. Then apply a filter: the process should be stable, errors should be cheap to catch and reverse, logic that is deterministic should stay in plain code, and the value should clearly exceed run costs. If you cannot measure the happy-path rate from real data, you are not ready to automate yet.

Why do so many agentic AI projects fail?

Gartner predicted in June 2025 that over 40% of agentic AI projects will be canceled by the end of 2027. It cited escalating costs, unclear business value, and inadequate risk controls as the causes. Teams also often build around a described process rather than the real one, then discover hidden exceptions weeks in. Auditing the real process, setting a cost/value check up front, and enforcing safeguards in the tool layer address all three failure causes.

How do I stop an AI agent from taking dangerous actions like deleting records or sending payments?

Enforce limits in the tool layer, not in the prompt. A prompt saying 'never delete records' is only a suggestion, while an agent whose allow-list contains no delete or payment function simply cannot perform those actions. Add explicit human approval for expensive-mistake actions such as payments or outbound customer email, and log every tool call with inputs, outputs, and outcome so you can reconstruct and defend any decision.

Should an AI agent use an LLM for everything, or should some work be plain code?

Anything deterministic, such as arithmetic, date math, threshold checks, lookups, and format validation, belongs in ordinary code that the agent calls as a tool. Using a language model for work a simple function can do adds cost and output variance for no benefit. Reserve the model for fuzzy edges like reading scanned PDFs or interpreting emails, and let rules handle everything you can state precisely.

How do I choose which model an AI agent should use for each task?

Route by task instead of using one frontier model for everything. Small or specialized models suit high-volume classification, tagging, and routing, while small to mid-size models handle document extraction. Purpose-built models are often cheaper and more accurate for tabular, time-series, or event prediction, and a frontier model should be used selectively for multi-step reasoning or ambiguous requests. Some vendors, such as Celonis with its sub-10-million-parameter Delphi models, claim narrow models can run on standard CPUs without a GPU.