Skip to main content

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

agentharnesses_cli-0.1.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentharnesses_cli-0.1.4-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file agentharnesses_cli-0.1.4.tar.gz.

File metadata

  • Download URL: agentharnesses_cli-0.1.4.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agentharnesses_cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 0ef65a2688a279b36de1a8ad3693c603f162ca023be403c8fa652cd65789585d
MD5 fa1d15f9176a86bf9a933a2552e276d8
BLAKE2b-256 442383d234d308c656e5d7716daf3b0bbf869837a2d96d2c9a0e8f9fd81306f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentharnesses_cli-0.1.4.tar.gz:

Publisher: pypi.yaml on agentharnesses/cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentharnesses_cli-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for agentharnesses_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 13d61b404446cfc13d7916c4a9c1ae1b33edbe6bc5da934775f36b085d69f749
MD5 ac4b5d77f089ede8765e1dfd88f4b2ff
BLAKE2b-256 811dcc101ec58cf70372d303cfb9601948a5334a29dd2b76edcbb853e90d3780

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentharnesses_cli-0.1.4-py3-none-any.whl:

Publisher: pypi.yaml on agentharnesses/cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page