> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compyle.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflow Configuration

Compyle's workflow is divided into **three configurable stages** that guide the agent from understanding your code to delivering the final implementation.

<Frame caption="Workflow Stages Overview">
  <iframe src="https://www.youtube.com/embed/lD0VX_r2Sl8?si=67Ylczwak-db72p_" title="YouTube video player" className="w-full aspect-video rounded-xl" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
</Frame>

***

## The Three Stages

### 1. Research

The agent analyzes your existing codebase to understand the project structure, dependencies, and patterns.

**When to use:**

* Working with existing projects
* Adding features to established codebases
* Building on top of current architecture

**When to skip:**

* Starting a brand new project
* No existing code to analyze

### 2. Planning

The agent asks targeted questions to clarify requirements and gather information before writing code.

**What happens:**

* Interactive questions in multiple formats
* Design suggestions with visual previews
* Architecture and implementation clarification

**Supports:**

* Android applications
* Web applications and websites

<Callout icon="comments-question" iconType="duotone" color="#0070F3">
  Learn more about how the agent asks questions in [Interactive Planning](/features/interactive_planning).
</Callout>

### 3. Implementation

The agent writes code based on the research findings and planning decisions.

**What happens:**

* Code generation across multiple files
* Integration with existing codebase
* Application of project patterns and standards

***

## Configuring Your Workflow

You can select which stages to include **before starting a task**. This allows you to:

* Skip Research for new projects with no existing code
* Jump straight to Implementation if requirements are already clear
* Customize the workflow to match your project needs

<Callout icon="sliders" iconType="duotone" color="#9333EA">
  **Additional Configuration**<br />
  When starting a task, you can also select specific Skills and choose your preferred AI Model.
</Callout>

***
