BrowserAgent and BrowserSkill solve different integration needs.
When to use BrowserAgent
UseBrowserAgent when you want natural-language tasks with optional LLM planning and tool execution.
When to use BrowserSkill
UseBrowserSkill when your framework expects a stable skill interface and file outputs.
Deterministic mode for CI and reliability checks
When you want reproducible behavior, call sequences directly:
Agent configuration (API keys & models)
BrowserAgent accepts provider and model configuration via CLI flags or constructor options when used programmatically. Common flags and env variables:--ai-provider <openai|anthropic>--ai-model <model-name>--ai-api-key <key>or setOPENAI_API_KEY/ANTHROPIC_API_KEY--ai-base-url <url>to override provider endpoints--max-steps <n>to bound agent actions