Skip to content

Agents

Kolega Code is built around several agent types. They share the same core loop but differ in which tools they can use and what they’re specialized for. The main agent can hand off to the others when a task benefits from focus.

AgentSpecialtyCan edit files?
CoderThe main, general-purpose coding agent. Full toolset.Yes
InvestigationRead-only exploration of the codebase.No
BrowserWeb navigation and interaction via Playwright.No (browser tools only)
GeneralA flexible agent that can read and dispatch other agents.Limited
PlanningDrives Plan mode: investigates and writes a plan, read-only.No

For larger jobs, the main agent can dispatch a sub-agent and incorporate its findings. The available dispatch targets include:

  • dispatch_investigation_agent — explore and report back, without making changes.
  • dispatch_browser_agent — perform a web task.
  • dispatch_coding_agent — hand off a self-contained coding task.
  • dispatch_general_agent — a general-purpose helper.

When gigacode is enabled, the main agent can also orchestrate many of these sub-agents at once through a workflow — running them in parallel or in pipelines and collecting the results.

Sub-agent activity is reported live. In the TUI each sub-agent gets a live card in the conversation, and pressing Ctrl+G opens the sub-agent inspector — a full-screen view of every sub-agent’s complete trajectory: its thinking, tool calls, and results. Lifecycle events also appear in the Logs tab. With ask, sub-agent activity surfaces as events (on stderr in plain mode, or as event objects with --json).

It’s worth separating two ideas:

  • Interaction mode (Build / Plan) is what you toggle with Shift+Tab. It determines whether the agent is editing (Build, the Coder agent) or planning read-only (Plan, the Planning agent).
  • Agent type is which specialized agent is doing a piece of work — including sub-agents the main agent dispatches under the hood.

See Build & Plan Modes for the user-facing workflow.