Vasiliy Uvarov

Writing · Vasiliy Uvarov — Agent = Model + Harness: Inside AAH and AAHC

Why production reliability lives in deterministic guards, OS sandboxing, SHA-256 approval receipts, and human-owned merge gates.

Key takeaway

Production agent reliability comes from separating reasoning from enforcement: AAH governs in-session rules and review passes across coding agents, while AAHC enforces OS sandboxing, spend caps, and owner-only (0600) SHA-256 human approval receipts out-of-session before any merge.

Why models alone fail in production

Most companies now spend on AI. Few can show what it delivered or trust an agent near a real repository. Model capability is no longer the main bottleneck — control, verification, and repeatable delivery are.

An agent in production is never just a model. It is a model plus a harness: the rules, routing, sandboxes, review passes, and approval gates that decide what the model may touch and what counts as done.

In-session control: AAH (AI Agents Harness)

AAH is a tool-neutral in-session harness spanning Claude Code, OpenAI Codex, Cursor, and Antigravity. Engineering teams keep their preferred coding agent while a single repository enforces shared rules, deterministic routing, role-scoped presets, and fail-closed guards.

Workflows are stored as data manifests rather than prose instructions. A plain program follows the manifest and enforces MCP allowlists, git-safety guards, spend caps, and adversarial review with a refuter that tries to disprove each finding. The model does the thinking; it does not decide routing, retries, or merges.

Out-of-session enforcement: AAHC (AI Agents Hive Core)

Guards inside an agent session can only go so far. AAHC is a headless Rust runtime and delivery plane that runs outside any agent session to enforce hard security and spend boundaries.

AAHC separates OS sandboxing from permission prompts, runs with pinned container image digests and one-use 0600 secret env files, tracks cross-vendor rate-limit windows and spend budgets, and provides a shared kill switch. Human approval mints an owner-only (0600) cryptographic receipt bound to the exact SHA-256 plan and commit digest. Tampered plans, replayed receipts, mutated PR head SHAs, and agent self-approval attempts are refused with zero side effects.

Current scope and claim boundaries

Attended, human-gated workflows are what run today: agents open reviewed pull requests, and a human approves every merge and acceptance decision. Unattended enterprise fleet autonomy remains design work rather than a shipped claim.

For day-to-day parallel terminal sessions, I also publish cmux-agents-sidebar on GitHub — a local-only sidebar control panel with zero network calls that catches tool loops, overlapping file edits, context saturation, and rate limits while deliberately omitting one-click permission approval so a human reads every prompt.

Summary at a glance

Responsibility boundary across AAH, AAHC, and cmux-agents-sidebar
AAH (AI Agents Harness)In-session across Claude Code, Codex, Cursor, AntigravityData manifests, deterministic routing, role presets, MCP allowlists, adversarial refuterApproves plan and reviews PR findings
AAHC (AI Agents Hive Core)Out-of-session headless Rust delivery planeOS sandboxing, pinned container digests, one-use 0600 secrets, spend budgets, kill switchMints 0600 SHA-256 approval receipt; owns every merge
cmux-agents-sidebarLocal-only terminal sidebar (zero network calls)Loop detection, overlapping file-edit alerts, context saturation, rate-limit trackingOmits one-click approval so a human reads every prompt

Continue reading