July 26th, 2024

Show HN: Patchwork – Open-source framework to automate development gruntwork

Patchwork automates development tasks like pull request reviews and bug fixing using a self-hosted CLI and LLMs. It features reusable actions, customizable templates, and various Patchflows for streamlined processes.

Read original articleLink Icon
Show HN: Patchwork – Open-source framework to automate development gruntwork

Patchwork is a tool designed to automate development tasks such as pull request reviews, bug fixing, and security patching through a self-hosted CLI agent and large language models (LLMs). Key features include reusable actions for tasks like creating pull requests, customizable prompt templates for library updates and code generation, and LLM-assisted automations called Patchflows that streamline processes like PR reviews and documentation. Installation can be done via pip with the command `pip install 'patchwork-cli[all]' --upgrade`. Users can execute Patchflows using the command `patchwork <PatchFlow> <?Arguments>`, with examples including running an AutoFix patchflow by providing OpenAI and GitHub API keys. Available Patchflows include GenerateDocstring for creating method docstrings, AutoFix for addressing code vulnerabilities, PRReview for summarizing changes in pull requests, GenerateREADME for documentation, DependencyUpgrade for updating dependencies, and ResolveIssue for identifying and fixing code issues. Contributions to the project are encouraged, with guidelines for creating new patchflows and steps provided. Patchwork is licensed under AGPL-3.0, while custom patchflows can be shared under Apache-2.0. Additional information can be found in the documentation and a demo video.

Related

Show HN: Improve LLM Performance by Maximizing Iterative Development

Show HN: Improve LLM Performance by Maximizing Iterative Development

Palico AI is an LLM Development Framework on GitHub for streamlined LLM app development. It offers modular app creation, cloud deployment, integration, and management through Palico Studio, with various components and tools available.

Fabric is an open-source framework for augmenting humans using AI

Fabric is an open-source framework for augmenting humans using AI

The GitHub repository for the `fabric` framework empowers users to integrate AI effectively. It provides setup instructions, components like Mill and Patterns, and AI agents like PraisonAI, enhancing creativity and utility.

Git-PR: patch requests over SSH

Git-PR: patch requests over SSH

A new git collaboration service, git-pr, simplifies self-hosting git servers via SSH. It combines mailing list and pull request workflows, streamlining code collaboration. Users interact in the terminal, enhancing code review with patch requests. Notifications via RSS feeds and state changes reflected in static web assets. The service aims to bridge pull requests and email-based collaboration efficiently.

Pull Requests via Git Push

Pull Requests via Git Push

Steinar H. Gunderson introduced a new method on git.sesse.net, enabling pull requests via git push through email. This simplifies patch submissions, despite limitations like no multipush support and potential errors. Security measures are highlighted.

Show HN: Pippy – Pipelines for GitHub Actions

Show HN: Pippy – Pipelines for GitHub Actions

Pippy enhances GitHub Actions with configurable pipelines, offering features like automatic rollback, monitoring, approvals, and more. Pricing ranges from free to paid plans, including add-ons for enhanced functionality. Users can sign up to optimize workflow control.

Link Icon 6 comments
By @SOLAR_FIELDS - 9 months
A feature comparison to https://github.com/paul-gauthier/aider would be great.

Is this just a non interactive version of this kind of agent?

By @lifeisstillgood - 9 months
Ok the video explains this way better - and it looks awesome.

Do you accept PRs yourself :-)

By @danielhanchen - 9 months
Oh this is really cool and great name! Will definitely try this out!
By @meiraleal - 9 months
PR reviews are the one thing you sure don't want a LLM doing.
By @bsima - 9 months
Yall know there’s a popular oss project called patchwork right https://patchwork.readthedocs.io/en/latest/