Opencommit is a command-line tool and automation suite that uses large language models to analyze staged changes and generate descriptive git commit messages. It functions as an AI-driven commit generator that can be integrated directly into the version control lifecycle.
The project distinguishes itself through support for both cloud-based AI providers and locally hosted models to ensure data privacy. It provides specialized automation via git hooks for real-time suggestions and GitHub Actions for refining commit messages during continuous integration workflows.
The tool includes capabilities for enforcing conventional commit standards, custom linting patterns, and language locale support. It features a configuration system for managing prompt templates and file analysis filters to exclude specific data from being processed by the model.