Your first run
A first run needs the agent’s URL and a terminal. Nothing here touches production: the tests run in a sandbox on the machine where you type the commands.
Before you start
Section titled “Before you start”- An agent you can reach by URL: an OpenAI-compatible endpoint, A2A or plain HTTP. A staging instance is the usual choice.
- Docker or Podman on the machine, for the sandbox.
- An OverMind organization and an API key that may upload runs. An admin creates the key in Settings; see Roles and API keys.
1. Initialize
Section titled “1. Initialize”From the root of the agent’s repository:
npx @renaiss/overmind initinit looks at the repository and detects the framework, the MCP servers the agent uses and
its tools. It leaves two things behind:
| What | What it is |
|---|---|
overmind.yaml |
The agent’s Policy, started from the template for its type: customer service, collections, sales assistant, internal helpdesk or back-office processing |
| Mocks | One mock per MCP server, generated from the schemas of its tools and filled with synthetic data. To change a fixture or a response, put your version under overmind/mocks/ |
The Policy is an ordinary file. Commit it with the rest of the code.
2. Read the Policy
Section titled “2. Read the Policy”Open overmind.yaml before running anything. The template is a starting point, and the tests
that matter most to you come from what you write here: which tools are destructive, which
amounts need approval, what the agent must never say.
A first pass takes three edits:
- Under
tools, set the risk of each tool (read,writeordestructive). - Under
rules, replace the template’s examples with two or three rules of your own process. - Under
limits, set the cost per task you expect.
The Policy describes every section.
3. Run
Section titled “3. Run”overmind run --level smokesmoke is the quick level: each test runs three times. The command starts the sandbox, plays
simulated users against the agent, judges each execution and uploads the result. Your code stays
where it is. What is uploaded is the result and the evidence, with personal data masked first.
Without a terminal, the same run starts from the agent’s page in the panel, once an admin has allowed runs from the panel: Run, level Smoke. See Run from the panel.
4. Read the result
Section titled “4. Read the result”The run appears in the panel under Runs. Look at four things, in this order.
| Look at | It tells you |
|---|---|
| Failing Critical tests | What has to be fixed before anything else. Each one is a finding with a transcript and a reproduction command |
| The four gates | Where the agent is weak: Security, Robustness, Business or Build |
| Coverage and confidence | How much of the agent the run could test. A first run by endpoint alone has low coverage |
| Readiness Score | The summary, 0 to 100. Read it after the other three |
To see a failure again, copy the command from the finding. It names the seed and the test, so it repeats the same execution:
overmind run --level standard --seed 2923588078248863 --only SEC-EXA-0025. Raise coverage
Section titled “5. Raise coverage”A low-confidence score is an honest one, and the way to improve it is to let OverMind see more. Give it the tool schemas so the mocks cover every tool, then the system prompt, then read access to the repository. Each step is described in Connection levels, and none of them needs access to production.
6. Gate pull requests
Section titled “6. Gate pull requests”When the result makes sense to the team, put it on every change:
overmind ci --gateRun it from a GitHub Action or a GitLab job, or install the GitHub App and let it trigger the run. A run on the default branch that passes its check becomes the baseline, and from then on every pull request is compared with it test by test. See Pull requests and nightly runs.
The full list of commands is in the CLI reference.