What problem does it solve?
Agent-browser removes the heavy contextual overhead and fragility of traditional browser automation by providing compact, refs-based snapshots and a CLI optimized for long-running autonomous sessions, video recording, and cloud browser execution.
Core Features & Use Cases
- Compact snapshots & refs: Capture interactive elements with short refs (e.g., @e1) to minimize token usage in AI workflows.
- Deterministic CLI interactions: Navigate, fill, click, and assert using a stable command set suitable for CI/CD and autonomous agents.
- Media & debugging: Built-in screenshot, PDF export, and video recording for reproducible debugging and audit trails.
- Cloud & session support: Integrates with Browserbase and named sessions for parallel and remote execution.
- Use Case: Run an end-to-end automated login and checkout flow in CI using cloud browsers while saving authenticated state and a video recording for verification.
Quick Start
Use ck:agent-browser to open a webpage, capture an interactive snapshot, interact with elements by their refs, and save a screenshot or recording for debugging.