Globally-installed agent harness framework that generates AI coding assistant primitives into any target workspace
Project description
title: autoharness description: Globally-installed agent harness framework that generates AI coding assistant primitives into any target workspace
autoharness
A globally-installed agent harness framework that composes AI coding assistant primitives into any repository workspace. Discover your workspace's technology stack, then generate a customized set of agents, instructions, skills, prompts, policies, and constitutional foundations — all tailored to your codebase.
Install once globally. Invoke against any workspace. The target receives only finished harness artifacts, never engine files.
The Problem
Modern AI coding assistants (GitHub Copilot, Claude Code, Cursor, Codex) work dramatically better with structured guidance: agent definitions, skill workflows, coding instructions, review personas, and workflow policies. Building these from scratch for every repo is tedious. Maintaining them as the codebase evolves is worse.
How It Works
Discover Install Tune
───────── ──────▶ ─────────── ──────▶ ─────────
Scan workspace Compose tailored Adapt harness as
profile: languages, harness from the the codebase,
frameworks, build 10 universal docs, and team
tools, CI/CD primitive templates conventions evolve
┌──────────────────────────┐ ┌──────────────────────────┐
│ autoharness (global) │ │ target workspace │
│ │ │ │
│ templates/ │──────▶│ AGENTS.md │
│ schemas/ │ reads │ .github/agents/ │
│ agents/ │ tmpl, │ .github/skills/ │
│ skills/ │ writes│ .github/instructions/ │
│ docs/ │ output│ .github/policies/ │
│ │ │ .backlog/ │
│ │ │ .autoharness/ │
└──────────────────────────┘ └──────────────────────────┘
The 10 Primitives
Every effective agent harness implements these irreducible primitives (deep reference):
| # | Primitive | Purpose |
|---|---|---|
| 1 | State, Context & Knowledge Retrieval | Durable memory, checkpoints, retrieval, compaction |
| 2 | Task Granularity & Horizon Scoping | Decompose work to prevent error compounding |
| 3 | Model Routing & Escalation | Match model capability to task complexity |
| 4 | Orchestration, Delegation & Lifecycle Handoffs | Sequence agents through a feature/chore lifecycle |
| 5 | Tool Execution, Safety Modes & Guardrails | Safe environment mutation with policy enforcement |
| 6 | Injection Points & Dynamic Reminders | Surface constraints exactly when needed |
| 7 | Observability & Evaluation | Track agent efficacy, output quality, and entropy |
| 8 | Workflow Policy | Cross-agent sequencing and gate enforcement |
| 9 | Repository Knowledge & Agent Legibility | Structure the repo as a navigable knowledge base |
| 10 | Operational Closure & Feedback | Verify runtime behavior and close the delivery loop |
Presets & Capability Packs
Start light and grow. Presets control the installation shape; capability packs overlay deeper behavior on top.
| Preset | Scope | Best For |
|---|---|---|
| starter | Core planning, execution, guardrails, repo knowledge | First adoption, smaller repos |
| standard | Full 10-primitive harness | Most application and service repositories |
| full | Full harness plus recommended capability packs | Teams wanting deeper verification |
| Pack | Purpose |
|---|---|
| agent-intercom | Operator visibility, heartbeat, approval routing |
| agent-engram | Indexed search, code graph lookup, workspace binding |
| backlogit | backlogit-native query, queue, dependencies, memory/checkpoints, and traceability |
| browser-verification | Browser-aware runtime verification for web UIs |
| continuous-learning | Observation capture, instinct formation, learned artifacts |
| strict-safety | Explicit ProposedAction / ActionRisk / ActionResult tracking |
| release-observability | Richer operational closure and monitoring |
| adversarial-review | Multi-model consensus review and escalation |
See Capability Packs for the full overlay contract and pack details.
Quick Start
# Option A: Copilot CLI plugin (recommended — no Python needed)
copilot plugin marketplace add softwaresalt/autoharness
copilot plugin install autoharness@autoharness
# Option B: Python CLI (for setup-vscode and verify-workspace)
uv tool install autoharness
autoharness setup-vscode # VS Code with GitHub Copilot
# Register with other AI environments (requires Python CLI)
autoharness setup-claude # Claude Code
autoharness setup-codex # Codex
# Install a harness (from the target workspace)
/install-harness preset=standard
# Run deterministic verification against an installed workspace
autoharness verify-workspace --workspace .
If you previously installed the Python CLI from the Git URL, switch once with
uv tool uninstall autoharness && uv tool install autoharness so future
uv tool upgrade autoharness runs upgrade from the published wheel instead of
recloning the repository.
If the target workspace is Git-backed, treat install and tune output as feature-branch work. autoharness may still generate local uncommitted changes while you are on the default branch, but the intended review path is feature branch plus pull request, not a direct commit or push to the default branch.
The marketplace-based plugin install path gives Copilot CLI users built-in versioning and update management with no Python dependency. The Python CLI is still needed for setup-vscode (writing VS Code user settings), verify-workspace (CI-friendly JSON Schema validation), and registering with Claude Code or Codex.
The PyPI package is the stable Python CLI distribution path. Use the Git URL only when you explicitly want an unreleased snapshot from the repository tip.
The setup-claude and setup-codex commands copy agent or skill files into each tool's standard global config directory, so rerun them after upgrading autoharness to refresh those files. setup-vscode writes user-settings pointers to autoharness home; rerun it only if that resolved install path changes.
See Getting Started for the full walkthrough, including workspace configuration, install layers, selective installation, and post-install verification.
Documentation
| Document | Description |
|---|---|
| Getting Started | Install autoharness, configure your workspace, compose a harness |
| Environment Setup | Per-environment registration (VS Code, Copilot CLI, Claude Code, Codex, Cursor) |
| Primitives | Deep reference for the 10 irreducible harness primitives |
| Capability Packs | Overlay pattern, pack catalog, and composition rules |
| Tuning Guide | Maintain and adapt your harness as the codebase evolves, including checksum drift and schema-contract upgrades |
| Backlog Integration | Backlog tool detection, registry abstraction, and manual registration |
| Credits | Sources of inspiration, research, and tools that shaped autoharness |
Acknowledgements
autoharness builds on METR Time Horizons research, OpenAI harness engineering, Anthropic Constitutional AI, atv-starterkit, backlogit, and established software engineering practice. See Credits for the full breakdown.
License
MIT
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 autoharness-1.4.2.tar.gz.
File metadata
- Download URL: autoharness-1.4.2.tar.gz
- Upload date:
- Size: 630.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75854b21e880a80f2f7d5adcf22be0b2314d477e943ea8b5340b90d045c8d6d4
|
|
| MD5 |
a680545b1a4baa510872c47cc2dee310
|
|
| BLAKE2b-256 |
d65796be338a99e4d7bf3b149c0abe2066ad09333dc249fd6641ff90e16363b1
|
Provenance
The following attestation bundles were made for autoharness-1.4.2.tar.gz:
Publisher:
release.yml on softwaresalt/autoharness
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autoharness-1.4.2.tar.gz -
Subject digest:
75854b21e880a80f2f7d5adcf22be0b2314d477e943ea8b5340b90d045c8d6d4 - Sigstore transparency entry: 1564333125
- Sigstore integration time:
-
Permalink:
softwaresalt/autoharness@266f7c51e8eea6b6d2522ed50843d584b4bc6b68 -
Branch / Tag:
refs/tags/v1.4.2 - Owner: https://github.com/softwaresalt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@266f7c51e8eea6b6d2522ed50843d584b4bc6b68 -
Trigger Event:
push
-
Statement type:
File details
Details for the file autoharness-1.4.2-py3-none-any.whl.
File metadata
- Download URL: autoharness-1.4.2-py3-none-any.whl
- Upload date:
- Size: 639.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68e5151fb72f9e0c7a36fc4b5017ba5dae405bfbac2adae418b018dfa4f4d239
|
|
| MD5 |
30ccb758c2c85ace4cac3b20f0d9dfde
|
|
| BLAKE2b-256 |
2f610890f5f45e19c3310bb424c76cff1a5038bff526cb82829f936a3b4e21d6
|
Provenance
The following attestation bundles were made for autoharness-1.4.2-py3-none-any.whl:
Publisher:
release.yml on softwaresalt/autoharness
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autoharness-1.4.2-py3-none-any.whl -
Subject digest:
68e5151fb72f9e0c7a36fc4b5017ba5dae405bfbac2adae418b018dfa4f4d239 - Sigstore transparency entry: 1564333362
- Sigstore integration time:
-
Permalink:
softwaresalt/autoharness@266f7c51e8eea6b6d2522ed50843d584b4bc6b68 -
Branch / Tag:
refs/tags/v1.4.2 - Owner: https://github.com/softwaresalt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@266f7c51e8eea6b6d2522ed50843d584b4bc6b68 -
Trigger Event:
push
-
Statement type: