Back to all posts

Long-Running Agents Need Durable Workflows

2026-10-04
luodaInt
Long-Running Agents Need Durable Workflows

Long-Running Agents Need Durable Workflows

Most enterprise AI still looks like a conversation: open a tab, ask for a draft, close the tab. That shape fits writing and research. It does not fit the work finance, ops, and sales actually need automated — reconciliation that spans systems overnight, prospect sequences that pause for a human, invoice disputes that wait on a mailbox.

Vendors and buyers are saying the same thing in 2026: the next step is long-running agents that execute multi-step business workflows for hours or days. The hard part is not the model. It is surviving crashes, rate limits, and approval gates without silently restarting and double-spending.

The shift: from copilots to background work

Google Cloud’s Gemini Enterprise announcement (April 22, 2026) frames the demand clearly. Enterprises do not only need AI that answers questions or completes isolated tasks. They need agents that can run complex, multi-step workflows for hours or days, with identity, registry, and gateway controls so the work stays traceable.

Their examples are ops-shaped, not chat-shaped: end-to-end financial reconciliation, deep sales prospect sequencing, and research plans that synthesize open web plus internal data in the background. Agent Designer is described as mixing generative intelligence with deterministic nodes, with human-in-the-loop checkpoints before consequential steps. Skills load reusable playbooks only when needed, so the agent stays focused and cost-aware. An Inbox surfaces “Needs your input,” “Errors,” and “Completed” instead of burying progress in a scrollback chat.

That is the business automation pattern: the agent is a worker with a queue, not a chatbot with a session.

Chat is not a runtime

If your “automation” dies when the browser tab closes, you do not have a workflow. You have a demo with good manners.

Why demos restart and production must resume

CIOPages’ 2026 buyer’s guide to agent platforms (updated June 2026) puts operability above autonomy. Agents are non-deterministic and can loop, stall, or burn tokens. The guide weights observability, durable execution, and guardrails higher than fancy multi-agent choreography.

Their failure-path test is the one worth copying into any RFP:

  1. Kill the process mid-run.
  2. Throttle the model API until rate limits fire.
  3. Feed a prompt-injection payload through a tool result.

Score the platform on whether you can trace where it stopped, resume from a checkpoint instead of re-running and double-paying, and block the injection at the boundary. A beautiful agent graph that cannot answer “what happens when it crashes at step 7?” is still a prototype.

For mission-critical, long-horizon work, the same guide recommends a durable-execution engine (Temporal is the named example) under your agent framework: wrap the agent so a network blip or LLM timeout resumes rather than re-runs. That layer composes with LangGraph, CrewAI, OpenAI Agents SDK, and others — it does not replace them.

On Hacker News, Temporal’s own demos with the OpenAI Agents SDK make the same pitch: survive process crashes, scale parallel executions, and use signals for human interactivity. A related thread names the tradeoff developers feel: agent frameworks give reasoning loops and tools, but often restart from scratch on crash; workflow engines give durability but force a rewrite of agent logic. Production teams need both — agent reasoning plus durable state — without picking only one camp.

Resume beats restart

Restart doubles token spend, re-fires side effects, and loses the human who already approved step four. Resume keeps the receipt: same instance, same audit trail, next step from the checkpoint.

Hybrid by design: agents beside rules, APIs, and people

Durable does not mean “let the LLM freestyle for three days.” The platforms shipping this year treat agents as one execution style among several.

UiPath Maestro Flow (public preview) puts agentic reasoning on the same path as rules, APIs, retries, documents, and human steps — one artifact from prototype to production. The runtime is described as Temporal-based durable execution, with instance management so you can restart, cancel, or retry from the current step, plus OpenTelemetry-style tracing across every node. Their example flows are familiar to ops: AP invoice extraction with low-confidence docs routed to a person; suspicious ACH/wire review that pauses for approval before anything clears; vendor tax-exemption certificates that mix email extraction, human validation, and RPA.

Google’s Agent Designer language matches: deterministic nodes for business logic you already trust, generative steps where judgment is fuzzy, and explicit human checkpoints where money or access moves.

That hybrid is the business automation sweet spot. Use the model at the forks. Keep matching, routing, retries, and irreversible writes on rails you can audit.

What to change in the next automation you ship

You do not need a new agent platform day one. You do need a runtime contract that matches how the work actually runs.

  1. Name a long-horizon job. Reconciliation, dispute handling, prospect sequences, overnight research packs — anything that already spans hours and systems. Skip another meeting-summary pilot.
  2. Separate chat UI from execution. People may start work in a chat. The run itself must live in a durable workflow with instance ID, state, and a place to resume.
  3. Model LLM and tool calls as activities. Timeouts, retries, and idempotency belong on the activity, not in hope that the model “tries again.”
  4. Wire human approval as a signal, not a new chat. Pause the instance. Notify via Inbox, ticket, or Slack. Resume with the decision attached to the same run.
  5. Mix deterministic steps. Rules and APIs for extract, match, route, and refuse. Agent reasoning only where the path is ambiguous.
  6. Score failure paths before launch. Crash mid-run, rate-limit the model, inject a hostile tool result. If restart is the only recovery, do not put money on that path yet.
  7. Keep a cost and audit trail per instance. Tokens, tool calls, who approved what, and which system of record changed — one thread a CFO and a security lead can both read.

Long-running agents are how AI finally looks like automation instead of autocomplete. Durable workflows are how those agents survive contact with production.

Want help turning one multi-day ops workflow into a hybrid agent run with checkpoints, approvals, and a resume story your ops team trusts? Talk to us.

Sources