agentharnesses-cli
CLI for agentharnesses.io — scaffold and manage Agent Harnesses.
Installation
pip install agentharnesses-cli
Usage
ahar --help
ahar init
Initialize a new harness in the current directory:
ahar init
Optionally specify a name (defaults to the directory name):
ahar init my-harness
Scaffolds the following structure:
my-harness/
├── HARNESS.md # entry point and agent identity
├── README.md # human-facing description
├── .gitignore
├── .claude/settings.json # registers the harness as a Claude Code plugin
├── skills/
│ └── SKILLS.md # skill index
└── references/
└── REFERENCES.md # reference index
When using the claude preset (default), also installs:
├── .claude/skills/agent-harnesses/ # metaskill for progressive harness exploration
└── skills/
└── maintenance/
├── SKILLS.md
└── modify-harness/
└── SKILL.md
The metaskill is cloned fresh from agentharnesses/metaskill at init time, so you always get the latest version.
ahar validate
Validate a harness directory structure:
ahar validate ./my-harness
ahar read
Read a property from a harness's HARNESS.md frontmatter:
ahar read ./my-harness name
ahar read ./my-harness description
ahar prompt
Render a harness as prompt XML for agent injection:
ahar prompt ./my-harness
These commands are backed by harnesses-ref, the reference implementation for the Agent Harnesses standard.
Publishing
Releases are published to PyPI automatically when a version tag is pushed:
git tag v1.0.0
git push origin v1.0.0
The GitHub Actions workflow builds the package and publishes it via trusted publishing (no API token required). The version is derived from the tag via hatch-vcs.
License
Apache 2.0
Metadata
Release files for agentharnesses-cli 0.1.7
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 | |
|---|---|---|---|---|
| agentharnesses_cli-0.1.7.tar.gz | 9.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentharnesses_cli-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / agentharnesses_cli-0.1.7.tar.gz
| Download URL | agentharnesses_cli-0.1.7.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43f7ca37ebabe216f596da7e75415877deb1a3749b4c4da5278195fa34b91d68
|
|
BLAKE2b-256 checksum How to use checksums |
d5c63676b4e8f54c5be46801cb0cd069678446ca8209f1af938fc3fb11577938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logRelease files / agentharnesses_cli-0.1.7-py3-none-any.whl
| Download URL | agentharnesses_cli-0.1.7-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76f54d0781d87ad39ebb2d11300ee1ef083a75f4392e95ae6de31c87e9cc05f7
|
|
BLAKE2b-256 checksum How to use checksums |
b08a7c0aa4fa8c34891ffbd9d33594b7be11b9f3b7e2503767ff2cd2d4ab5c4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logSecurity for agentharnesses-cli 0.1.7
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for agentharnesses_cli-0.1.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 19, 2026.
Transparency logA 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.