HomeMarshal PlatformFeature

HITL Approvals

Marshal · Humans in the agent loop

HITL Approvals

Human-in-the-loop approvals, inputs, and selections—agents pause mid-run for a human decision and resume exactly where they left off

Marshal · HITL Approvals

How HITL Approvals works

Human-in-the-loop approvals, inputs, and selections—agents pause mid-run for a human decision and resume exactly where they left off

Agent / workflow
ask(...)
Poll status

HITL

ask · decide · resume

Inbox
Approve / answer
Run resumes

Agents open requests (sky rails); humans resolve them and the SDK unblocks the run (orange rails).

Agents open requests (sky rails); humans resolve them and the SDK unblocks the run (orange rails).

Why it matters

Built for production agents—not prompt playgrounds

How this harness capability fits the Exemplar platform: one identity, one policy layer, and one audit trail across console, MCP, and SDK.

Why Exemplar

Full autonomy is the wrong default for production: deploys, migrations, and spend need a human at the decision point, not after the incident.

HITL makes escalation a first-class harness primitive—no webhook servers, callback queues, or bespoke approval UIs per agent.

What Exemplar delivers

Blocking SDK primitive—harness.hitl().ask(...)—that works from LangGraph, CrewAI, Agno, ADK, or any framework that calls Python.

One console inbox where reviewers approve, reject, answer, or pick an option, with agent-supplied context and full audit on every decision.

How teams use it

Gate high-impact actions—production deploys, credential rotation, tier-0 changes—behind an approval the agent requests itself.

Wrap ask(...) as a framework tool so the model escalates to a human when confidence is low; the run resumes with the human's answer.

Capability checklist

One SDK call pauses any agent run for approval, free-text input, or a single choice
Unified review inbox for SDK agent requests and workflow approval steps
TTL-bounded requests—expiry, cancellation, and every decision unblock the run
Slack and email notifications when a request needs a reviewer

Developer guide

Official documentation on docs.exemplar.dev for this capability.

Open developer guide (opens in a new tab)

Get started

Put HITL Approvals to work with the rest of Marshal—or talk to us about your agent stack.

From the blog

Related posts on exemplar.dev.