Sub-agentsruntime

Give your agent a team of roles

A roster of roles. The lead hands each one a task, not the whole transcript.

teamone lead · 3 roles
$ vetta team add writer --model claude-sonnet-5 --budget 4
leaddelegatinghands each role a task, not the transcript
3 tasks out
researchwriterops
tasks3
  • research · web_search · brain$0.40done
  • writer · draft → review$1.10running
  • ops · email · calendarqueued
a budget eachresults return to the lead

Paste and ship

Drop this into Claude Code, Codex, or Cursor. It reads the docs and wires up Sub-agents for you.

Agent prompt
Read https://vetta.sh/docs/team and use the naïve Sub-agents primitive in my project. It is part of the runtime layer; wire it through naive.config.ts rather than calling a vendor directly.

Related primitives