pr-agent  by qodo-ai

AI tool for pull request automation, feedback, and suggestions

created 2 years ago
8,536 stars

Top 6.1% on sourcepulse

GitHubView on GitHub
Project Summary

PR-Agent is an AI-powered tool designed to automate the review, analysis, and enhancement of pull requests (PRs) for developers and teams. It aims to streamline the code review process by providing automated feedback, suggestions, and documentation generation, thereby improving code quality and developer efficiency.

How It Works

PR-Agent leverages Large Language Models (LLMs) to process code changes and provide insights. Its core strategy involves "PR Compression" to handle varying PR sizes efficiently, converting code diffs into manageable prompts for LLMs. It utilizes a JSON prompting strategy for modular and customizable tools, allowing for easy integration of new features and configurations. The agent supports multiple LLM providers (OpenAI, Claude, Deepseek) and deployment methods (CLI, GitHub Actions, Apps, Docker).

Quick Start & Requirements

  • Installation: Can be run via CLI, GitHub App, Docker, or as a GitHub Action.
  • Requirements: Requires an OpenAI API key or access to other supported LLMs. Specific LLM versions are not mandated, but compatibility with recent models is implied.
  • Usage: Mention @CodiumAI-Agent with a command (e.g., /review) in a PR comment for immediate feedback.
  • Documentation: Installation Guide | Usage Guide

Highlighted Details

  • Supports multiple Git providers (GitHub, GitLab, Bitbucket, Azure DevOps).
  • Offers a wide array of tools including auto-description, code review, suggestions, changelog updates, and documentation generation.
  • Features like "PR Chat," "Suggestion Tracking," and "CI Feedback" are marked as proprietary (💎) and available in the paid Qodo Merge product.
  • Emphasizes practical, single-LLM-call usage for speed and affordability, aiming for ~30-second response times.

Maintenance & Community

  • Active development with recent updates (v0.28 released March 28, 2025).
  • Community support available via Discord: https://discord.gg/SgSxuQ65GF.
  • Offers a hosted "Qodo Merge" version with enhanced features, support, and privacy.

Licensing & Compatibility

  • The open-source version's license is not explicitly stated in the README.
  • The "Qodo Merge" product is a paid service with potential data privacy benefits and proprietary features.

Limitations & Caveats

The promotional bot mentioned for instant testing is limited to public repositories and cannot directly modify PRs (e.g., add labels). Some advanced features are exclusively available in the paid Qodo Merge product.

Health Check
Last commit

2 days ago

Responsiveness

1 day

Pull Requests (30d)
39
Issues (30d)
20
Star History
865 stars in the last 90 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
3 more.

composio by ComposioHQ

0.2%
26k
Toolset for AI agent integrations via function calling
created 1 year ago
updated 22 hours ago
Feedback? Help us improve.