Skip to content
Docs
Request access

Teams and roles

Available

A small team: who reports to whom and who checks whom A Chief of Staff is the root. A writer and a reviewer report to the Chief of Staff. The reviewer checks the writer's work and is not in the writer's reporting chain. Chief of Staffthe root of the team;proposes and delegates tasks reports to Writerrole kind: workerdoes the task on its own model Reviewerrole kind: verifiera different model family checks Chief of Staffthe root of the team;proposes and delegates tasks reports to Writerrole kind: workerdoes the task on its own model checks reports to Reviewerrole kind: verifiera different model family
Solid lines are reporting lines, drawn from the lead down. The dashed line is a check: the reviewer judges the writer's output and sits outside the writer's reporting chain.
Diagram as text
  • The Chief of Staff is the root of the team: exactly one agent has this role. It proposes and delegates tasks.
  • The writer (role kind worker) reports to the Chief of Staff and does the task on its own model.
  • The reviewer (role kind verifier) also reports to the Chief of Staff and checks the writer's work.
  • A verifier is never the author, anyone above the author or anyone who answers to the author.

A team is an organization of agents. You describe it as data in one file, nuramesh.yaml, and NuraMesh checks the description before anything runs.

A role is a kind of job. It carries what every agent in that job shares: a default model, a policy (what the role may do) and, through its agents, budgets. There are three kinds:

Kind What it is for
chief_of_staff The root of the team. Exactly one agent has this role
worker Does tasks. This is the default kind
verifier Judges the output of other agents; it never does their work

An agent has one role and says who it reports_to. The reporting lines make a tree with the Chief of Staff at the root. A task can be delegated down the tree only where the role’s policy allows it.

A verifier agent lists the agents whose work it checks. To keep the check independent, a verifier may not sit in the reporting chain of an agent it checks: it cannot be the author, anyone above the author or anyone who answers to the author. Peers and other branches are fine. nuramesh validate refuses a configuration that breaks this rule.

The team in the diagram, as configuration:

org:
id: my-team
name: My team
roles:
- {id: chief-of-staff, name: Chief of Staff, kind: chief_of_staff}
- {id: writer, name: Writer, default_model: fake/worker-1}
- {id: reviewer, name: Reviewer, kind: verifier, default_model: fake/reviewer-1}
agents:
- {id: chief-of-staff, name: Chief of Staff, role: chief-of-staff}
- {id: writer, name: Writer, role: writer, reports_to: chief-of-staff}
- {id: reviewer, name: Reviewer, role: reviewer, reports_to: chief-of-staff, checks: [writer]}

Write a team configuration has the complete file, with policies, budgets and prices, and shows how to validate it.

Was this page helpful?