H Local coding harness

Practical guides

Step-by-step guides for switching clients mid-run, reviewing diffs, delegating to subagents, importing pi archives, and extending H.

Each guide below walks through a complete task against your local H daemon. Confirm your server is running with hi daemon status, or complete Set up H first.

Daily workflows

Configuration recipes

Development recipes

  • Build a client: connect to /api/v1, stream conversation events over SSE, and verify idempotent command retries.
  • Author a harness profile: define custom agent instructions and tool sets for new sessions.
  • Hooking into core: choose between SSE streams, H.ExecutionEnv, and startup contracts.
  • Extend the hi CLI: add a standalone hi-<name> subcommand on your PATH.