CLI tools for agentharnesses.io
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentharnesses_cli-0.1.6.tar.gz.
File metadata
- Download URL: agentharnesses_cli-0.1.6.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bd0e1eca13aee07966adf1e137ccf4e846896e17d97d0ecdad7a0ca8a29e916
|
|
| MD5 |
33014da842a70703347aa5e0665424e1
|
|
| BLAKE2b-256 |
e2e95ec032d6aed8905c60346b5f4ddbd2c3dcee4299f60a2b4e705297d362aa
|
Provenance
The following attestation bundles were made for agentharnesses_cli-0.1.6.tar.gz:
Publisher:
pypi.yaml on agentharnesses/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentharnesses_cli-0.1.6.tar.gz -
Subject digest:
2bd0e1eca13aee07966adf1e137ccf4e846896e17d97d0ecdad7a0ca8a29e916 - Sigstore transparency entry: 1960534881
- Sigstore integration time:
-
Permalink:
agentharnesses/cli@06f3a566e1b67daaf07acf7e626bfa9f63a3aa4c -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/agentharnesses
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@06f3a566e1b67daaf07acf7e626bfa9f63a3aa4c -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentharnesses_cli-0.1.6-py3-none-any.whl.
File metadata
- Download URL: agentharnesses_cli-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e19e7a6e28efce1cb28265d82d9ad23c8e6fe17a86e7a3766650946aaf949f7
|
|
| MD5 |
9af296c4f7f7ef7e4ceeadb0586cd086
|
|
| BLAKE2b-256 |
5349be210bffedfb6ca4ec1a717aaa9e7e92f6ddd105c34b4859212b89571079
|
Provenance
The following attestation bundles were made for agentharnesses_cli-0.1.6-py3-none-any.whl:
Publisher:
pypi.yaml on agentharnesses/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentharnesses_cli-0.1.6-py3-none-any.whl -
Subject digest:
6e19e7a6e28efce1cb28265d82d9ad23c8e6fe17a86e7a3766650946aaf949f7 - Sigstore transparency entry: 1960535030
- Sigstore integration time:
-
Permalink:
agentharnesses/cli@06f3a566e1b67daaf07acf7e626bfa9f63a3aa4c -
Branch / Tag:
refs/tags/v0.1.6 - Owner: https://github.com/agentharnesses
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@06f3a566e1b67daaf07acf7e626bfa9f63a3aa4c -
Trigger Event:
push
-
Statement type: