Start

(beta testing)

Getting started

This page is for someone who wants to try Anubys on their own computer. You do not need to know how to write a program. Plan on about 20 minutes. The free parts need no API key and no money.

Anubys is in private beta. MIT license planned. The public install opens soon. The program you type is called harness. The project folder is named ci-agent-regression-harness. Both of those names mean Anubys.

The same steps are in docs/GETTING_STARTED.md (private beta). That file is the canonical source. These checks are also listed on the use cases page.

What Anubys does

Anubys compares a new version of an AI agent with the version you already trust. You give it scenarios, which are practice tasks with a known shape. It runs the The agent you already trust. (the trusted agent) and the The new agent you are considering. (the new agent) on those same tasks. The comparison ends as one verdict.

text

your agent -> scenarios -> baseline vs candidate -> one verdict

  Pass
  Block
  Insufficient evidence
  Invalid run

Those are the only four verdicts. In files they are spelled pass, block, insufficient_evidence, and invalid_run.

The four verdicts.
VerdictIn plain words
Pass The new agent was close enough to the current one that this test says go ahead.
Block The new agent was clearly worse than the current one, so this test says stop.
Insufficient evidence This test cannot yet tell whether the new agent is close enough, so it is not a yes or a no.
Invalid run The test run itself was not reliable, so this result should not be used to decide.

The check a results file section prints the verdict from the sample file with scripts/show_verdict.py. Suite scoring, statistics, and report rendering are still placeholders. The HTML report is deferred to v0.2, post-v0.1.

Before you start

What you need

  • A computer running macOS, Windows, or Linux.
  • About 20 minutes.
  • Python 3.11 or newer. Python 3.12 is fine. Python 3.10 is too old.
  • Git, the tool that downloads the project folder.
  • No API key for the free sections below.
  • No money for the free sections below.

Windows PowerShell can run every command in this guide. You do not need Windows Subsystem for Linux (WSL).

Use the left and right arrow keys to change the computer. Home and End jump to the first and last choice.

Showing steps for macOS.

Open a A window where you type one line, press Enter, and read the reply.

A terminal is a window where you type one line, press Enter, and read the reply.

macOS

Open Spotlight (Command and the space bar), type Terminal, and press Return. You can also open Applications, then Utilities, then Terminal.

Windows (PowerShell)

Open the Start menu, type PowerShell, and open Windows PowerShell. Leave WSL uninstalled unless you already use it for something else.

Linux

Open the app named Terminal, or the terminal that came with your desktop.

The examples below use that window. Type each command yourself. Press Enter at the end of the line.

Install Python 3.11 or newer

Check what you already have before you download anything.

macOS

This prints the Python 3 version, if Python 3 is installed.

shell

python3 --version

Windows (PowerShell)

This prints the Python version the python command points at.

PowerShell

python --version

Linux

This prints the Python 3 version, if Python 3 is installed.

shell

python3 --version

You want a line that starts with Python 3.11 or a newer 3.x, such as Python 3.12. If you see that, skip the installer and go to Install Git.

If the command is missing, or the version is older than 3.11, install Python from the official site: https://www.python.org/downloads/. Pick the latest Python 3 release. It will be 3.11 or newer.

macOS

Run the downloaded installer, then open a new Terminal window.

Windows (PowerShell)

Run the downloaded installer. On the first screen, check the box Add python.exe to PATH. Then finish the install. Close the terminal window and open a new PowerShell window so it can see Python.

Linux

If python3 --version is already 3.11 or newer, keep that Python. Use the python.org installer only when the version is missing or too old.

Install Git

Check Git next. This prints the Git version. Any current version is fine. If you see a version number, skip the Git installer.

shell

git --version

If Git is missing, download it from https://git-scm.com/downloads.

macOS

The git-scm installer works. The first time you type git, macOS may also offer the Xcode command line tools. Either path is fine.

Windows (PowerShell)

Install Git for Windows and accept the default options. This does not install WSL. Close PowerShell and open it again afterward.

Linux

Install the git package from your system, or use the git-scm installer. Many Linux systems already have Git.

Check the versions

Run the version commands again in a new terminal window.

macOS

You want python3 --version to show 3.11 or newer, and git --version to show a version.

Windows (PowerShell)

python --version and git --version do the same jobs.

Linux

You want python3 --version to show 3.11 or newer, and git --version to show a version.

This guide was checked on Linux with Python 3.11.17 and Git 2.43.0. Your patch numbers can be newer. The Python major.minor version needs to be 3.11 or newer.

If you see this error

These are the failures that showed up while checking the install. The quoted lines are real messages from those checks.

Python is not found. A shell with no python command printed:

output

python: command not found

On macOS and Linux, use python3 until the virtual environment is on. After that, python works. On Windows, the same problem means the installer is missing or the Add python.exe to PATH box was unchecked. Run the installer again, choose Modify, check that box, then open a new PowerShell window.

The tool that installs Python packages. This guide uses python -m pip so the pip command itself does not have to be on your PATH. is not found. python -m pip in a Python that was built without pip printed:

output

No module named pip

A normal install from python.org includes pip, and a virtual environment includes it too. Re-run the Python installer. On Windows, choose Modify and include pip. In this guide, install packages with python -m pip so the pip command itself does not have to be on your PATH.

Permission errors. Creating a virtual environment in a folder the computer will not let you write printed:

output

Error: [Errno 13] Permission denied: '/tmp/noperm/venv'

Create the project folder inside your home folder, somewhere your user can write, and run the commands there.

Installing with the system Python, outside a virtual environment, printed:

output

Defaulting to user installation because normal site-packages is not writeable

That means the command missed the virtual environment. Turn the environment on (see below), then run the install again.

The Python version is too old. Installing Anubys with Python 3.10.22 printed:

output

ERROR: Package 'ci-agent-regression-harness' requires a different Python: 3.10.22 not in '>=3.11'

The 3.10.22 piece is the old Python that was tried. Yours may show a different old number. Install Python 3.11 or newer, open a new terminal, and create the virtual environment with that Python.

Install Anubys

There is no pip install anubys package on the public Python package index. Not on PyPI yet. PyPI v0.1 is planned for November 20 to 24. Use one of the two options below.

Start with Option B. It downloads the project folder, which the samples on this page need. Skip Option A for now.

Option B. Download the repository and install the pinned versions

This is the recommended setup for this guide. It is also what the project contributors use. The samples need these cloned files. In a folder where you keep projects:

Private beta. The repository is not public yet, so this command only works if you already have access. The public install opens soon.

shell · (beta testing)

git clone https://github.com/rphua-dev/ci-agent-regression-harness.git

This downloads the project. With access, the check printed Cloning into 'ci-agent-regression-harness'... and left a folder of that name.

Without access, Git stops and waits at this prompt:

output

Username for 'https://github.com':

Press Ctrl+C. Do not type a username or a password. The repository is still private. Wait for the public launch, or use a copy someone has already shared with you.

If Git cannot ask, for example when there is no terminal, it prints this instead:

output

fatal: could not read Username for 'https://github.com': terminal prompts disabled

That line means the same thing.

shell

cd ci-agent-regression-harness

This moves into the project folder. Stay in this folder. You are in the right place when it contains a file named requirements.lock. The spend check and the other samples use paths from here. From another folder, the spend check cannot find its script. A check from /tmp printed:

output

python: can't open file '/tmp/scripts/check_monthly_spend.py': [Errno 2] No such file or directory

Create the virtual environment

A A private folder of Python packages for this project, so the install does not change the Python used by the rest of your computer. is a private folder of Python packages for this project, so the install does not change the Python used by the rest of your computer. Create it only after the cd above.

macOS

This creates a hidden folder named .venv inside the project.

shell

python3 -m venv .venv

This points the word python at that folder for this terminal.

shell

source .venv/bin/activate

Linux

This creates a hidden folder named .venv inside the project.

shell

python3 -m venv .venv

On stock Ubuntu, that command can fail. The check printed:

output

The virtual environment was not created successfully because ensurepip is not
available.

The same message suggested apt install python3.12-venv because that computer's Python was 3.12. On Ubuntu or Debian, install the venv package and then run python3 -m venv .venv again:

shell

sudo apt install python3-venv

This installs the missing venv tool for the system Python. You only need it when the ensurepip message appears. If apt says there is no installation candidate, run sudo apt update and then run the install command again.

This points the word python at that folder for this terminal.

shell

source .venv/bin/activate

Windows (PowerShell)

Still inside the project folder. This creates the same .venv folder.

PowerShell

python -m venv .venv

PowerShell blocks scripts by default. The line below allows it for this window only. This allows scripts in the current PowerShell window, and only that window.

PowerShell

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

This turns the environment on in PowerShell.

PowerShell

.venv\Scripts\Activate.ps1

If Activate.ps1 still will not run, leave it off. Use .venv\Scripts\python.exe in place of python on every command on this page, not only the two install lines. Those install lines become:

PowerShell

.venv\Scripts\python.exe -m pip install --require-hashes -r requirements.lock

This downloads the locked libraries with the private Python.

PowerShell

.venv\Scripts\python.exe -m pip install --no-deps -e .

This installs Anubys from the project folder with the private Python.

The same prefix covers later commands. For example:

PowerShell

.venv\Scripts\python.exe -m harness validate suites/tau_retail/examples

This is the examples check with the private Python. Use that prefix for gates, the verdict script, and the spend check too.

After activation, check Python again:

shell

python --version

This prints the Python inside the environment. It should be 3.11 or newer. On the check for this page it printed Python 3.11.17.

Every new terminal forgets the folder and the environment. cd back into ci-agent-regression-harness, stay in that folder, and turn the environment on again. On Windows, run the execution-policy line again in that window, or keep using .venv\Scripts\python.exe for every command.

Install the locked packages

Stay in the project folder, with the environment on:

shell

python -m pip install --require-hashes -r requirements.lock

This downloads the exact library versions locked for this project and checks each file's hash. It can take a few minutes. A line that says Successfully installed and lists the libraries appears near the end. If a notice about a new pip release appears, it is harmless.

shell

python -m pip install --no-deps -e .

This installs Anubys from the folder you are in, and it reuses the libraries from the line above. The -e means Python reads this folder when you run harness. The success line appeared near the end:

output

Successfully installed ci-agent-regression-harness-0.0.1

If a notice about a new pip release appears, it is harmless. Ubuntu's pip often prints no notice. When one does appear, the version numbers can differ. It can look like this:

output

[notice] A new release of pip is available: 24.0 -> 26.2.1
[notice] To update, run: python -m pip install --upgrade pip

The repository is private until the public launch. Skip Option A for now. Without access, both git clone and the pip GitHub install stop and wait at this prompt:

output

Username for 'https://github.com':

Press Ctrl+C. Do not type a username or a password.

If Git cannot ask, for example when there is no terminal, it prints this instead:

output

fatal: could not read Username for 'https://github.com': terminal prompts disabled

Option A. Install the program only (advanced)

Skip this until the public launch. Without access it stops at the username prompt above.

Private beta. The repository is not public yet, so this command only works if you already have access. The public install opens soon.

Option A also does not put the sample files in the folder you are standing in. The samples need the clone from Option B. When the repository is public and a virtual environment is on, the command is:

shell · (beta testing)

python -m pip install "git+https://github.com/rphua-dev/ci-agent-regression-harness"

This downloads Anubys from GitHub and installs the harness program. Pip picks library versions inside the ranges the project allows. Option B installs the locked hashes and the sample files.

The command was run in a fresh Python 3.11 virtual environment that could read the repository. The success line appeared near the end: ci-agent-regression-harness version 0.0.1. If a notice about a new pip release appears, it is harmless. Then:

shell

python -m harness --help

This lists the commands the program accepts. The check printed these names: validate, export-schema, convert-tau-retail, hash, gates, build-mvp-families, validate-results, and run.

Running a sample from a folder that does not contain the repository prints a line like this (the path will be whatever folder you used):

output

/tmp/does-not-exist-scenarios: path does not exist
1 error(s) in 0 file(s); 0 scenario(s) parsed

Sample use cases

Run these from the project folder, with the virtual environment on. The free commands before the live-model section do not call a model, and they do not spend money. They were checked with GEMINI_API_KEY unset. The dry run on this page was checked on Python 3.12.3. The other free commands on this page were checked on Python 3.11.

python -m harness runs the program even if the harness command is not on your PATH. After Option B, harness and python -m harness do the same job. The samples use python -m harness.

Why you'd use this

These are the jobs Anubys is for. The command that runs a suite is python -m harness run. It writes run_summary.json plus a CLI summary when a run actually starts. It does not choose a verdict yet and it does not write results.json. The free step is a dry run, which prints the plan and does not call a model.

A prompt tweak on a support bot

You change the wording your support bot uses when a customer asks for a refund, and you want to know if the new wording still handles the practice chats. Example: 12 chats. The free step is a dry run. A live run of those chats costs money.

Comparing two model settings

You keep the same tasks and try two settings, one steadier and one more free. Example: temperature 0.2 and temperature 0.8. A dry run prints the plan for the model id you pass. It does not call the model. A live comparison costs money.

Gating a side-project pull request

You want the pull request to wait for one of the four verdicts, and you want Block to stop the merge. Example: one candidate against the baseline you already trust. harness run does not write that verdict yet. The GitHub Action that would block a merge is still a stub.

Preview a run without calling a model

You want the plan for a small live run: which scenarios would be selected, and the upper bound on cost. You do not want a model call, and you do not want to spend money.

This is the only harness run step on this page. It is a dry run. Live mode still needs --ceiling, even on a dry run. The plan uses that number as the per-rollout limit when it prints the upper bound. The dry run does not reserve spend against the monthly check, and it does not call the model. It does not need a key, it does not add a spend row, and it does not create a runs/ directory. Copy the model id from config/allowed_models.txt. The command does not fill one in for you.

shell

python -m harness run suites/tau_retail --model "<id from config/allowed_models.txt>" --mode live --out runs/plan --limit 3 --rollouts 1 --ceiling 1 --dry-run

This prints a plan and exits. It does not call a model, does not create runs/plan, and does not add a row to the spend log. The cost of this command is Example $0.

In a checkout, the live spend log is spend/spend_log.jsonl. Outside a checkout, the live log is ~/.anubys/spend_log.jsonl and nothing else. The path stays that file, and a live run refuses any other --spend-log, including ./spend/spend_log.jsonl. That log is per user and per machine, so two machines do not share a total. The first live run outside a checkout creates ~/.anubys with mode 0700 and an empty log. If ~/.anubys already exists and the log is missing, the run refuses instead of treating the gap as Example $0. The Example $38 check still runs before each rollout. A live run needs HOME set. Gemini retries are capped at 750 seconds. Hitting that cap is an infrastructure miss, not a regression. Too many misses make the run invalid.

Leave --ceiling in the command. Without it the command stops with an error and does not print the plan. The error says live mode requires --ceiling. Example: with --ceiling 1, --limit 3 and --rollouts 1, the plan's upper bound is $3. That is a cap on the plan, not a charge.

You should see a plan. The block below is an Example. Where it shows <the id you passed>, your output has the id you copied from the allowlist. Every rate and total below is an Example. One allowlisted id printed input 0.30, output 2.50, and cached 0.03. Another id can print different rates. The pricing_file line names the file the plan read. In a checkout that is config/gemini_pricing.yaml. An installed wheel prints harness/data/gemini_pricing.yaml.

output · Example

plan
suite: tau_retail
model: <the id you passed>
mode: live
seed: scenario
per_rollout_ceiling_usd: 1
pricing_file: config/gemini_pricing.yaml
input_usd_per_million: 0.30
output_usd_per_million: 2.50
cached_usd_per_million: 0.03
scenario: tau_retail.policy.051.v1 rollouts=1
scenario: tau_retail.policy.051.v2 rollouts=1
scenario: tau_retail.policy.051.v3 rollouts=1
total_rollouts: 3
upper_bound_usd: 3

On the current retail suite, --limit 3 keeps the first three scenario ids in sorted order. The command finishes after the plan. Replay is not a free first step.

Check that the example scenarios are valid

You want to know that the small set of example shopping tasks is written in the shape Anubys accepts.

shell

python -m harness validate suites/tau_retail/examples

This reads the example files and checks their shape. It does not run an agent.

You should see:

output

ok 9 scenario(s), 0 suite file(s)

That means all 9 example files are valid.

The same check covers the larger retail folder and its suite file. This walks the whole retail suite, including the examples and the scenario set used by the safety checks.

shell

python -m harness validate suites/tau_retail

You should see:

output

ok 87 scenario(s), 1 suite file(s)

That means 87 scenario files and 1 suite file passed. The 9 example files and the 78 files in the scenarios folder are those 87.

More detail on the file shape is in scenario-format.md (private beta).

Run the safety checks

You want to know the sanitized scenarios are safe to keep: the shape is valid, the personal data is synthetic, there are no secrets, and the tasks are not copies of each other.

Use validate on examples, gates on scenarios. Mixing them up gives a scary but harmless failure.

shell

python -m harness gates suites/tau_retail/scenarios

This runs six safety checks on the scenarios folder. It does not call a model. Gitleaks, an optional extra secret scanner, is not required on your own computer.

You don't need to understand every line. This command is python -m harness gates suites/tau_retail/scenarios. Look for ok 6 gate(s) at the end of its output. That line is from this command only.

You should see:

output

schema: pass (78 scenario(s), 0 suite file(s))
synthetic-pii: pass (78 scenario(s), 0 cassette file(s))
secrets: pass (python scanner; gitleaks not installed, trufflehog not installed; 78 file(s))
exact-duplicates: pass (78 scenario(s), canonical content hash)
near-duplicates: pass (78 scenario(s), MinHash on user turns, threshold 0.8)
splits: pass (26 family(ies), one split each)
ok 6 gate(s)

ok 6 gate(s) is the last line of python -m harness gates suites/tau_retail/scenarios only. It means every check passed. gitleaks not installed and trufflehog not installed are normal on a laptop. The secrets line still says pass. The project's CI installs gitleaks and adds --require-gitleaks. You can leave that flag off.

Running python -m harness gates suites/tau_retail/examples is a different command. This is on purpose: the examples deliberately contain fake personal data, so the output is a long list of synthetic names and addresses, and the last line is:

output

1 gate(s) failed: synthetic-pii

Check a results file and read its verdict

You have a results file and you want the verdict in plain words. The file in the repository is practice data for a demo page. It is not a score from a real agent.

shell

python -m harness validate-results docs/examples/results.preliminary.json

This checks that the results file has the fields Anubys expects. It does not print the verdict.

You should see:

output

ok 1 results file(s)

That means the file is valid. Read the verdict with:

shell

python scripts/show_verdict.py docs/examples/results.preliminary.json

This opens the results file and prints the verdict word plus one plain sentence.

You should see:

output

insufficient_evidence
This test cannot yet tell whether the new agent is close enough, so it is not a yes or a no.

That is Insufficient evidence: the test cannot yet say yes or no. The file itself says the numbers are fake practice data, so this is not a real comparison. The field guide for the file is results-format.md (private beta).

Replay a recorded run Built

Replay is not a free first step. python -m harness run --mode replay reruns a saved model recording without calling a model. That costs Example $0 only after you already have one. A live run with --record writes it as model.json in the cassettes folder, and no sample recording ships. Without model.json, replay refuses before any rollout. Replaying only the tool environment while the model is live still calls the model and can spend money.

Skip replay until you have your own recording. This page does not ask you to make one.

Preview converting tau-bench retail tasks

You want a preview of how the vendored tau-bench retail tasks would be classified, without writing files and without spending money.

shell

python -m harness convert-tau-retail --dry-run

This counts the local retail tasks on the test split and prints three policy labels. --dry-run writes nothing. The tasks are already in the repository, so this does not download them and does not call a model.

You should see:

output

split test: 115 tasks
  allowed: 104
  must_refuse: 7
  ambiguous: 4

The 115 is the original tau-bench task list. The 87 earlier are the scenarios Anubys converted from it, so the numbers are not supposed to match.

That means the test split has 115 tasks: 104 the agent may carry out, 7 the agent must refuse, and 4 that are ambiguous. No scenario files were written. Stop here for the preview. Adding --out would write files, and this page does not ask you to do that.

Run against a real model (costs money)

Costs money

A live run sends tasks to Google Gemini and can charge the Google account that owns the API key. Read this section so you know how the guard rails work. Do not start a live run from this page.

python -m harness run --mode live is the command that calls the model. It needs GEMINI_API_KEY in the current terminal and --ceiling. A live run that starts writes run_summary.json plus a CLI summary. It does not write a verdict. A paid run uses the manual workflow .github/workflows/experiment.yml. The live-experiments environment deploys from main only, and the repo owner starts each paid run by hand with Run workflow. Do not start a live run from this page.

The steps below only explain the key and the free spend check. They are not a live run.

Get a Gemini API key

  1. Sign in to Google AI Studio.
  2. Open the API keys page and create a key. Google's steps are in the Gemini API key guide.
  3. Copy the key once. Keep it in the terminal only.

Keep the key out of the project

Paste the key only into the current terminal, never into a file you could commit. Do not put it in a scenario, in spend/spend_log.jsonl, or in a note.

Do not paste the export or $env:GEMINI_API_KEY lines during the free steps. The placeholder text still counts as a key. The free check then prints set instead of missing. Leave the key unset until you mean to do a live run. A check with GEMINI_API_KEY set to paste-the-key-here printed set. With the key unset, it printed missing.

macOS

In the same terminal where the virtual environment is on:

shell · placeholder

export GEMINI_API_KEY="paste-the-key-here"

This holds the key in that terminal until you close the window.

Windows (PowerShell)

PowerShell · placeholder

$env:GEMINI_API_KEY = "paste-the-key-here"

This does the same thing in PowerShell.

Linux

In the same terminal where the virtual environment is on:

shell · placeholder

export GEMINI_API_KEY="paste-the-key-here"

This holds the key in that terminal until you close the window.

Check that the key is present without printing it:

shell

python -c "import os; print('set' if os.environ.get('GEMINI_API_KEY','').strip() else 'missing')"

This prints set when the variable has a key, and missing when it does not. It does not print the key.

With no key, which is how every free command on this page was run, you should see:

output

missing

Spend safety

Two checks sit in front of a live rollout.

Per-rollout dollar limit. A live rollout can be given a dollar ceiling. It is checked after each model call, and the call that crosses it is included, so the rollout can cost slightly more than the ceiling. Anubys records that rollout as an error with reason spend_ceiling. It counts as an error: a failed rollout in the pass rate, scored 0. It is not an environment miss, and it does not count toward the miss cap. A rollout that already ended as an infrastructure miss, such as a provider 5xx, stays a miss even if it also went over the ceiling. The cost is still written to the spend log. The suite can continue with the next rollout. That error is a result for one rollout. The suite verdict is still only Pass, Block, Insufficient evidence, or Invalid run.

The Example $38 monthly check. The Example $38 monthly check stops new live rollouts once logged spend reaches Example $38 and can overshoot slightly. In a checkout, Anubys adds up spend/spend_log.jsonl for the current calendar month in UTC. Outside a checkout the same check reads ~/.anubys/spend_log.jsonl. That log is per user and per machine, so two machines do not share a total. Before it starts a new live rollout, it adds the per-rollout --ceiling to that sum. Live mode requires --ceiling, so that ceiling is the amount reserved for the rollout. If the sum would reach Example $38, the next rollout does not start. A rollout that has already started is allowed to finish, so the logged total can end a little above Example $38.

A budget alert in Google's own console does not stop the calls. The monthly check is what stops new live rollouts, and a small overshoot is possible.

You can run the monthly check itself for free. It only reads the log. Stay in the project folder. The key can stay unset.

shell

python scripts/check_monthly_spend.py --threshold 38

This sums the log for the current UTC month and compares it with Example $38. It does not call a model.

The check on 16 October 2026 printed:

output

Example

2026-10 logged spend is $0, under the $38 cap.

Your line can start with a later month, such as the month you run it. Example $0 means the log has no spend in that month. The log file in the repository is empty until a live run appends a row. Leave the file alone.

Use it in GitHub CI (planned for v0.2) Planned for v0.2

The packaged GitHub Action in action/action.yml is a stub that exits with an error on purpose, so a workflow cannot treat it as a passing check. A real Action is planned for v0.2, after the November 30 release. Until then, pull-request CI includes the free checks from this page (scenario validation, the sanitization gates, the sample results file, and the monthly spend check) and does not call a model. A paid Gemini run is not this Action. It is the manual workflow .github/workflows/experiment.yml. The live-experiments environment deploys from main only, and the repo owner starts each paid run by hand with Run workflow. v0.1 ships a README CI workflow snippet instead of a packaged Action. The snippet is not a working gate. The stub is described in action/README.md (private beta).

Keeping it free and safe

Start free (no account, no key, Example $0)

Everything in the free use cases above runs offline. Those checks read files already in the project, so they never call an AI model and can't cost you anything. You don't need an API key for any of it. The only harness run step in that list is --dry-run. Replay is not a free beginner step. No sample recording ships, and replay refuses without model.json. A replay costs Example $0 only after a live run with --record has written that file.

Costs money: live runs with a Gemini key

A live run sends real requests to Google's Gemini model, and Google bills you for each one. Do not start one from this page. The live-experiments environment deploys from main only, and the repo owner starts each paid run by hand with Run workflow on .github/workflows/experiment.yml.

  1. Get a key. Sign in at Google AI Studio and create an API key. Think of it like a password that can spend your money.
  2. Store it in your terminal, never in a file you share. Do not run these lines during the free steps. A placeholder still makes the free check print set.

    Mac/Linux. This only lasts until you close the terminal, which is a good thing.

    shell · placeholder

    export GEMINI_API_KEY="paste-your-key-here"

    Windows (PowerShell):

    PowerShell · placeholder

    $env:GEMINI_API_KEY="paste-your-key-here"
  3. Never paste the key into code, a config file you commit, a screenshot, a chat, or a GitHub issue. If it leaks, delete it in AI Studio and make a new one.
  4. Set a budget alert. In the Google Cloud console, go to Billing, then "Budgets & alerts", and set a small monthly budget (for example Example $5). Heads-up: Google only emails you when you cross it. It does not stop spending.
  5. Know what stops spending. Anubys has its own spend limit for each test rollout. That limit is checked after each model call, and the call that crosses it is included, so the rollout can cost slightly more than the limit. The other gate settings live in suite.yaml. A rollout that goes over that limit is recorded as an error with reason spend_ceiling. It counts as an error (a failed rollout in the pass rate) and stays out of the environment-miss count. The Example $38 monthly check stops new live rollouts once logged spend reaches Example $38, and the month can overshoot slightly. Your own budget is still on you. This page does not ask you to start a live run.

What does a run cost?

Cost runs are scheduled November 10 to 12, and no live experiment has run yet. Measured check times come from those cost runs. Until then, treat any dollar amount in this guide as an Example, not a quote. The Example $38 monthly check is a limit in the tool, not a price for a run.

Free tier vs paid

Google AI Studio has a free tier with low rate limits. If you turn on billing, every request is charged, so set the budget alert first. This page does not ask you to start a live run.

Using it in GitHub CI (planned for v0.2) Planned for v0.2

Your key goes in an environment secret on a live-experiments environment, never a repository secret and never the workflow file. The environment deploys from main only, and the repo owner starts each paid run by hand with Run workflow. Pull requests, including forks, never get the key or start paid runs.

Glossary

Scenario. One practice task: a customer situation, the tools the agent may use, and the checks Anubys applies to the outcome.

Baseline. The agent you already trust. Anubys compares the new agent against it.

Candidate. The new agent you are considering.

Verdict. The single decision for a comparison. It is Pass, Block, Insufficient evidence, or Invalid run. Block: clearly worse, by more than the allowed margin.

Rollout. One try of one scenario by one agent. A live rollout can call a model. The free commands on this page do not run rollouts. The dry run only prints a plan.

Sanitization gates. The six safety checks in python -m harness gates: file shape, synthetic personal data, secrets, exact copies, near copies, and one split per family.

Virtual environment. A private folder of Python packages for this project, usually named .venv.

Spend log. In a checkout, the file spend/spend_log.jsonl, an append-only list of what live runs cost. Outside a checkout the live log is ~/.anubys/spend_log.jsonl. It is per user and per machine, so two machines do not share a total. A live dry run does not add a row and does not need this file. A real live run refuses a missing log instead of treating it as Example $0. The file in the repository is empty. Replay of a model recording writes an Example $0 row. The monthly check reads this file before each rollout.

Cassette. A saved recording of a model run, stored as model.json. python -m harness run --mode replay reads it. No sample recording ships.

tau-bench retail. A public set of shopping support tasks. This repository already contains a copy. convert-tau-retail --dry-run only counts that local copy.

Getting help

The issues page is on the repository. The repository is private, so that page is not public yet. Public install opens soon.

Include the command you ran, the full output, and the output of python --version. Say whether you are on macOS, Windows, or Linux. Never paste your API key in an issue.

If GitHub says you cannot see the repository, it is not public yet.

The contributor checks (lint and tests) are listed in CONTRIBUTING.md (private beta). The spend log rules are in spend/README.md (private beta).

Pilot

Request a pilot

Opens a LinkedIn profile. Nothing is stored on this page.