For solo developers
Ship one guardrail, observer, context injector, or workflow hook without binding it to one agent CLI.
Universal agent event layer
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.
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.
Codex, Claude Code, Hermes, Pi, OMP, OpenCode, or Antigravity emits lifecycle data.
Hitch maps it to a stable event while retaining the original payload.
Configured commands inspect events and return decisions.
Decisions, audit rows, and replayable history stay in one place.
Ship one guardrail, observer, context injector, or workflow hook without binding it to one agent CLI.
Let developers choose their harness while platform teams centralize lifecycle routing, execution, observability, and replay.
Quick start
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
References
Use the latest reference page for the full handler protocol, event taxonomy, HTTP API, harness contracts, replay flow, and schemas.
Status values, decision behaviors, stdout parsing, timeout handling, and aggregation rules.
GuideStep-by-step handler development, config mapping, decisions, and runnable examples.
EventsNormalized event taxonomy and source-event mappings for Codex, Claude Code, Hermes, Pi, OMP, OpenCode, and Antigravity.
APIHealth checks, event ingestion, synchronous dispatch, inspection, and replay entry points.
AdaptersCodex, Claude Code, Hermes, Pi, OMP, OpenCode, and Antigravity behavior at the native boundary.
SchemasEnvelope, handler result, and dispatch result schema files for tests and integrations.