TLDR: The AI-Powered Commit Explorer (APCE) is a new web-based tool designed to enhance software development by leveraging Large Language Models (LLMs) for automated commit message generation. It helps developers create high-quality, contextual commit messages for GitHub repositories and provides researchers with a comprehensive platform for evaluating these AI-generated messages. APCE supports both automated evaluation metrics (BLEU, ROUGE-L, METEOR) and human feedback collection, ensuring a thorough assessment of message quality. The tool features a multi-agent architecture for message generation and is customizable for different LLMs, aiming to improve software maintenance and evolution.
In the world of software development, commit messages are crucial. They serve as a historical record, explaining what changes were made to the code and, more importantly, why those changes were implemented. For future developers, these messages can be the only source of information available to understand past modifications, fix bugs, or add new features to long-lived projects.
However, writing high-quality commit messages is often overlooked in practice. This can lead to messages that are incomplete, confusing, or simply uninformative, posing significant challenges for software maintenance and evolution.
Introducing the AI-Powered Commit Explorer (APCE)
To address this challenge, researchers have introduced the AI-Powered Commit Explorer (APCE), a new tool designed to assist both developers and researchers in the realm of Large Language Model (LLM)-generated commit messages. APCE aims to streamline the creation of meaningful commit messages and provide a robust platform for evaluating their quality.
APCE integrates seamlessly with GitHub repositories. Developers can select any commit within a GitHub-hosted project, and APCE will automatically generate a synthesized, contextual commit message using one or more LLM-based approaches. This feature helps developers quickly obtain clear descriptions of their code changes, enhancing code understanding and the long-term maintainability of their systems.
Aiding Researchers in Evaluation
Beyond generation, APCE offers a comprehensive evaluation module for researchers. This module facilitates empirical analysis of LLM-generated commit messages by comparing them against human-written counterparts. It computes standard evaluation metrics such as BLEU, ROUGE-L, and METEOR, which are widely used in summarization tasks to assess the quality of computer-generated text.
Recognizing that automated metrics might not capture all nuances, APCE also supports the collection of human evaluation feedback. Users can rate LLM-generated messages on a 5-point Likert scale based on five key quality criteria: accuracy, integrity (explaining what and why), readability, applicability (would other developers use it), and completeness. Users can also provide a rationale for their ratings, offering valuable qualitative insights.
How APCE Works
APCE is a web-based tool built with a Next.js frontend, a Flask backend, and a MySQL database. It operates with two core modules: a commit generation module and an evaluation module.
The commit generation module employs a multi-agent framework, featuring a ‘Commit Generation Agent’ and a ‘Refinement Agent’. The generation agent creates an initial commit message based on a configured prompt, which can include details like code differences, pull request titles, issue reports, commit types, and original messages. The refinement agent then assesses this initial message against specific criteria, such as length (preferably under 72 characters), imperative mood, and clarity, generating an alternative if needed. APCE then intelligently selects the best message based on these criteria.
For its LLM capabilities, APCE uses the DeepSeek model via OpenRouter by default, though it is designed to be customizable, allowing researchers to integrate different LLM models and API services.
Also Read:
- Streamlining Code Management: How AI Collaboration Untangles Complex Commits
- Large Language Models: A New Frontier for User Story Creation and Quality Assurance
Availability and Future Outlook
The full implementation of APCE is available on GitHub, providing setup and configuration instructions, source code, and architectural descriptions. While APCE offers significant advancements, the researchers acknowledge limitations, such as potential slowdowns with a large number of API calls or extensive commit histories due to GitHub’s rate limits.
Future work for APCE includes implementing asynchronous processing, caching, and queuing to improve performance, especially under concurrent usage. The team also plans to add features for importing commit message datasets for bulk analysis and incorporating additional evaluation metrics. Currently, APCE primarily serves researchers, but future iterations aim to separate the commit generation and evaluation modules to make the tool more accessible and useful for developers.
To learn more about this innovative tool, you can read the full research paper here: AI-Powered Commit Explorer (APCE).


