Skip to content

Team and Planning

sm0k3net edited this page Nov 28, 2026 · 1 revision

Team and planning

Two advisory surfaces make a multi-agent engagement legible: a plan with steps and budgets, and a team board with roles, tasks and dependencies. Both live in the same per-session state as the graph, both require no extra gate, and neither can widen scope, approve a call or change a finding. The critic is deterministic and the board is what the panel's Team tab renders.

On this page

  • The two surfaces
  • Plan caps and the critic
  • The nine roles
  • Tasks and transitions
  • Native publishing
  • Worked sequence

The two surfaces

Surface Tool Stored as Purpose
Plan pentest_plan state.plan Objective, ordered steps, dependencies, budgets, maxParallel and the critic verdict
Team pentest_team state.team Nine-role board: tasks by phase, owners, focus agents, write scopes, budgets and handoffs

Creating a team board also mirrors it into the plan when no plan exists, so the Team tab shows one objective and one critic result. Both are advisory: the engine records them, a budget overrun is reported rather than clamped, and a team task cannot change an approval, a scope entry or the audit trail.

Plan caps and the critic

pentest_plan { action: "create", objective: "Assess the Acme storefront",
  steps: [{ phase: "recon", objective: "Fingerprint", owner: "recon", deliverable: "asset list" }],
  maxParallel: 2 }
pentest_plan { action: "status" }
pentest_plan { action: "consume", usage: { tools: 12, tokens: 40000, minutes: 25 } }
pentest_plan { action: "critic" }
pentest_plan { action: "close", note: "Client review complete" }
Limit Default Cap
Steps — 50
maxParallel 2 8
Tools 1,000 10,000
Tokens 2,000,000 50,000,000
Minutes 480 20,160

Step statuses are pending, in_progress, done, blocked and skipped; plan statuses are draft, active and closed. A caller may lower a limit but not raise it past the cap, and credential-shaped keys or values are rejected before anything is stored.

The critic is pure — no clock, model or randomness — and returns pass, warn or block with a score and named checks. It blocks only on a hard condition: an exploited finding without evidence, a hard budget overrun, or an unsafe/out-of-scope risk flag. Tool calls made by the agent consume one tool and an estimated token count automatically; an overrun is reported, never silently clamped.

The nine roles

Role id Title Primary phase
lead Engagement lead pre-engagement, reporting
recon Reconnaissance specialist recon
network Network and service enumerator enumeration
web-api Web and API tester vulnerability-analysis
exploitation Exploitation specialist exploitation
privesc-ad Privilege escalation and Active Directory specialist privilege-escalation
cloud Cloud and post-exploitation analyst post-exploitation
evidence-qc Evidence and quality reviewer reporting
reporting Reporting specialist reporting

Each role carries an objective, a tool set, stop conditions and a deliverable. A task has one owner and one artifact; focus agents stay read-only. The agent remains the lead: it plans the board, spawns children, and owns the final critic.

Tasks and transitions

pentest_team { action: "plan", roles: ["recon", "web-api", "evidence-qc"], phases: ["recon", "vulnerability-analysis"] }
pentest_team { action: "add", title: "Map the storefront", role: "recon", phase: "recon",
  writeScopes: ["deliverables/recon/"], deliverable: "asset inventory", priority: 1 }
pentest_team { action: "update", id: "t-01", status: "in_progress" }
pentest_team { action: "focus", id: "t-01", agents: ["recon"] }
pentest_team { action: "handoff", id: "t-01", from: "recon", to: "web-api", note: "Auth flow found" }
pentest_team { action: "prompt", id: "t-01" }
  • Board caps: 50 tasks, nine roles, 32 dependencies per task, maxParallel 8 and a default task budget of 500 tools, 1,000,000 tokens and 480 minutes.
  • Transitions are validated (pending → in_progress → review → done); a handoff needs from, to and a note, and dependencies are represented as blocked_by.
  • prompt returns a complete native subagent prompt plus the team_task_create payload: task id, scope, budget, deliverable and stop conditions, with the duty to claim and complete the task.

Native publishing

publish: true on plan or prompt creates matching native Agent Teams tasks in dependency order when DSH Agent Teams is enabled. Without it the local board is saved and the result carries a warning; nothing is lost. Either way, tool calls made by child agents resolve to the root session, so a subagent shares the engagement, graph, plan and board instead of starting its own.

Worked sequence

  1. pentest_plan { action: "create", … } — one objective and the ordered steps.
  2. pentest_team { action: "plan", roles: [...], phases: [...] } — mirror the board.
  3. pentest_team { action: "prompt", id: "t-01" } → give the prompt to subagent, or press Plan team / select a task in the Team tab to copy or download it.
  4. pentest_plan { action: "consume", usage: { tools, tokens, minutes } } as work lands.
  5. pentest_plan { action: "critic" } before closing; resolve block items first.
  6. pentest_team { action: "close" } and pentest_plan { action: "close", note }.

Related

Clone this wiki locally