Skip to content
Docs
Request access

Sales team

Available

4 tasks done. Qualifier, outreach writer and claims checker. Each lead is qualified, checked by an independent claims checker, then an outreach message is drafted. Nobody verifies their own work, and every gate result is recorded.

  • NuraMesh installed and on your PATH, as in the Quickstart (installed with pip install "nuramesh[local]"; see Install options).
  • A throwaway folder to run in.
Terminal window
nuramesh init my-sales --template sales
created my-sales from the 'sales' template. Next:
nuramesh validate my-sales/nuramesh.yaml
nuramesh try my-sales --fake --approve-as human:you

init writes my-sales/ with nuramesh.yaml (the organization: roles, agents, policies, budgets) and team.py (the example workers and the scripted fake model).

Terminal window
nuramesh validate my-sales/nuramesh.yaml
my-sales/nuramesh.yaml: valid

validate takes the configuration file, not the folder.

Terminal window
nuramesh try my-sales --fake --approve-as human:you --run-id first-run
Run first-run
Tasks: 4 done
[done] first-run-lead-1-1 (qualifier, attempts 1): Qualify: lead-1
gate is-qualified (rule): passed by gate:rule
gate review (verifier): passed by agent:claims-checker
[done] first-run-lead-1-2 (outreach-writer, attempts 1): Outreach: lead-1
gate is-drafted (rule): passed by gate:rule
[done] first-run-lead-2-1 (qualifier, attempts 1): Qualify: lead-2
gate is-qualified (rule): passed by gate:rule
gate review (verifier): passed by agent:claims-checker
[done] first-run-lead-2-2 (outreach-writer, attempts 1): Outreach: lead-2
gate is-drafted (rule): passed by gate:rule
Budgets:
claims-checker-monthly (agent claims-checker): spent 0.003282 of 5.00, reserved 0.000000
outreach-writer-monthly (agent outreach-writer): spent 0.000672 of 5.00, reserved 0.000000
qualifier-monthly (agent qualifier): spent 0.000816 of 5.00, reserved 0.000000
rb-486e135495bd (run first-run): spent 0.004770 of 2.00, reserved 0.000000
Ledger: run:first-run seq 72, head e55896bc488c5812… (verified)

--approve-as human:you is a scripted approval so the run finishes on its own; the ledger records that it was scripted. Ids and numbers differ in your run.

Terminal window
nuramesh ledger verify --team my-sales
org:my-sales: 5 events, head a1b9f44f29014bee… ok
run:first-run: 72 events, head e55896bc488c5812… ok
2 streams, 0 broken

Every stream’s hash chain is re-checked, so an edited or removed event would show as broken. (verified) in the run report means the same: the chain checks out. It does not mean the ledger is anchored (see anchors).

  • The fake model answers from a script in team.py, so this shows how the rules work, not how good a real model is.
  • Actions outside the roles’ policies are denied or ask a human; nothing here contacts a real system.
  • Nothing is published and no real data is involved. Use synthetic data only; a real model needs the provider setup in the FAQ and limits.
  • The run report’s (verified) covers the hash chain only.

Was this page helpful?