{"record":{"id":"6d2e2d7c8ea9ecc2","repo":"NousResearch/hermes-agent","slug":"op-cli-not-found-install-the-1password-cli-http","errorCode":null,"errorMessage":"op CLI not found.  Install the 1Password CLI (https://developer.1password.com/docs/cli/get-started/) or set secrets.onepassword.binary_path to its absolute location.","messagePattern":"op CLI not found\\.  Install the 1Password CLI \\(https://developer\\.1password\\.com/docs/cli/get-started/\\) or set secrets\\.onepassword\\.binary_path to its absolute location\\.","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"agent/secret_sources/onepassword.py","lineNumber":366,"sourceCode":"        _auth_fingerprint(token_env),\n        account or \"\",\n        str(home_path) if home_path is not None else \"\",\n        _refs_fingerprint(valid),\n    )\n\n    if use_cache:\n        cached = _CACHE.get(cache_key)\n        if cached and cached.is_fresh(cache_ttl_seconds):\n            return dict(cached.secrets), warnings\n        disk_cached = _DISK_CACHE.read(cache_key, cache_ttl_seconds, home_path)\n        if disk_cached is not None:\n            # Promote into L1 so later fetches in this process skip the disk read.\n            _CACHE[cache_key] = disk_cached\n            return dict(disk_cached.secrets), warnings\n\n    op = binary or find_op(binary_path)\n    if op is None:\n        raise RuntimeError(\n            \"op CLI not found.  Install the 1Password CLI \"\n            \"(https://developer.1password.com/docs/cli/get-started/) or set \"\n            \"secrets.onepassword.binary_path to its absolute location.\"\n        )\n\n    secrets: Dict[str, str] = {}\n    read_errors = 0\n    for name in sorted(valid):\n        try:\n            secrets[name] = _run_op_read(\n                op, valid[name], account=account, token_value=token_value\n            )\n        except RuntimeError as exc:\n            warnings.append(str(exc))\n            read_errors += 1\n\n    if use_cache and not read_errors and secrets:\n        entry = CachedFetch(secrets=dict(secrets), fetched_at=time.time())","sourceCodeStart":348,"sourceCodeEnd":384,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/agent/secret_sources/onepassword.py#L348-L384","documentation":"Error \"op CLI not found.  Install the 1Password CLI (https://developer.1password.com/docs/cli/get-started/) or set secrets.onepassword.binary_path to its absolute location.\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at agent/secret_sources/onepassword.py:366 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install the 1Password CLI per the official docs.","Or set secrets.onepassword.binary_path to the absolute path of the op binary."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}