Skip to content

BrokenCode guide

Agents in BrokenCode

Choose, invoke, and configure BrokenCode agents for implementation, planning, exploration, and focused project work.

UPDATED 03 Aug 20265 min readTECHNICAL GUIDE
01

Primary agents own the session; subagents handle focused work.

Build and Plan are the primary working modes. General, Explore, and Scout can be invoked as subagents when a task benefits from a narrower investigation.

Built-in roles
AgentBest for
BuildEditing, running tools, and completing implementation
PlanUnderstanding a project and designing a change before edits
ExploreFast codebase search and dependency tracing
General / ScoutDelegated research and focused multi-step tasks
02

Switch deliberately and invoke specialists inline.

  • Use Tab to switch the primary agent in the terminal UI.
  • Mention a subagent with @ when you want it to investigate a bounded part of the request.
  • Describe the outcome and constraints; BrokenCode supplies the current project context.
03

Project agents can carry repeatable instructions.

Define agents in brokencode.json or as Markdown files under .brokencode/agents. User-wide definitions live under ~/.config/brokencode/agents.

.brokencode/agents/reviewer.md

---
description: Reviews changes for correctness and regressions
mode: subagent
---
Inspect the requested change, run focused checks, and report actionable findings.

STRAIGHT ANSWERS

Frequently asked questions

01Can I create project-specific agents?

Yes. Put Markdown agent definitions in .brokencode/agents or add them to brokencode.json.

02How do I switch primary agents?

Use Tab in the terminal interface, or select the working mode in the desktop app.

Start

Put agents to work in BrokenCode.

Download the desktop app or install the terminal client.

Download BrokenCode