tinyhumansai/openhuman · error

claude CLI not found or not executable (configured binary='{

Error message

claude CLI not found or not executable (configured binary='{}'): {}. Install from https://claude.ai/code or set claude_agent_sdk.binary in config.

What it means

Doctor claude_agent_sdk probe: spawning the claude CLI failed at the process level (io error — not found or not executable), for the binary named in claude_agent_sdk.binary (or the default lookup). Delegation to a claude CLI agent cannot work until a working CLI is installed or the config path is corrected. The message embeds the corrective actions: install from the docs or fix the config key.

Source

Thrown at src/openhuman/platform/doctor/core.rs:1070

                format!(
                    "claude CLI execution failed (binary='{}', status={}). {}",
                    sdk.binary,
                    output.status,
                    truncate_for_display(preview, COMMAND_VERSION_PREVIEW_CHARS)
                ),
            ));
            tracing::debug!(
                "probe:claude_agent_sdk:exit binary={} result=warn",
                sdk.binary
            );
        }
        Err(err) => {
            tracing::warn!(
                "probe:claude_agent_sdk:warn binary={} err={}",
                sdk.binary,
                err
            );
            items.push(DiagnosticItem::warn(
                "claude_agent_sdk",
                format!(
                    "claude CLI not found or not executable (configured binary='{}'): {}. \
                     Install from https://claude.ai/code or set claude_agent_sdk.binary in config.",
                    sdk.binary, err
                ),
            ));
            tracing::debug!(
                "probe:claude_agent_sdk:exit binary={} result=warn",
                sdk.binary
            );
        }
    }
}

// ── Helpers ──────────────────────────────────────────────────────

fn parse_rfc3339(input: &str) -> Option<DateTime<Utc>> {

View on GitHub (pinned to 7491200858)

Solutions

  1. Install the Claude Code CLI from https://claude.ai/code
  2. Or set claude_agent_sdk.binary in config.toml to the absolute path of an existing binary
  3. Ensure the binary has execute permission and matches the host architecture
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/openhuman/platform/doctor/core.rs:1070 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/f08e42c4938cec6c. Report an issue: GitHub.