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.6.tar.gz (6.5 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.6-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

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

Hashes for agentharnesses_cli-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2bd0e1eca13aee07966adf1e137ccf4e846896e17d97d0ecdad7a0ca8a29e916
MD5 33014da842a70703347aa5e0665424e1
BLAKE2b-256 e2e95ec032d6aed8905c60346b5f4ddbd2c3dcee4299f60a2b4e705297d362aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentharnesses_cli-0.1.6.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.6-py3-none-any.whl.

File metadata

File hashes

Hashes for agentharnesses_cli-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6e19e7a6e28efce1cb28265d82d9ad23c8e6fe17a86e7a3766650946aaf949f7
MD5 9af296c4f7f7ef7e4ceeadb0586cd086
BLAKE2b-256 5349be210bffedfb6ca4ec1a717aaa9e7e92f6ddd105c34b4859212b89571079

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentharnesses_cli-0.1.6-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