Patchwork detects outdated packages, analyzes changelogs for breaking changes, plans migration strategies, applies codemods, runs tests in isolation, and opens pull requests — all with your own LLM key.
A complete pipeline from detection to pull request, designed for safety and repeatability.
Scan for outdated packages across Go modules, npm, pip, Cargo, Ruby (Gemfile), and Maven (pom.xml).
Parse GitHub releases, changelogs, semver risk, or use LLM-powered analysis (Anthropic, Mistral, Groq, Ollama).
Successful upgrades become reusable recipes. Future upgrades match against historical knowledge before falling back to LLM.
Regex-based transformations for manifests — go.mod, package.json, requirements.txt, Cargo.toml, Gemfile, pom.xml.
Tests run in temp directories before changes touch your working tree. Supports Go, npm, Cargo, Bundler, and Maven.
Creates GitHub or GitLab pull requests for each upgrade — fully automated from detection to PR.
Modular pipeline architecture with pluggable registries for each stage.
Detect, analyze, and upgrade packages across all major package managers.
Single command install, no runtime dependencies required.
curl -fsSL https://raw.githubusercontent.com/coder11125/patchwork/main/install.sh | bash
git clone https://github.com/coder11125/patchwork.git cd patchwork make build ./bin/patchwork --help
go install github.com/coder11125/patchwork/cmd/patchwork@latest
Bring your own key — supports cloud LLMs and fully offline local models.
Local, no API key needed
Requires API key
Requires API key
Requires API key