AgentSDEDocs
Open console

Phase designer

A phase design is your pipeline · an ordered set of phases an agent runs, each one a system prompt plus its model, thinking budget, allowed tools and execution settings. This is where you author designs, version them, test them, and pin one version live.

10 min readUpdated 2026-08-12 · Priya NEdit this page

#Designs, versions, and phases

Three things nest, and it pays to keep them straight:

  • A design is a named pipeline. A workspace owns as many as it likes · a Docs pipeline, a Security pipeline, a Starter SWE pipeline.
  • A design has versions. Exactly one version is pinned (live); agents always run the pinned version, so editing never disturbs what is running.
  • A version is an ordered set of phases. A phase is one inline system prompt plus its configuration.

#Create a design

A new design starts one of three ways:

1

Pick a starting point

  • Template · start from a preset pipeline. Five ship: SWE (refine → plan → deliver → review → compound), Docs (scope → draft → publish), Review only (read → critique, comment-only), Security audit (intake → assess → remediate), and Research (investigate → synthesize → recommend).
  • Duplicate · copy the live phases of an existing design and adjust.
  • Blank · no phases; build from scratch.
2

Name it

Give the design a name and an optional one-line description. A whole design can be deleted later, but only once no version of it is live · make it a draft first, so a running agent is never left without its pipeline.

#Build the pipeline

Inside a design you shape the list of phases:

  • Add, rename, reorder and delete phases.
  • Give each phase an icon and colour so the flow reads at a glance.
  • By default phases run top to bottom. To branch, loop, run phases in parallel, or start a phase from an external event, use the flow graph.

#Configure a phase

Open a phase to edit everything it does:

#System prompt

The instructions for this phase, written in the prompt editor. This is the phase · there are no built-in or reusable skills, so what you write is what the agent does. Insert runtime variables at the caret, resolved from the run’s context:

{issueRef} · {issueName} · {issueType} · {issueBody} · {author} · {repo} · {baseBranch}

#Model

The foundation model that executes the phase, chosen from the Model select. Two families are offered; the select always shows the current list.

FamilyExamplesReach for
Anthropic Claudeclaude-sonnet-5 (default) · claude-haiku-4-5 · claude-opus-4-8The default balance; haiku for cheap/fast phases; opus for heavy reasoning
OpenAIgpt-5.6-terra · gpt-5.6-luna · gpt-5.3-codexAn OpenAI alternative, including a coding-tuned option

#Reasoning effort

How much thinking budget the model spends on this phase · a per-phase knob the runtimes honour. Six levels:

low · medium · high (default) · xhigh · max · ultracode (the code-tuned ceiling)

Turn it up for a hard planning or review phase; keep it low for a mechanical one.

#Allowed tools

What the phase is permitted to do. The runtime enforces this list · if the prompt asks for a tool you did not allow, the model refuses rather than doing it anyway. Seven toggles:

ToolLets the phase
Read repositoryRead the code (on by default)
Write to branchPush commits to the agent’s branch
Run shellRun commands in a sandboxed shell
Open & manage PRsOpen and update pull requests
Post commentsComment on issues and pull requests
Install packagesInstall dependencies
Outbound networkReach the network beyond the repo

Grant the least a phase needs · a review phase rarely needs to write a branch.

#Notes

A free-text note on the phase, for whoever edits the design next.

#Advanced settings

Each phase has an Advanced disclosure for execution control. Every value here has a hard range, enforced by both the editor and the backend:

SettingWhat it doesRangeDefault
TimeoutSeconds before the phase is abandoned1 – 86,400600
Max retriesAutomatic retries on failure0 – 202
Repeat · max iterationsRun the phase up to N times in a loop1 – 501
On failureRetry to the limit then halt · Skip phase (mark failed, continue) · Halt runchoiceRetry
Gate directivesThe phase will not start until every named directive is satisfied upstream or by a humantext listnone
Worktree · Sidecar · TerminalGive the phase a checkout, a cache/vector sidecar, or an interactive sandboxed shelltogglesoff
Priority biasOn a conflict, favour the phase prompt, the issue instructions, or neitherchoiceNeutral

#Version and pin

You always edit a working draft · nothing goes live until you save a version and pin it.

1

Save as a new version

Commit the working phases as a new draft version with a one-line commit message, and an optional label (1–64 characters) shown beside the auto-generated version id.

2

Pin as live

Pin the version you trust. Pinning one version unpins the rest, so there is always exactly one live version, and agents pick it up immediately.

Every version is Live (pinned), Draft (editable), or Archived (read-only · fork it to edit). You can fork any version into a fresh draft, make the live version a draft to leave the design with no live version, and delete a version · except the live one and the last remaining one, which are protected so a running design is never orphaned.

Edit draftWorking phases
Save versionCommit message
Test runDraft vs live
Pin as liveAgents run it
The design lifecycle · edit a draft, save it, test it against live, then pin.

#Test before you pin

Test run executes a real agent run of a non-live version in one of your environments, so you compare before you promote:

1

Set up

Pick an environment, a repository in its scope, and an issue or task. The design’s bound persona rides along.

2

Read the verdict

The result scores the test against your live version on three metrics · outcome, cost and duration · each with a delta, plus a phase-by-phase diff.

3

Promote

If the test wins, Pin as live straight from the result. Test runs are kept separate from your production Runs board, so experiments never mix with real work.

#Limits

The per-phase and per-design bounds, all enforced:

ThingLimit
Phase timeout1 – 86,400 seconds (24 hours)
Max retries per phase0 – 20
Max iterations (loop) per phase1 – 50
Loop-back edge capdefault 3 passes, then the flow continues
Trigger rules per workspace20
Version label1 – 64 characters

There is no fixed cap on the number of phases in a design, or designs in a workspace · practicality and your run quota (below) are the real limits.

#Quotas and caps

Separate from the design itself, four platform quotas decide whether a run is allowed to start. Each is checked at dispatch, and a run that would breach one is refused with a clear message naming the limit it hit. A limit of 0 means unlimited.

CapScopeResets
Run limitRuns per environment per monthMonthly
Monthly run quotaRuns per workspace per month (from your plan)Monthly
Daily budgetUSD spend per environment per dayDaily
Monthly spendUSD spend per workspace per month (from your plan)Monthly

Spend is real USD, computed by the platform per model as each phase completes (see Run anatomy). The console surfaces your standing against these caps · the run-quota widget in the sidebar, and each environment’s runs this month / limit and spend today / daily budget figures.

Cap experiments where they run

Set a per-environment daily budget and run limit before pointing an agent at a large repository. A test or sandbox environment with a small cap is the safe place to try an expensive design.

A hired agent can also carry its own optional quota · a maximum number of runs within a rolling window (default 30 days), useful as a proxy for how many pull requests it may have in flight. The workspace and plan limits still apply on top.

The specific numbers your workspace gets · the monthly run allowance and spend cap · come from your plan. See the pricing on the AgentSDE homepage for the current tiers.