Command line
The CLI is how tests run. It executes on a developer’s laptop or in a CI job, inside your network, where the agent and its repository are. It reads the repository locally and uploads only results and masked evidence.
Install
Section titled “Install”npx @renaiss/overmind initnpx downloads the overmind binary for your platform and runs it. In CI, the same binary is
used by the GitHub Action and by the GitLab job. overmind version prints the version in use.
The CLI authenticates against the control plane with an API key.
Commands
Section titled “Commands”| Command | Does |
|---|---|
overmind init |
Detects the framework, the MCP servers and the tools; generates the mocks and the Policy from a template |
overmind run |
Runs the tests locally or in CI and uploads the result |
overmind ci --gate |
Runs, compares with the baseline and sets the check on the pull request |
overmind fix <finding> |
Applies the suggested patch locally and verifies it |
overmind shield init |
Produces the change that enables Shield, locally |
overmind export |
Exports the Evidence Pack and SARIF |
overmind init
Section titled “overmind init”Run it once, at the root of the agent’s repository. It detects the framework the agent is
built on, its MCP servers and its tools, generates a mock for each tool from its schema and
writes the Policy, overmind.yaml, from the template for the agent’s type: customer service,
collections, sales assistant, internal helpdesk or back-office processing.
The Policy it writes is a starting point. Read it, correct the risk of each tool and add your business rules before the first run. See The Policy and Your first run.
overmind run
Section titled “overmind run”overmind run --level smokeovermind run --level standardovermind run --level deep| Flag | Meaning |
|---|---|
--level smoke|standard|deep |
How many times each test is executed: K = 3, K = 10 or K = 20 |
--seed <number> |
Fixes the execution: the simulated user, the wording, the mock data and the timing of faults |
--only <test id> |
Runs one test |
--seed and --only together reproduce one execution exactly. Every finding carries the
command that does it:
overmind run --level standard --seed 2923588078248863 --only SEC-EXA-002What a run does, step by step, is in Runs.
The same run can start from the panel, with the same level, test and seed: the Run button on an agent shows the command that matches what you ask. See Run from the panel.
overmind ci --gate
Section titled “overmind ci --gate”The command for pull requests. It runs the tests, compares the result with the baseline test by test and sets the check. The check is red only on a failing Critical or a clear regression; the exit status follows the check, so the job fails when the check does.
It runs from the GitHub Action or from a GitLab job. See Pull requests and nightly.
overmind fix
Section titled “overmind fix”overmind fix OM-2054Applies the patch a finding suggests to your working copy and runs the detecting test on it. It is the local equivalent of the Builder’s fix pull request, for repositories where OverMind has no write access. You review the change and commit it yourself. See Findings and fixes.
overmind shield init
Section titled “overmind shield init”Writes into your working copy the same change the Builder would open as a pull request: the
agent’s model and MCP addresses pointed at Shield, the session header, the deployment manifest
of the proxy and the runtime section of the Policy. See
Turn Shield on.
overmind export
Section titled “overmind export”Exports the Evidence Pack and a SARIF file. The SARIF file loads the findings into GitHub code scanning; see Integrations.
Operator commands
Section titled “Operator commands”The same binary holds the commands that run the platform: overmind server, worker,
migrate, org, plan and rekey. They concern whoever operates the installation, not the
team that owns an agent, and they are documented in
Running the control plane.