Stagehand on BCTRL
Where a full agent decides its own steps, Stagehand actions let you own the control flow and spend AI only on the fuzzy parts: one natural-language action, one observation, one extraction at a time. Each runs as a hosted invocation - sequence them like ordinary async calls.
Use action: "observe" between steps when the next move depends on what the page offers (“What filters are available?”). The stagehand.act / .observe / .extract / .agent helpers on bctrl.runtimes.invocations expose the same actions with richer options and return immediately - reach for them when you want to dispatch without blocking.
When the flow gets long
If you’re chaining more than a handful of steps with retries and branches, flip it around: hand the whole task to a multi-step agent and keep your code out of the loop.
Next
- Hosted agents - Stagehand and browser-use in depth
- Extract Structured Data - the extraction pattern on its own
- Run a Hosted Agent - the fully autonomous version

