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.5.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.5-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentharnesses_cli-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 5fcf705987192aed2467f1cc1c4c5b26d19ebdce56e8ce06cf8f5b4bab8cac76
MD5 c8aeb55a47d90d257e4a822e283a3351
BLAKE2b-256 99b2aca2efff4b7906d48dfbded5d8700be328daa9d01be3eacce16f42d623c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for agentharnesses_cli-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 66e2a9d245901abe30c0d8c70a1ef2121cffef633ba64954cf0240c06d2e328e
MD5 bc3fd4ff90bd16c40d609ddf2a37fe2f
BLAKE2b-256 feb8ed16a9ba0f5504d9dcae204e63e4aab80a99fab105500cdfe5fc047221d4

See more details on using hashes here.

Provenance

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