Skip to main content

Model Roles

Plandex has multiple roles that are used for different aspects of its functionality.

Roles

planner

This is the 'main' role that replies to prompts and makes plans.

Can optionally have a 'large context fallback' set, which is the model to use when the context input limit is exceeded.

architect

When auto-context is enabled, this role makes a high-level plan using the project map, then determines what context to provide for the 'planner' role.

This role is optional. It falls back to the planner role if not set.

coder

This role writes code to implement each step of the plan made by the planner role during the planning stage.

Instruction-following is important for this role as it needs to follow specific formatting rules.

This role is optional. It falls back to the planner role if not set.

summarizer

Summarizes conversations to stay under the limit set in max-convo-tokens.

auto-continue

Determines whether a plan is finished or should automatically continue based on the previous response.

builder

Builds the proposed changes described by the planner role into pending file updates.

whole-file-builder

Builds the proposed changes described by the planner role into pending file updates by writing the entire file. Used as a fallback if more targeted edits fail.

This role is optional. It falls back to the builder role if not set.

names

Gives automatically-generated names to plans and context.

commit-messages

Automatically generates commit messages for a set of pending updates.