Skip to content
Docs
Request access

Start from a template

A template gives you a complete team that runs at once: roles, agents, policies, budgets, tasks and gates. You create it with one command, run it on the fake model at no cost, and then change it into your own team.

  • NuraMesh installed (Install). nuramesh --version prints a version.
  • An empty or new folder name for the team. init refuses to write into a folder that is not empty.
  1. Pick a template. The Templates gallery describes each one.

    Template Walkthrough
    dev-team (the default) dev-team
    code-review code-review
    review-board review-board
    scrum scrum
    kanban kanban
    qa qa
    devops devops
    support support
    sales sales
  2. Check the command first, if you like. --dry-run writes nothing.

    Terminal window
    nuramesh init support-desk --template support --dry-run
  3. Create the team folder.

    Terminal window
    nuramesh init support-desk --template support
    created support-desk from the 'support' template. Next:
    nuramesh validate support-desk/nuramesh.yaml
    nuramesh try support-desk --fake --approve-as human:you

    Without --template you get dev-team.

  4. Look at what you got.

    File What it holds
    nuramesh.yaml the organization: roles, agents, policies, budgets and prices
    team.py the tasks, their gates, the workers and the scripted answers of the fake model

    The dev-team template also has a repo folder, the small sample project its team works on.

  5. Check the configuration and run the team on the fake model.

    Terminal window
    nuramesh validate support-desk/nuramesh.yaml
    nuramesh try support-desk --fake --approve-as human:you --allow-unsandboxed --run-id first-support-run

    --fake uses scripted answers: no keys and no cost. --allow-unsandboxed is for a local try only: commands run without a container, and the run records that. See Run in a sandbox.

validate prints support-desk/nuramesh.yaml: valid. The run ends with every task done, each gate line passed, and a verified ledger:

Run first-support-run
Tasks: 4 done
[done] first-support-run-ticket-1-1 (triager, attempts 1): Triage: ticket-1
gate is-triaged (rule): passed by gate:rule
gate review (verifier): passed by agent:reply-checker

The last line starts with Ledger: and ends with (verified).

  • Change org.id and org.name in nuramesh.yaml. init already set org.id to the folder name.
  • Change roles, agents, policies and budgets: Write a team configuration.
  • Change the tasks and gates in team.py: Add a gate.
  • Use a real model in place of the fake one: Connect a model.
You see Do this
support-desk isn't empty; refusing to write into it (exit code 2) Choose a new folder name. init never overwrites
argument --template: invalid choice Use one of the nine names in the table above
A test gate refuses to run No container runtime was found. For a local try add --allow-unsandboxed, or see Run in a sandbox
A task ends needs_human at a human gate The run had nobody to approve. Add --approve-as human:you, or see Require a human approval

Was this page helpful?