> ## 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.

[YouTube video player](https://www.youtube.com/embed/lD0VX_r2Sl8?si=67Ylczwak-db72p_)

Workflow Stages Overview

***

## 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

Learn more about how the agent asks questions in [Interactive Planning](https://docs.compyle.ai/features/interactive_planning.md).

### 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

**Additional Configuration**\

When starting a task, you can also select specific Skills and choose your preferred AI Model.

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.