Skip to content
HAR 2.0.0 is here: standard OpenTelemetry and Factory Commits proofs in git. Read the announcement · Upgrade from 1.x

Installation

  • Node.js 20 or newer
  • npm
  • Git
  • Docker — required. Mission Control runs as a container (har control up) and harness profiles start shared infrastructure through Docker Compose (har env setup-infra). Install it from docs.docker.com and make sure the daemon is running before you onboard.

har onboard probes Docker on start and warns when the CLI is missing or the daemon is down. Onboarding still completes without Docker, but it will not offer to start Mission Control until Docker is available.

Terminal window
npm install -g @osfactory/har@latest
har --version

HAR’s CLI, MCP server, bundled harness profiles, and Mission Control launcher ship in the same @osfactory/har package.

Nothing is recorded from your agents until you agree: har onboard asks, or har telemetry enable. No command writes ~/.har/telemetry.json before such an answer. The default level is outline everywhere (every step and its timing, no text → local Mission Control, or the hosted HAR HQ if you choose it): har onboard offers it, and har telemetry enable with no level and no earlier choice records at it (a machine whose hooks an earlier HAR installed keeps recording full). Record the text too with har telemetry on --level full (prompts, replies and tool I/O), less with --level usage (tokens and cost), or nothing with har telemetry off. For a guided first run in a repository (agents, telemetry, Mission Control or HAR HQ, commit gate and proofs), use har onboard: it writes the HAR workflow into AGENTS.md and installs no skills (add them with har agents install).

Separately, the published package sends anonymous crash reports (error, stack trace, HAR command and versions; no arguments or file contents) to the HAR maintainers. Opt out with har error-reporting off or DO_NOT_TRACK=1; builds from source send nothing unless built with their own HAR_SENTRY_DSN. See har error-reporting.

Terminal window
git clone https://github.com/os-factory/har.git
cd har
npm install
npm run build
npm link

Re-run npm run build after source changes. Remove the global link with:

Terminal window
npm unlink -g @osfactory/har

Start HAR as a stdio MCP server:

Terminal window
har mcp --repo /absolute/path/to/your/repository

For clients that accept JSON MCP configuration:

{
"mcpServers": {
"har": {
"command": "har",
"args": ["mcp", "--repo", "/absolute/path/to/your/repository"]
}
}
}

The configured repository is the default. Every MCP tool also accepts a repo argument, so one server can operate another harness explicitly.

Terminal window
npm install -g @osfactory/har@latest
har env maintain

Updating the package never silently overwrites an adapted .har/ directory. Use maintain to inspect template drift and apply updates deliberately.