You will create a team from a template, run it on the fake model, read the report and verify the ledger. At the end you will have three tasks marked done, each only because its checks passed.
The fake model needs no keys, costs nothing and makes no network connection during the run. The commands take well under a minute of computer time; allow ten minutes to read the output. Every command and sample output on this page is run by a test.
Prerequisites
Section titled “Prerequisites”- Python 3.12 or newer and
pip. - NuraMesh is open source. Source on GitHub. Install explains each step.
- A throwaway folder. The sample team’s test gate runs on your machine here (
--allow-unsandboxed, local only). With Podman or Colima installed you can drop that flag and run the tests in the sandbox (Run in a sandbox). With Podman or Docker installed the sandbox runs without the flag (macOS and Linux); without one, add--allow-unsandboxed: the commands then run on this machine without isolation, printed and recorded in the ledger (never a default).
1. Install
Section titled “1. Install”python3 -m venv nuramesh-envexport PATH="$PWD/nuramesh-env/bin:$PATH"pip install "nuramesh[local]"nuramesh --helpThe local extra carries PyYAML (needed to read nuramesh.yaml; JSON works without it), the API server and the content store. The PATH line matters:
the sample team’s test gate runs python -m unittest and finds python through it.
Install options
Section titled “Install options”| Command | What you get |
|---|---|
pip install "nuramesh[local]" |
Run NuraMesh on your machine (the quickstart path) |
pip install nuramesh |
Core SDK and CLI only |
pip install "nuramesh[langgraph]" |
The LangGraph adapter |
pip install "nuramesh[local,langgraph]" |
Both |
pip install "nuramesh[client]" |
The HTTP client only |
Quotes are needed in zsh because of the square brackets.
2. Create a team
Section titled “2. Create a team”nuramesh init my-teamcreated my-team from the 'dev-team' template. Next: nuramesh validate my-team/nuramesh.yaml nuramesh try my-team --fake --approve-as human:you --allow-unsandboxed --run-id first-run (no container runtime (Podman or Docker) answered here, so the tests run on this machine without isolation: --allow-unsandboxed prints a warning and records it in the ledger; it is never a default. Start Podman or Docker to leave it out.) nuramesh serve my-teammy-team/ holds nuramesh.yaml, a small project with a failing test in repo/ and a team.py with
the example workers.
3. Validate the configuration
Section titled “3. Validate the configuration”nuramesh validate my-team/nuramesh.yamlmy-team/nuramesh.yaml: validvalidate takes the configuration file, not the folder. A mistake prints the problem instead.
4. Run it
Section titled “4. Run it”nuramesh try my-team --fake --approve-as human:you --allow-unsandboxed --run-id first-run--approve-as human:you is a scripted approval so the run finishes on its own; the ledger records that
it was scripted (use --interactive to approve the deploy yourself). --allow-unsandboxed prints a
warning and records sandbox.opt_out in the ledger. A finished run looks like this (ids and numbers
differ in your run):
Run first-runTasks: 3 done [done] first-run-fix-add (dana, attempts 1): Fix the failing add() test in calc.py gate has-fix (rule): passed by gate:rule gate tests (test_command): passed by gate:test_command gate review (verifier): passed by agent:rhea [done] first-run-test-suite (theo, attempts 1): Run the whole test suite on the fix gate green (rule): passed by gate:rule [done] first-run-deploy (omar, attempts 1): Deploy the fix to staging gate approve-deploy (human): passed by human:youBudgets: dana-monthly (agent dana): spent 0.001335 of 5.00, reserved 0.000000 rb-486e135495bd (run first-run): spent 0.003471 of 2.00, reserved 0.000000 rhea-monthly (agent rhea): spent 0.002136 of 5.00, reserved 0.000000Ledger: run:first-run seq 42, head ee199424adddd3dc… (verified)In this report, (verified) means only that the run’s hash chain checks out. It does not mean the
ledger is anchored: signed anchors are a separate check (verify-ledger --anchors, see
The ledger and anchors).
Each task is done only because its gates passed. The reviewer (rhea) never saw the developer’s
reasoning. The spend is checked against budgets before each call.
5. Read the report again from the ledger
Section titled “5. Read the report again from the ledger”nuramesh report first-run --team my-teamThe report is rebuilt from the ledger alone and prints the same task, budget and ledger lines as the
run. Add --json for machine-readable output.
Check it worked
Section titled “Check it worked”nuramesh ledger verify --team my-teamorg:my-team: 3 events, head 7b8d4d7ee2ef2512… okrun:first-run: 42 events, head ee199424adddd3dc… ok2 streams, 0 brokenEvery stream’s hash chain is re-checked. To catch a deleted newest event or a deleted stream, keep a
head hash somewhere else and pass --expected-head STREAM=HASH, or use anchors.
Look at what is running
Section titled “Look at what is running”nuramesh stop first-run --team my-team --human human:you || echo "exit code $? (3 = already ended)"nuramesh status first-run --team my-teamnuramesh org status --team my-teamnuramesh breakers list --team my-teamstop asks the run to stop and records the request in its ledger (exit code 3 means it had already ended). status shows what runs and what waits for a person, org status the organization kill switch and breakers list the circuit breakers.
Troubleshooting
Section titled “Troubleshooting”| You see | Do this |
|---|---|
nuramesh: command not found |
Run the export PATH=... line of step 1 again in this terminal |
validate reports a problem |
It takes the configuration file (my-team/nuramesh.yaml), not the folder |
A task is not done |
Read its gate lines in the report: the first gate that did not pass says why |
The tests cannot find python |
The environment is not first on your PATH: repeat the export PATH=... line |
Next steps
Section titled “Next steps”- Next steps: where to go from here, by goal.
- Understand the result: How it works.
- Try another team: the templates gallery.
- Try an eval:
nuramesh eval run --team my-team --suite dev-basics --agent dana --fake. - Durable runs on Temporal (optional): The Temporal dev server is for evaluation only; production needs a real Temporal cluster.
- Real models: read FAQ and limits first. A real run needs
--data syntheticand--confirm-cap USD, and spends real money.
Was this page helpful?