patched-codes/patchwork

Agentic AI framework for enterprise workflow automation.

What it solves

Patchwork is a self-hosted CLI agent designed to automate repetitive development tasks (gruntwork) such as PR reviews, bug fixing, security patching, and documentation generation. It reduces the manual effort required for maintenance chores like updating vulnerable dependencies or resolving issues via automated pull requests.

How it works

The tool operates through "Patchflows"—LLM-assisted automations built by combining reusable atomic actions called "Steps" (e.g., committing changes or calling an LLM) and customizable "Prompt Templates". These flows can be run locally via a CLI, integrated into IDEs, or embedded into CI/CD pipelines. It supports a wide range of LLMs, including OpenAI, Google Gemini, and any OpenAI-compatible endpoint (such as Groq, Together AI, or local models via Ollama and vLLM).

Who it’s for

It is intended for developers and DevOps engineers who want to automate their codebase maintenance and security remediation using AI agents.

Highlights

  • Predefined Patchflows: Includes out-of-the-box automations for PR reviews, vulnerability fixing (AutoFix), dependency upgrades, and README generation.
  • Flexible LLM Support: Compatible with managed services and local open-source models.
  • Extensible Architecture: Users can create their own custom steps and prompt templates to build new automations.
  • Integration Ready: Can be deployed as a CLI tool or as part of a CI/CD pipeline.

Related

  • Project
  • Project
  • Project
  • Project
  • Project