Universal agent event layer

One lifecycle surface for every agent harness.

Hitch turns Codex, Claude Code, Hermes, Pi, OMP, OpenCode, and Antigravity hooks into one portable event protocol. Preserve native payloads, normalize lifecycle events, and route decisions through local or remote handlers.

The problem

Every harness speaks a different lifecycle language.

Each agent CLI has its own event names, payloads, response rules, and lifecycle boundaries. Guardrails, observers, context injectors, and workflow hooks should not have to chase seven native formats.

Native JSON preserved Normalized event taxonomy Harness-native responses at the edge

Hitch in action

01Harness

Codex, Claude Code, Hermes, Pi, OMP, OpenCode, or Antigravity emits lifecycle data.

02Envelope

Hitch maps it to a stable event while retaining the original payload.

03Handler

Configured commands inspect events and return decisions.

04Observe

Decisions, audit rows, and replayable history stay in one place.

Use cases

Guardrails for one developer. Lifecycle routing for a team.

For solo developers

Ship one guardrail, observer, context injector, or workflow hook without binding it to one agent CLI.

For teams

Let developers choose their harness while platform teams centralize lifecycle routing, execution, observability, and replay.

Quick start

Local-first. Remote-ready.

Run Hitch as a local daemon for your own agents, or point hook shims at a shared Hitch service for team-wide lifecycle routing and observability.

curl -fsSL https://raw.githubusercontent.com/sagebynature/hitch/main/scripts/install.sh | sh
hitch serve --config ~/.config/hitch/config.toml
hitch status --json
hitch doctor --json
hitch-client install --only codex --dry-run --json
hitch-client install --only claudecode --dry-run --json
hitch-client install --only opencode --yes --json