tinyhumansai/openhuman · error

Unsupported browser backend '{raw}'. Use 'agent_browser', 'p

Error message

Unsupported browser backend '{raw}'. Use 'agent_browser', 'playwright', 'rust_native', 'computer_use', or 'auto'

What it means

BrowserBackendKind::parse normalized the raw backend string (trimmed, lowercased, dashes to underscores) and still found no matching variant, so the requested browser backend cannot be resolved to a driver and startup of that backend aborts.

Source

Thrown at src/openhuman/tools/impl/browser/types.rs:70

#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub(crate) enum ResolvedBackend {
    AgentBrowser,
    Playwright,
    RustNative,
    ComputerUse,
}

impl BrowserBackendKind {
    pub(crate) fn parse(raw: &str) -> anyhow::Result<Self> {
        let key = raw.trim().to_ascii_lowercase().replace('-', "_");
        match key.as_str() {
            "agent_browser" | "agentbrowser" => Ok(Self::AgentBrowser),
            "playwright" => Ok(Self::Playwright),
            "rust_native" | "native" => Ok(Self::RustNative),
            "computer_use" | "computeruse" => Ok(Self::ComputerUse),
            "auto" => Ok(Self::Auto),
            _ => anyhow::bail!(
                "Unsupported browser backend '{raw}'. Use 'agent_browser', 'playwright', 'rust_native', 'computer_use', or 'auto'"
            ),
        }
    }

    pub(crate) fn as_str(self) -> &'static str {
        match self {
            Self::AgentBrowser => "agent_browser",
            Self::Playwright => "playwright",
            Self::RustNative => "rust_native",
            Self::ComputerUse => "computer_use",
            Self::Auto => "auto",
        }
    }
}

/// Response from agent-browser --json commands
#[derive(Debug, Deserialize)]

View on GitHub (pinned to 7491200858)

Solutions

  1. Use one of the supported names: 'agent_browser', 'playwright', 'rust_native', 'computer_use', or 'auto'
  2. For the native backend the alias 'native' is also accepted; check for typos in configuration or tool arguments
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/openhuman/tools/impl/browser/types.rs:70 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/8f0f25faed06d329. Report an issue: GitHub.