Patchwork

Active
GitHub Python AGPL-3.0

Description

Agentic AI framework for enterprise workflow automation. Uses LLM-powered pipelines for code reviews, DevOps, and other enterprise tasks.

Key Features

  • Reusable atomic Steps for creating PRs, committing changes, calling LLMs, and more
  • Customizable Prompt Templates optimized for library updates, code generation, and vulnerability remediation
  • Patchflows combining Steps and Prompts for PR reviews, code fixing, and documentation automation
  • Self-hosted CLI agent supporting OpenAI, Google Gemini, Groq, Hugging Face, and local models
  • Security-focused patchflows with Semgrep and depscan integration for AutoFix and DependencyUpgrade
  • RAG-powered ResolveIssue patchflow using ChromaDB for intelligent codebase analysis

Use Cases

πŸ’‘ Automating PR code reviews with AI-generated summaries and inline comments
πŸ’‘ Auto-fixing code vulnerabilities detected by Semgrep security scans
πŸ’‘ Generating documentation and docstrings for codebases automatically
πŸ’‘ Upgrading vulnerable dependencies to fixed versions across repositories
πŸ’‘ Resolving GitHub issues by analyzing codebase and creating fix PRs

Quick Start

pip install 'patchwork-cli[all]' --upgrade

Related Projects