from Hacker News

Show HN: Patchwork – Open-Source AI Workflows for Dev Chores

by rohansood15 on 5/9/24, 1:25 PM with 0 comments

Hi HN,

We are excited to share patchwork - an open-source CLI for dev chore automation that you can use with your LLM of choice. Dev Teams can orchestrate custom workflows (called ‘patchflows’) using a combination of reusable steps and prompt templates to fix vulnerabilities, upgrade breaking dependencies, generate documentation, and more.

We built scanning tools in the past, and saw how overwhelmed developers get with their DevSecOps pipelines. LLMs have the potential to help - but there is a need for an 'outer-loop' solution that can be customized to accommodate the processes, priorities, and insights of different teams. Even better if the solution can be run locally for security and compliance reasons.

Patchwork is built with these needs in mind - it gives devs full control over how and where they want to use LLMs in their SDLC. Patchwork can serve as a universal open framework for your dev chore automation, unlike point (and closed) solutions that focus on specific tasks.

Open-sourcing Patchwork was a no-brainer. Agentic workflows fail far too often and need deep context. We believe that the first generation of truly usable AI agents will need users to define and customize their behavior without constraints. And open source is the best way to enable that. Plus, as a team, we have been part of initiatives like LF/OpenSSF and love the community.

We are an early, bootstrapped team and would love for you to try patchwork and give us some feedback. Tell us what chores or tasks you'd like to automate, or what must we add before you can adopt something like this!