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

# Overview

> Open source AI workflows to accelerate software development

Patchwork is an open-source framework for patching and managing code repositories using large language models. PatchWork allows you to automate workflows like PR reviews, bug fixing, security patching, and more using a self-hosted CLI agent and your preferred LLMs.

## Key Components

**Steps**: A set of reusable atomic actions that define various operations.

**Prompts**: Customizable natural language instructions that can be combined with user-defined inputs and/or systeme generated output to be passed to large language models.

**Patchflows**: LLM-assisted automations such as PR reviews, code fixing, debugging. Patchflows can be run locally in your CLI and IDE, or as part of your CI/CD pipeline.

## How it Works

Here's a overview video of how Patchwork works:

<iframe width="640" height="360" src="https://www.youtube.com/watch?v=MLyn6B3bFMU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />
