Repository navigation
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.
- The two surfaces
- Plan caps and the critic
- The nine roles
- Tasks and transitions
- Native publishing
- Worked sequence
| 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.
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.
| 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.
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,
maxParallel8 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 needsfrom,toand anote, and dependencies are represented asblocked_by. -
promptreturns a complete nativesubagentprompt plus theteam_task_createpayload: task id, scope, budget, deliverable and stop conditions, with the duty to claim and complete the task.
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.
-
pentest_plan { action: "create", … }— one objective and the ordered steps. -
pentest_team { action: "plan", roles: [...], phases: [...] }— mirror the board. -
pentest_team { action: "prompt", id: "t-01" }→ give the prompt tosubagent, or press Plan team / select a task in the Team tab to copy or download it. -
pentest_plan { action: "consume", usage: { tools, tokens, minutes } }as work lands. -
pentest_plan { action: "critic" }before closing; resolveblockitems first. -
pentest_team { action: "close" }andpentest_plan { action: "close", note }.
- Agent tools — every tool and its gate
- Exploitation loop — the researcher/operator/verifier delegation
- Engagement and graph — phases and closure
- Panel tour — the Team tab
- docs/TOOLS.md
- Field manual: team mode and planning
dsh-redteam is MIT licensed. Use it only against systems you are authorized to test. — Report a vulnerability · Issues
dsh-redteam
Start here
Reference
- Agent tools
- Configuration
- Kali toolbox
- Wordlists
- OSINT
- Web and API testing
- Exploitation loop
- Team and planning
- Evidence and reports
- Scope and safety
- Resources
- Architecture
Operations
Project