Click the image above to see Patchwork in action.
Patchwork is your AI-powered development assistant that takes the hassle out of achieving complex development goals. It automates the process, making it smooth and error-free.
Manual development tasks can be tedious and time-consuming, but with Patchwork, it's a breeze! Here's why you'll love it:
- AI-Driven Coordination: Our main agent,
agent_coordinator
, directs everything seamlessly. - Smart Task Generation: Patchwork uses AI to generate tasks based on your input goal.
- Precision Editing:
agent_editor
creates diff code changes for each task. - Feedback Loop: For each task, Patchwork applies diff's changes and gives feedback on the success, ensuring everything works smoothly.
Clone the repository and install the required dependencies.
git clone https://github.com/yourusername/patchwork.git
cd patchwork
# Create a virtual environment
python -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
# Install the required dependencies
pip install -r requirements.txt
Put patchwork.sh
in your PATH (i.e.: make it executable) from any directory.
export PATH=$PATH:/path/to/patchwork
or, permanently add it to your .bashrc
or .zshrc
file.
Call it from within any Git repository by passing the repo as the first argument.
cd /path/to/your/git/repo
patchwork.sh .
Let Patchwork handle the development process. You'll provide an initial goal, a set of files, and Patchwork will take care of the rest.
Patchwork is licensed under the MIT License. Go nuts if you want, but giving credit is always appreciated.
Patchwork leverages AI to handle complex development tasks automatically. Here's how it operates:
- Identify:
agent_coordinator
finds the important files based on your goal. - Generate Tasks:
agent_suggestor
uses AI to create specific tasks for each file. - Edit and Change:
agent_editor
generates diffs for each task and applies them one by one. - Feedback and Iterate: It checks the success of each change, making adjustments as needed.
With Patchwork, achieving complex development goals is no longer a chore. Let our AI agents take care of the hard work while you relax and enjoy a perfectly developed project. Happy coding! 😄