# Patchwork

> An open-source CLI tool that automates pull request reviews, bug fixes, and security patching using your own LLM keys — runs locally or in CI/CD.

- **Category:** Developer Tools
- **Licence:** AGPL-3.0
- **Latest version:** v0.0.124
- **Open source:** oss
- **Languages:** Python
- **Platforms:** pip
- **Tags:** CLI, Automation, Devops, LLM, Devtools, Developer Tools, Code Review, Hacktoberfest, Workflows, Ai Agent, Llms, Codereview, Ci Cd, Bug Fixing, Security Patching, Dependency Upgrade, Docstring Generation, Readme Generation

## Description

Patchwork is an agentic AI framework for automating repetitive development tasks. It provides a CLI agent that runs patchflows — predefined or custom automations built from reusable steps and prompt templates — to handle PR reviews, vulnerability fixes, dependency upgrades, docstring generation, README creation, and issue resolution. Users bring their own LLM keys (OpenAI, Google, Groq, Hugging Face, or local models) and GitHub tokens. Patchwork installs via pip with optional dependency groups for security scanning (semgrep, depscan) and RAG (chromadb). It runs locally, in IDEs, or in CI/CD pipelines. The core is AGPL-3.0 licensed; a hosted SaaS version exists at app.patched.codes. No Docker image or server component is provided; it is a Python CLI tool.

## Links

- [Homepage](https://github.com/patched-codes/patchwork)
- [Website](https://patched.codes)
- [GitHub Repository](https://github.com/patched-codes/patchwork)
- [Discord Community](https://discord.gg/XDxA3mJyhE)
- [YouTube Demo](https://youtu.be/MLyn6B3bFMU)
- [Changelog](https://patched.codes/changelog)
- [Blog](https://patched.codes/blogs)
- [LinkedIn](https://www.linkedin.com/company/patched-codes/)
- [Twitter/X](https://twitter.com/patchedcodes)

---
Source: https://selfhost.directory/project/patchwork