Your AI Powerhouse for Git & Project Management. Stop wasting time on repetitive tasks. Automate your commits, changelogs, and project essentials with a single CLI.
PyPI didn't allow the original name, so you'll find it as devgen-cli on PyPI
![]()
![]()
![]()
![]()
DevGen is an innovative CLI tool designed to streamline your development workflow by automating repetitive tasks such as commits, changelogs, and project essentials. Leveraging state-of-the-art AI models, DevGen transforms tedious manual tasks into one-click magic, enabling you to focus on building and improving your projects.
- AI-Powered Commits: Generate semantic, context-aware commit messages using AI models from Gemini, OpenAI, Anthropic, HuggingFace, and OpenRouter.
- Battle-Tested: Produces Conventional Commits and Semantic Versioning compliant changelogs that make sense.
- Lightning Fast: Utilizes smart caching and async operations for speedy performance.
- Project Essentials: Quickly add
.gitignoreand license files to your projects, with access to cached templates even offline. - Zero Friction: Interactive setup gets you running in seconds.
- Customizable: Define your own commit message structure using Jinja2 templates.
- Python 3.10+: The primary programming language.
- Typer & Rich: For building the intuitive and responsive CLI interface.
- Questionary: For interactive prompts and selection menus.
- Jinja2: For the powerful template engine.
- AI Models: From Google Gemini, OpenAI, Anthropic, HuggingFace, and OpenRouter.
- Rich 14.3.3: For text-based user interfaces.
- Uv: For dependency management and installation.
- OpenAI 2.26.0: For AI model integration.
- Anthropic 0.84.0: For AI model integration.
- Ruff 0.15.5: For code linting and formatting.
- Google GenAI 1.66.0: For AI model integration.
Get started with DevGen in seconds using one of the following methods:
# Recommended: Install via pipx for an isolated environment
pipx install devgen-cli
# Or use uv for blazing speed
uv tool install devgen-cli
# Standard pip install
pip install devgen-cli
# Enable Shell Completion (bash/zsh/fish)
devgen --install-completionTell DevGen which AI provider to use.
devgen setup configStage your files and let AI write the message.
git add .
devgen commit runPreview what DevGen will generate without committing.
devgen commit run --dry-runCommit and push in one go.
devgen commit run --pushReview and edit AI messages before committing.
devgen commit run --checkUndo the last AI commit and keep changes staged.
devgen commit undoFor more detailed API information and available commands, please refer to the DevGen CLI Documentation.
We welcome contributions! Found a bug? Want a new feature? Open an issue or submit a PR.
If you encounter any issues, please refer to our Troubleshooting Guide.
Proudly open source under the GPL-3.0-or-later License.
DevGen wouldn't be possible without these amazing open-source projects and AI providers:
- Typer & Rich for the CLI interface.
- Questionary for interactive prompts.
- Jinja2 for the template engine.
- Google Gemini, OpenAI, Anthropic, HuggingFace, and OpenRouter for the AI models.