Terraform for
AI coding agents.

Your whole team's AI coding setup, as code. Rules, skills, MCP servers, models and endpoints - versioned in git, reviewed in merge requests, pinned by digest, applied to every harness.

You already trust git with your code.
Your agents' configuration deserves the same courtesy.

# install or update (re-run any time; sha256-verified against the release)
curl -fsSL https://raw.githubusercontent.com/aignerdevelopment/harnessator/main/install.sh | bash
# brew · nix · AUR · install.ps1 — same release bytes, same checksums
one CLI · nine harnesses · three OSes zero servers — the registry is the format v1.1.2 · stable · surface golden-frozen
the harnessator mascot: a robot wearing a harness of buckles
git
is the distribution: tags, ranges, MRs, no new infra
lock
committed - your PR shows what governance changed
exit 1
drift, integrity and policy as a CI gate
ramps
every refusal prints the fix, paste-ready

Three seats at the same table

Same engine, three very different jobs — and for each one, a day in the life that shows how it feels from inside the chair.

Every workflow, rolling

The thirteen guided journeys the CLI itself lists (harnessator help workflow) — click a card to read its guide, click ‹ › or wait: it rolls on its own every five seconds.

quickstart

Green field, governed from minute one

init → enable → setup → commit and the project's agent config was never not versioned. Ten minutes.

daily

The Tuesday loop

Updates arrive as reviewable lock diffs, hand edits surface as drift, and the sync tripwire applies a moved lock the moment you pull - before the next session burns tokens on yesterday's rules.

hopper

Try every harness, lose nothing

Evaluate the new tool with one config word; governance renders in its native dialect, leaving no fossils when you move on.

adopt

Scattered sediment becomes a source

Harvest the rules and skills already spread across projects into one governed registry - residuals reported, nothing dropped.

notes

One giant AGENTS.md → three ramps

The 400-line wall of prompt turns into reviewable, individually enabled rules - import-only when the bytes aren't yours.

switch

Retarget, deliberately

Change targets, run setup: the old adapter's state is cleaned, the new one rendered - the lock documents every word.

gateway

Your company's model gateway, wired

LiteLLM and friends become one profile every harness speaks - approved catalog, env-name secrets, verified live.

provider-ops

Catalogs that stay true to their gateways

modelupdate probes reality, the mass-removal guard refuses on faith, keys resolve where they live - and never surface.

registry

The component registry is a repo

Layers, inherited profiles, tagged releases - governed with the review, CI and permissions your code already has.

models

Allowed models, enforced not begged

A policy component narrows what every harness may offer; blocked models become unselectable, in review and in CI.

pointers

Borrow, don't mirror

Someone else's repo has the skills you want: [content] points at their bytes, both commits stay pinned in your lock.

ci

Governance as a pipeline fact

harnessator check --json - offline, stable contract, one exit code. The agent setup either matches what was reviewed or the build stops.

review

Trust, but verify - honestly

What this protects against, what it does not, and the security model without marketing: the review guide says both.

‹ › arrows · wait five seconds · click the middle card for its guide

How it works, in four lines

harnessator init --targets opencode,claude,codex --source https://git.acme.corp/ai/governance.git . pin exact commits → harnessator.lock (commit it, review it) harnessator setup render each harness's NATIVE dialect from one source harnessator verify · harnessator check --json drift, integrity and policy in one exit code - offline, in CI

Fail before the tokens

A git pull that moves the lock is a governance event - and until it is applied, every agent session runs yesterday's rules, silently. harnessator makes staleness a hash, not a memory: every apply stamps the exact lock bytes it applied, and one offline command asks the only question that matters.

harnessator sync --check sync: current (applied 2026-12-03T14:36Z) $ git pull # the lock moved upstream harnessator sync --check sync: STALE - the lock moved since the last apply (a pull or branch switch did that) exit 1 - offline, one hash, no network, no store. This used to be invisible. harnessator sync applying... sync: applied - restart any RUNNING harness session to pick up the new rules

And you never have to remember to ask:

1 · The tripwire

harnessator sync - the applied-bytes stamp makes "is my machine current with the lock?" a single offline hash compare, with a stable JSON envelope for tooling.

2 · Self-healing pulls

Post-merge / post-checkout git hooks run the tripwire the moment git moves the lock - warn-only, never breaking a git operation. --shared puts them in a tracked .githooks/ the whole team commits.

3 · The agent gate

Every generated AGENTS.md starts with: sync --check before loading any rule. Fresh clones and forgotten pulls self-heal at session start - the cheapest governance check you will ever run.

4 · The layer contract

Machine sync is owned by the machine (hooks, stamp, agent gate); CI verifies the repository (setup + check). Documented so nobody ever expects the wrong thing from the wrong place.

One honest caveat, stated instead of hidden: rules load per session - after an apply, running sessions need a restart. That is the one step no tool can take for you.

Principles you can verify

One project, one provider truth

One profile, every target rendered dialectically; targets that cannot speak it say so out loud.

Secrets never enter the pipe

Configs carry env-var names; values stay where the harness keeps them - refused in imports, unnamed in errors.

Dead ends are ramps

Mass removals, store collisions, eaten stars - every refusal names its diagnosis and its next command.

1.0 with receipts

Golden-frozen surface, fuzzed write paths, fourteen machine-executed guides, a CHANGELOG that reads like a diary.

Dogfooded, not demoed

harnessator's own harness config is governed by harnessator; this very site ships its own publish rule.

Exit at any time

Plain files, one lock, no daemon. Delete the binary - the rendered config keeps working, the history keeps proving.

State of the project

v1.0.0 - the promise was the plan: the full lifecycle (init → setup → dev → contribute → verify → update → selfupdate), nine adapters and package-manager routes (brew, nix, AUR) are shipped and CI-tested. Stability here is a written, golden-enforced contract - not a vibe.