Onus docs
Introduction · Onus docs

Introduction

What Onus does, how to install it, and where to find each topic.

Onus turns a pull request into a short report of changes in meaning: new external services, contract changes, new relationships between components, weakened tests, broken rules. Every row is computed from the code by deterministic analysis, never generated, and links to the files and lines behind it. Onus only reads files: it never installs or runs the code it analyzes.

Install

With Homebrew, on macOS or Linux:

brew install onushq/tap/onus

Or with the installer, which checks the download's SHA-256 and puts onus in ~/.local/bin:

curl -fsSL https://onushq.com/install.sh | sh

Then, in a git repository:

onus report --base main --head HEAD

Archives for macOS, Linux and Windows are on the releases page, and the GitHub Action reports on every pull request (see CI).

The guide

These pages are the guide that ships inside the onus binary: onus help <topic> prints any of them in the terminal, offline.

TopicWhat it covers
getting-startedInstall Onus, build a map and read your first report
commandsEvery command and flag, with examples and exit codes
reportsReading a report: rows, ranking, evidence, the changed lines tests ran and the JSON
changesEvery kind and subkind of change Onus reports
configurationThe onus.yaml reference: components, rules, labels, extractors
intentChecking a change against its stated intent
ciRunning Onus on every pull request, and outcome records kept by CI
agentsThe map for coding agents: onus mcp, its tools, many agents and worktrees
scopesTask tokens, the git gateway, escalation with evidence and the audit log
lanesRisk lanes, change submissions, the learned model, the verifying judge, outcome records and provenance
productionProduction signals, rollout plans per lane and automatic rollback
web-interfaceThe web interface: onus ui opens all of it in your browser
environmentsEnvironments built from a commit, the evidence store, traces and coverage into the map, and the behavior diff
cloudOnus Cloud from the CLI: onus login, scoped tokens, hosted environments, evidence, escalations, maps and agents
pluginsNew languages and frameworks, SCIP indexes, language servers, trusted mode
how-it-worksHow maps are built and compared
troubleshootingMap confidence notes, common questions and current limits
The source is in the onus repository.