Overview
A browser in Rusty Browser is an isolated browser instance managed byrusty-server and a browser agent. You create it, issue commands, and delete it when your workflow is complete.
Lifecycle
Resource Usage
Each active browser uses compute, memory, browser process capacity, and agent slots on your infrastructure. Idle browsers stay alive until you close them, so cleanup is important in every deployment.Best Practices
- Always delete browsers when your task is complete
- Use
defer client.DeleteBrowser(...)in Go to guarantee cleanup - Create browsers only when a workflow is ready to use them
- Use
DELETE /browsers/orrusty-cli browser close-allfor test teardown and recovery cleanup - Use session logs to debug long-running instructions and failed browser actions
Isolation
Each browser runs in a completely isolated environment:- Fresh state on every creation, with no cookies, cache, or history carried over
- No shared state between browsers
- Failures in one browser do not affect others

