API Reference
Find the RubyLLM::Browser classes for tools, policy, results, backends, and Rails jobs.
The generated RDoc reference documents classes and public methods from the Ruby source. Start with the task you need to perform:
| Task | Public API |
|---|---|
| Build trusted inputs for an operation | Context, Policy, Budget |
| Inspect a page or extract structured data | Inspect, Extract, Engine |
| Read a bounded result | Result |
| Use an offline backend | FakeBackend |
| Adapt the Stagehand Ruby SDK | StagehandBackend, Capabilities, Doctor |
| Persist operation or approval state | OperationStore, ApprovalStore and their implementations |
| Run Rails background jobs and cleanup | RubyLLM::Browser::Rails::OperationJob, Reaper |
Start with Getting Started for a runnable offline example. The API and configuration guide explains inputs, results, limits, and errors.
The reference is generated from source comments. Build it locally with docs/bin/build-api.sh tmp/api.