Agents
Agent instruction files for the multi-agent orchestration system. Compatible with both opencode and claudecode.
DevBot ships agents across two modules: primary agents (invoked directly) and subagents (delegated to by a primary agent).
Primary agents
Start here. Pick the experience that fits your workflow.
| Agent | Module | Description |
|---|---|---|
devbot |
devbot | devbot — pair programming partner, works alongside you incrementally, never autonomously (Profile/Session-lifecycle layout) |
teamlead |
devteam | TeamLead — orchestrates all work, classifies requests, routes to specialists, leads planning and implementation workflows, makes product decisions |
Subagents
Primary agents delegate to these.
| Agent | Module | Description |
|---|---|---|
designer |
devbot | Designer — designs user experience and visual interfaces; produces interaction specs, screen designs, and visual acceptance criteria |
expert |
devbot | Expert — consultant subagent for deep technical problem analysis, uses a higher grade LLM |
architect |
devteam | Software Architect — designs technical plans and ADRs, does not write production code |
critic |
devteam | Critic — evaluates plans and audits the codebase for inconsistencies, architectural erosion, and pattern drift |
developer |
devteam | Developer — implements the architect’s plan into production code, follows plans precisely |
po |
devteam | Product Owner — product domain expert, owns backlog grooming, answers business and requirements questions |
reviewer |
devteam | Reviewer — reviews changes against the combined backlog (product decomposition and technical implementation plan) and project conventions, reports issues without modifying code |
scout |
devteam | Scout — collects context for the orchestrator; does not delegate tasks |
security |
devteam | Security Engineer — performs security audits, threat modelling, vulnerability assessment, and secure code review without modifying code |
tester |
devteam | Tester — validates implementations against requirements, writes and executes automated tests |
Structure
The directory layout behind the tables above:
src/agentic/devbot/agents/
designer.md — Designer
devbot.md — devbot (primary)
expert.md — Expert
src/agentic/devteam/agents/
architect.md — Software Architect
critic.md — Critic
developer.md — Developer
po.md — Product Owner
reviewer.md — Reviewer
scout.md — Scout
security.md — Security Engineer
teamlead.md — TeamLead (primary)
tester.md — Tester
Shell strategy
Every agent that can run a shell command loads the shared devbot:shell-strategy skill, so the bash-vs-PTY decision lives in one place instead of being restated per agent:
- bash tool — quick, deterministic, non-interactive commands.
- PTY session (
pty_spawn/pty_write/pty_read/pty_kill) — commands that may outlive the bash timeout (test suites, builds, migrations), prompt for input, or need their output watched while they run. The distinction is time, not command length.
The skill also carries the PTY output and stdin rules and the gotchas a PTY hides (a commit run in a PTY skips the post-commit hooks; PTY sessions do not inherit DEV_BOT_SESSION_ID).
architect, critic, and po deny the bash tool and also deny the whole PTY tool family — the PTY tools are plugin tools that never consult the runtime permission prompt, so a bash-only deny would have left them a shell.