Show HN: Patchwork – Open-source framework to automate development gruntwork Hi HN! We’re Asankhaya and Rohan and we are building Patchwork. Patchwork tackles development gruntwork—like reviews, docs, linting, and security fixes—through customizable, code-first 'patchflows' using LLMs and modular code management steps, all in Python. Here's a quick overview video: https://youtu.be/MLyn6B3bFMU From our time building DevSecOps tools, we experienced first-hand the frustrations our users faced as they built complex delivery pipelines. Almost a third of developer time is spent on code management tasks[1], yet backlogs remain. Patchwork lets you combine well-defined prompts with effective workflow orchestration to automate as much as 80% of these gruntwork tasks using LLMs[2]. For instance, the AutoFix patchflow can resolve 82% of issues flagged by semgrep using gpt-4 (or 68% with llama-3.1-8B) without fine-tuning or providing specialized context [3]. Success rates are higher for text-based patchflows like PR Review and Generate Docstring, but lower for more complex tasks like Dependency Upgrades. We are not a coding assistant or a black-box GitHub bot. Our automation workflows run outside your IDE via the CLI or CI scripts without your active involvement. We are also not an ‘AI agent’ framework. In our experience, LLM agents struggle with planning and rarely identify the right execution path. Instead, Patchwork requires explicitly defined workflows that provide greater success and full control. Patchwork is open-source so you can build your own patchflows, integrate your preferred LLM endpoints, and fully self-host, ensuring privacy and compliance for large teams. As devs, we prefer to build our own ‘AI-enabled automation’ given how easy it is to consume LLM APIs. If you do, try patchwork via a simple 'pip install patchwork-cli' or find us on Github[4]. Sources: [1] https://ift.tt/3wcBC5t... [2] https://ift.tt/LlpIvis... [3] https://ift.tt/OQfrKJT [4] https://ift.tt/89o7aLB [Sample PRs] https://ift.tt/t7pVFZO https://ift.tt/89o7aLB July 27, 2024 at 02:04AM
Show HN: Patchwork – Open-source framework to automate development gruntwork https://ift.tt/v8fSNac
Related Articles
Show HN: A simple tool to reduce Office document file size https://ift.tt/3EUBWX1Show HN: A simple tool to reduce Office document file size https://ift… Read More
Show HN: Writing embedded firmware using Rust https://ift.tt/3ESglyMShow HN: Writing embedded firmware using Rust https://www.anyleaf.org … Read More
Show HN: [New feature] we added burnout tracking to our wellness program https://ift.tt/3EUHYr0Show HN: [New feature] we added burnout tracking to our wellness progr… Read More
Show HN: A Faux3D Game Engine I made in my spare time https://ift.tt/3nZq8w1Show HN: A Faux3D Game Engine I made in my spare time https://ift.tt/3… Read More
Show HN: An experimental DAW for composing music with JavaScript https://ift.tt/3CPHPo9Show HN: An experimental DAW for composing music with JavaScript https… Read More
Show HN: DIY Home Voice Assistant with Privacy and Air Quality Display https://ift.tt/3bqjZmvShow HN: DIY Home Voice Assistant with Privacy and Air Quality Display… Read More
Show HN: Intelligent Trading Bot using machine learning and feature engineering https://ift.tt/2Yby4RQShow HN: Intelligent Trading Bot using machine learning and feature en… Read More
Show HN: SixArm company consulting agreement v3.0 – GPL/CC developer contract https://ift.tt/3o5leNWShow HN: SixArm company consulting agreement v3.0 – GPL/CC developer c… Read More
0 Comments: