Bring Your AI
Configure pipeline routing and fallbacks
Choose which agent, model and effort builds each phase of your apps, in what order, and when to move on to the next one.
On this page
Pipeline Routing decides which agent and model work on each phase of a build. Each phase has an ordered list of routes. For each piece of work, 1904 uses the first route in the list that is still under its usage caps, so later routes act as fallbacks when an earlier subscription runs low.
You need at least one signed-in coding agent first. See Connect and manage your coding agents. Anyone in the workspace can view routing, but only the account owner can change it.
Builds run unattended, so Pipeline Routing never uses a Kiro sign-in: a personal Kiro subscription is for interactive use, and it keeps working in your Agents tasks. If one was in a phase from before, the page says so, builds already skip it, and your next change saves the phase without it. Google Antigravity sign-ins and Gemini API key connections (turn on Use for builds on the key connection, shown as its name with (API key)) can both run builds.

Open Pipeline Routing
Open Settings and choose Pipeline routing, under Agents. You can also open the account menu at the bottom of the sidebar, choose Settings, then Pipeline Routing.
The phases
- Understand: reads each request, picks the right build path, and asks clarifying questions.
- Specify: turns your request into written requirements and a technical design.
- Plan: breaks the design into implementation tasks and a test strategy.
- Build: writes the implementation and fixes bugs in it.
- Code Review: reviews the generated code and decides whether it's good enough to ship.
- Checks & Security: writes and runs tests, lints, scans for security issues, and fixes what turns up.
- Ship: lands the approved changes in your app.
The small letter badge beside each phase shows how much model it needs: L for Lightweight, M for Mid-tier, H for High, and X for Maximum. Select it to see good model picks for each agent. Agents you've connected are highlighted. These are value picks, not limits: a stronger model helps in any phase, but uses up capped subscriptions faster.
Set the order for a phase
- Select + at the end of a phase's row. Add model route opens.
- Under AGENT, choose one of your Connected agents, or a saved profile or API connection under Saved profiles & API connections.
- For a connected agent, choose the MODEL and EFFORT. The models come from the agent itself when it's signed in ("Live from CLI"); otherwise a fallback list is shown. CLI default uses the agent's own default model, and Custom model… lets you type a model ID.
- Select Add route. It joins the end of the list, named by its agent, model and effort, such as "Codex · gpt-6.1-terra · High".
- Drag the routes into the order you want. The first one is preferred, and the rest are fallbacks in order.
- To take a route out, hover over it and select ×.
Changes save as you make them. You'll see Saving... briefly at the top of the list.
Change a route and set its usage caps
Select a route in a phase's row to open its settings. For a connected agent you can change its AGENT, MODEL and EFFORT there. For a saved profile you can choose another PROFILE and, where the model offers efforts, an EFFORT OVERRIDE. Caps apply to that route in that phase only.
- 5-HOUR CAP and 7-DAY CAP: once the provider reports usage at or above this percentage of your plan's window, the phase moves on to the next profile. A new entry starts at 80% and 90%. Under each cap you'll see current usage, or No data if the provider hasn't reported any.
- DYNAMIC CAP: select Enable to let the 7-day cap rise as your weekly reset gets close. It holds at Soft Cap until Ramp starts hours before the reset, then climbs toward Hard Cap, so you use more of a window that's about to refresh anyway.
- Fast Tier: shown for Codex and GPT profiles. It asks the provider for faster responses, which uses your limits faster.
- Remove takes the route out of this phase.
The dot on each route shows its status: green when available, amber when within 15 points of a cap, red when over a cap, and grey when there's no usage data yet. Usage refreshes about every 10 minutes.
Fast Tier Auto-Disable
Open Fast Tier Auto-Disable to set a 5hr threshold and a 7d threshold. When GPT or Codex usage passes either one, Fast Tier turns off in every phase to protect your limits. Set a threshold to 0 to never turn it off automatically. Select Save.
UI UX Model
The UI UX Model section at the top chooses one model for screen work: building UI-tagged changes, reviewing them in a browser at different screen sizes, and polishing them. Pick one of your connected agents and then its model and effort, or a saved profile, and select Save. It then replaces your Build routing for that work. Choose Use normal Develop routing and select Save to go back to your Build list. Hover the i next to the heading for the currently recommended models.
Paid 1904 API profiles
If you've added a profile under 1904 API profiles on the Credits page, select Enable paid routing there before adding it to a phase. That work is paid from your credit balance.
Tips
- Give every phase at least one fallback from a different subscription, so work keeps going when one runs out.
- Remove routes before you turn off or sign out the agent they belong to.
- Caps use the usage your provider reports. They aren't dollar budgets, and 1904 can't see past what the provider shares.