zeroclaw-labs/zeroclaw · error · anyhow::Error
browser.backend='auto' needs agent-browser CLI…
Error message
browser.backend='auto' needs agent-browser CLI, browser-native, or valid computer-use sidecar (error: {err}) What it means
Backend auto-detection in a build without browser-native found no usable backend: agent-browser CLI missing and the computer-use probe returned an error (embedded). Rust-native is not even compiled in, so the options are installing the CLI or fixing the sidecar.
Solutions
- Provide one usable browser backend (agent-browser CLI, browser-native, or a valid computer-use sidecar); see the error detail.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at crates/zeroclaw-tools/src/browser.rs:425 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of zeroclaw-labs/zeroclaw@88bb9c8533 (2026-08-23).
Data as JSON: /api/errors/1c23b94dbaa35e11.
Report an issue: GitHub.
Appendix: source
Thrown at crates/zeroclaw-tools/src/browser.rs:425
let computer_use_err = match self.computer_use_available() {
Ok(true) => return Ok(ResolvedBackend::ComputerUse),
Ok(false) => None,
Err(err) => Some(err.to_string()),
};
if Self::rust_native_compiled() {
if let Some(err) = computer_use_err {
anyhow::bail!(
"browser.backend='auto' found no usable backend (agent-browser missing, rust-native unavailable, computer-use invalid: {err})"
);
}
anyhow::bail!(
"browser.backend='auto' found no usable backend (agent-browser missing, rust-native unavailable, computer-use sidecar unreachable)"
)
}
if let Some(err) = computer_use_err {
anyhow::bail!(
"browser.backend='auto' needs agent-browser CLI, browser-native, or valid computer-use sidecar (error: {err})"
);
}
anyhow::bail!(
"browser.backend='auto' needs agent-browser CLI, browser-native, or computer-use sidecar"
)
}
}
}
/// Validate URL against allowlist
fn validate_url(&self, url: &str) -> anyhow::Result<()> {
let url = url.trim();
if url.is_empty() {
anyhow::bail!("URL cannot be empty");
}View on GitHub (pinned to 88bb9c8533)