Chat and Dispatch

Use the Cloud Agents chat surface, Ask/Plan/Agent modes, and the New Agent Run flow to create review and execute work with precise repository scope.

The Chat tab is where intent becomes work. It is not only a text box. It is a scoped dispatch surface with repository selection, branch selection, agent selection, execution mode, and run-launch actions.

The Chat Header Controls

At the top of the page, the chat header scopes the session before the prompt is sent.

ControlWhat it doesWhy it matters
Repository selectorChooses which repository the conversation is operating against.Prevents cross-repo ambiguity.
Branch selectorChooses the branch context for analysis or change execution.Keeps plans tied to actual repository state.
Agent selectorChooses the system or custom agent for the task.Matches the work to the right operating instructions and model.
Mode selectorSwitches between Ask, Plan, and Agent.Separates guidance, planning, and real execution.
Execute PlanRuns the currently visible plan as an action.Useful after validating a plan block in chat.
Execute Latest Plan BlockExecutes the most recent plan output.Keeps the workflow moving without recreating the plan.

Ask, Plan, and Agent Modes

Ask

Use Ask when you need explanation, diagnosis, or repo-aware advice without starting a run that changes code or generates a formal execution path.

Plan

Use Plan when you want the agent to decompose the task, identify likely files, and present the intended sequence before anything executes.

Agent

Use Agent when the task is clear enough to become a real run. This is the execution mode for review and change workflows.

SituationBest mode
You need a repository explanation or risk assessmentAsk
You want a reversible checkpoint before work startsPlan
You already trust the scope and want output nowAgent

New Review vs New Execute

Cloud Agents exposes two fast paths in the workspace header and in the new-run modal:

Run typePrimary useTypical output
Code ReviewAnalyze an existing change, pull request, or repository deltaFindings, risks, suggested fixes, and review context
Execute ChangePrepare and run a scoped implementation or remediation taskCode change artifacts, validation output, and possible approval requests

Use Code Review when the code already exists and the question is whether it should proceed. Use Execute Change when the question is how to make the change safely.

The New Agent Run Flow

The New Agent Run modal is split into steps. In the current interface the first step is Setup, followed by scope and detail stages.

Setup

The setup step captures the high-level execution shape:

  • Run type: Code Review or Execute Change
  • Agent: the system or custom agent that should handle the task
  • Mode: Ask, Plan, or Agent
  • Repository: the repository the run will operate against

The modal also surfaces quota context such as runs today, which helps operators avoid starting a run that the workspace cannot complete under current limits.

Scope

Scope narrows the task to the repository state that matters. Depending on the rollout and the repository configuration, this can include branch, pull request context, or related execution boundaries.

Details

The details step is where the task prompt becomes precise enough to act on.

Strong prompts usually include:

  • the goal
  • the files or module area
  • non-goals
  • validation expectations
  • approval expectations when relevant

Example execute prompt:

Implement a loading state for the approvals page. Limit changes to the approvals route and tests. Keep the current visual style. Do not alter repository rules or billing code.

Example review prompt:

Review the current pull request for auth and redirect regressions. Focus on unsafe navigation, missing guards, and test coverage gaps. Ignore formatting-only issues.

Chat Timeline and Repository Context

Chat messages can include intermediate thinking markers, execution steps, completed-step markers, and repository context blocks. When a pull request or branch is inspected, the conversation can surface repository objects directly inside the thread so the operator does not need to cross-reference another tool.

This is useful for:

  • checking whether the agent found the right pull request
  • seeing the plan before execution
  • tracing why the agent chose a certain repository path

Dispatch Patterns That Work Well

Review-first pattern

  1. Start in Plan mode.
  2. Confirm the repository and branch.
  3. Run Code Review.
  4. Open the run record in Runs.
  5. Approve or reject follow-on actions.

Controlled execute pattern

  1. Start in Plan mode for the first few tasks in a repository.
  2. Move to Agent mode only after the plan looks correct.
  3. Keep protected paths active.
  4. Require approvals on merge-capable outputs.

Specialist-agent pattern

  1. Choose a custom agent for a narrow task class.
  2. Keep the prompt shorter because the agent definition already carries role-specific instructions.
  3. Use repository rules to keep the specialist inside its intended surface area.

Common Failure Modes

Avoid these patterns:

  • asking for broad repo-wide cleanup without path boundaries
  • using Agent mode before checking that the plan matches the task
  • dispatching against the default branch when the work belongs on a feature branch
  • mixing review objectives and implementation objectives in one prompt

How is this guide?

On this page