Createst Docs

Reusable Review & Auto-Fix Agents

Define a review or auto-fix agent once — with its own model, instructions, and tools — and reuse it across repositories.

Instead of re-typing the same review instructions on every repository, you can define a reusable agent once and attach it to as many repositories as you like. Each agent carries its own configuration, so "our security reviewer" or "our house-style auto-fixer" stays consistent everywhere you use it.

What a reusable agent carries

An agent is configured across the same dimensions as an inline review pass:

SettingWhat it controls
Kindwhether it reviews (posts findings) or auto-fixes (pushes fixes)
Agent & modelwhich coding agent and model it runs on
System prompt & modeits instructions, added to or replacing Createst's built-in base (see Prompt mode in Multiple Review Passes)
MCP servers & skillsthe extra tools and reusable instructions it may use

This applies to both review and auto-fix agents — an auto-fix agent is just as configurable as a review agent.

Attach an agent to a repository

In your project's Code Review settings, open Use a saved review agent and pick one to attach. Review agents become ordered review passes; an auto-fix agent drives auto-fix.

  • A repository can have many attached review agents (they run as separate passes).
  • A repository can have at most one enabled auto-fix agent — attaching a second asks you to detach or disable the first.
  • Detach an agent at any time from the attached list.

When a repository has attached review agents, they take precedence over any inline passes configured directly on that repository.

Where your configuration appears

Code review configuration follows the repository. Whichever project is connected to that repository shows the repository's review agents, passes, and auto-fix in its Code Review settings — so however you set them up, they always appear there, ready to view and edit.

If the same repository is connected to more than one of your projects, one project holds the editable settings and the others show them read-only, with a note pointing you to the project where you can make changes.

See what will actually run

The Effective configuration panel shows exactly what will run on each pull request right now — each review pass and the auto-fix entry — with a badge showing whether it came from an attached review agent or from the repository's inline settings. Use it to confirm your setup before opening a PR.

When attached review agents are in effect, the panel also marks your inline passes as overridden by attached review agents — a reminder that the inline settings below are not what runs. Detach every review agent to make the inline passes active again.

Which subscription a review agent uses

If you've connected one or more subscriptions, a review agent needs to know which one to use. You don't have to choose:

  • When an agent is created from a working session that's already using one of your subscriptions, the new agent keeps using that same subscription.
  • If that session is set to rotate across a group of your subscriptions, the agent rotates across the same group — it doesn't get pinned to one member.
  • If the session isn't using a subscription at all, the agent just uses your usual selection.

This is decided once, when the agent is created. Changing the session afterwards doesn't change an agent you already made, so an agent attached to a repository keeps billing where you expect. You can change an agent's choice at any time.

Choosing it yourself

You can override the automatic choice at any time, in your project's code review settings under Account for review & autofix. There are three choices:

ChoiceWhat runs your reviews
AutomaticYour usual selection — the default, and what inheritance sets up for you.
Rotate across a groupEvery subscription in that group, spread across passes so one doesn't absorb them all.
Use one specific subscriptionOnly the subscription you pick.

Changing this here affects only this project. It never changes the working session the choice originally came from.

If the subscription an agent uses is later disconnected, reviews fall back to your usual selection rather than failing, and the agent shows that its subscription is no longer available — so a disconnected subscription slows nothing down and never turns your pull request checks red.

On this page