Rebuno vs OpenAI Agents SDK human-in-the-loop
The OpenAI Agents SDK pauses runs for tool approval and lets you save and resume the run state. Rebuno records every model and tool call, recovers runs after crashes, and applies approvals from a shared policy.
The OpenAI Agents SDK marks tools with needs_approval. When the agent calls one, the run stops with an interruption and returns a RunState, which you can serialize, approve or reject, and pass back to resume. Rebuno records each model and tool call as a step and checks it against a policy before it runs.
The two work together. An OpenAI Agents SDK agent connects to Rebuno through its OpenAI client and its tools.
| Rebuno | OpenAI Agents SDK | |
|---|---|---|
| What is saved | The request and result of every model and tool call, as they happen | A RunState, returned when the run is interrupted |
| Crash recovery | The run resumes from its recorded calls | Left to the application or a durable execution integration |
| Unfinished calls | Rerun or reported as indeterminate, declared per tool | Not tracked |
| Which calls need approval | Agent policy in the kernel, matched on tool and arguments | needs_approval on each tool, as a value or a function |
| Waiting for approval | The run blocks in the kernel and the agent stops | The application stores the RunState until it resumes |
| Frameworks | OpenAI Agents SDK, LangChain, Mastra, Pydantic AI, and others | OpenAI Agents SDK |
Saving progress
The SDK's RunState is produced when a run pauses for approval. It holds what the run needs to continue, and your application is responsible for storing it and resuming the run. A process that crashes between interruptions has no saved state to resume from, which is why the SDK is often paired with a durable execution engine.
Rebuno records every call as it happens. If the agent process stops, the kernel dispatches the run again, recorded calls return their results, and the rest run live. A tool marked at_most_once that was in flight is reported as indeterminate instead of running twice.
Approvals
In the SDK, needs_approval is set on each tool in agent code, and the application builds the flow that shows the request and records the answer.
In Rebuno, approvals come from the agent's policy. Rules can match a call's arguments, its caller, and earlier steps. A held call blocks the run in the kernel, anyone with access can approve or deny it through the API, CLI, or dashboard, and the decision is recorded with the run. Approvals expire after a timeout you set.
Choosing between them
The SDK's built-in approvals fit a single agent where your application already stores conversation state and handles retries.
Rebuno fits when runs need to survive crashes, when some tools must not run twice, or when approval rules should be managed outside agent code.