Skip to main content
Intelligence Simplified
A hand resting on a large approval button beside a monitor of flowing blue light.

May 29, 2026

Human in the Loop AI Workflows for Longer-Running Agents

Claude Opus 4.8 can work independently for longer. A human in the loop AI workflow keeps longer-running agents useful and safe for your business.

Covers week of May 25, 2026.

On May 28, Anthropic released Claude Opus 4.8. Anthropic says early testers found it more reliable and sharper in its judgment on agentic tasks, and it launched alongside a “dynamic workflows” feature in Claude Code for very large-scale problems, plus a cheaper fast mode. The direction is clear: AI agents are being built to work longer without someone watching every step. That makes the design of a human in the loop AI workflow more important, not less.

I wrote the fuller case for keeping people in charge in human-in-the-loop AI. This post is about what changes when the agent runs for a long time.

Longer runs change the risk

When an assistant answers one question, a mistake is visible right away. When an agent works through dozens of steps on its own, a wrong assumption early on can carry through everything after it. The more capable the agent, the more it can accomplish before anyone notices a problem.

That isn’t a reason to avoid long-running agents. It’s a reason to decide where people stay involved.

Checkpoints, not “someone could look”

I’ve seen “human in the loop” used to mean “someone could look if they wanted to.” That’s not a control. A useful human in the loop AI workflow has specific checkpoints where a person must approve something before work continues, and the agent has to stop and wait.

Good checkpoints for a long-running agent are:

  • Before anything irreversible: deleting data, sending messages to customers, moving money, changing permissions.
  • Before anything external: publishing, emailing, posting, or submitting forms.
  • When confidence is low: the agent should be able to say “I’m not sure” and hand off, rather than guess.
  • At natural milestones: a plan before the work starts, and a summary before it’s applied.

Not everything needs approval. Some work is low risk and easy to undo, and requiring a click for each step just trains people to click without reading. Define the boundaries clearly: what the agent may do on its own, within what limits, and what always needs a person.

A gated pipeline is the pattern I trust

At Opsera, as an employee, our principal engineer designed self-healing pipeline enhancements: the system evaluated failures, proposed remediations, and gated corrections behind human-in-the-loop review or bounded automation. Some classes of fix were safe to apply automatically inside strict limits. Everything else went to a person with a clear explanation. That split is what made it trustworthy enough to run without someone watching every step.

Long-running coding agents need the same split. I wrote about wiring that into scriptable agents in AI workflow automation with the Cursor SDK.

How to design checkpoints for a longer run

  1. Map the workflow. List every step the agent will take and what each step touches.
  2. Mark each step: safe to automate, needs approval, or never allowed.
  3. Make approvals easy to review. Show what will change and why, in plain language, not a wall of logs.
  4. Log everything. Every action, approval and rejection, so you can review later.
  5. Start tight, then loosen. Begin with more checkpoints. Remove them only when the record shows they’re not catching anything.

You don’t need an enterprise platform to do this well. Many tools now support approvals, limited permissions and logs. What’s usually missing is the design: someone deciding where the checkpoints go and making sure the system enforces them.

If you want help designing an AI workflow that saves real time while keeping people in charge of the decisions that matter, here’s how I approach AI workflows and automation. We can start with one workflow and get it right.

Sources

Russ Frisch

• Founder and software engineer

We take fixed-price work on data, AI workflows, and finishing apps. You work with the Intelligence Simplified team.

Expertise:

Data migration AI workflows Workflow automation Prototype to Production