harness-detect (Python)
Detect installed LLM harnesses (Codex, Claude Code, Gemini CLI, Cursor, and many others) and resolve their config/state/install paths from a shared JSON registry.
This is the Python port of @auron-labs/harness-detect. It shares the same harness
registry as the TypeScript, Go, and Rust packages and exposes the same API
surface, adapted to idiomatic Python naming.
Installation
pip install harness-detect
Supported distribution targets are npm (@auron-labs/harness-detect), Go modules (github.com/auron-labs/harness-detect/packages/golang/harnessdetect, released by packages/golang/vX.Y.Z tags), crates.io (harness-detect), and PyPI (harness-detect). Before the first public release for an ecosystem, these install commands are the intended consumer coordinates and may not resolve yet.
Usage
from harness_detect import detect_installed_harnesses, CheckOptions
for r in detect_installed_harnesses(CheckOptions()):
print(r.key, r.reasons)
Support metadata is also available:
from harness_detect import get_harness_support, list_harness_support
codex = get_harness_support("codex")
print(codex.support.config.global_.status)
print(len(list_harness_support()))
Exported API
get_raw_harness_data()returns the full registry object.get_harness_matrix()returns the full registry object.list_harnesses()returns the registry's harness definitions.get_harness_acpreturns ACP metadata for one harness key or alias.detect_installed_acp_launcheslists ACP agents launchable from installed binaries, as absolutecommandpaths withargs.list_harness_acpreturns ACP metadata for every harness; absent metadata isunknown.get_harness_support(input)returns support metadata for one harness key or alias.list_harness_support()returns support metadata for every harness.check_harness(input, options=None)checks one harness key or alias.detect_harnesses(options=None)checks every registry entry.detect_installed_harnesses(options=None)returns only installed harnesses.
See the package docs for the full API reference.
ACP metadata describes local stdio launches and optional adapter registry keys,
independently of file-location support. Read acp.status, follow acp.adapter
when present, and select a platform-matching recipe from acp.launches. Read the
owner's installation requirements and notes before launching. See the ACP contract
for the optional stored shape and adapter lookup rules.
Metadata
Release files for harness-detect 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| harness_detect-0.4.0.tar.gz | 80.2 kB | Without provenance | Details for harness_detect-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| harness_detect-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for harness_detect-0.4.0-py3-none-any.whl |
Total release size: 137.5 kB
Release files / harness_detect-0.4.0.tar.gz
| Download URL | harness_detect-0.4.0.tar.gz |
|---|---|
| Size | 80.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54e4450aa3c1143de8b4912315ed48e0a6bbd87c5008044294c53cbd8568b4ae
|
|
BLAKE2b-256 checksum How to use checksums |
83fe963e2e1bd2a6fc4906caa75eeb9b070dd5305e3757c86506b9a39ece254c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / harness_detect-0.4.0-py3-none-any.whl
| Download URL | harness_detect-0.4.0-py3-none-any.whl |
|---|---|
| Size | 57.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a182da0a1c212bebb55b2df47ea5082efaf5baf70c7ec2b921862975eba56aff
|
|
BLAKE2b-256 checksum How to use checksums |
29011d4146d79ce0b3f3fe1b20681dc8e5a1e7de9da586f43abe81b824647858
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for harness-detect 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.