AI-powered Git copilot — talk to Git in plain English
Project description
♠️ Ace — AI-Powered Git Copilot
Ace is an intelligent command-line tool that brings AI assistance directly to your Git workflow. Talk to Git in plain English — Ace translates your intents into Git commands, explains what it is doing, and runs them safely. It also features a fully interactive terminal user interface (TUI) dashboard to help manage your repositories with ease.
✨ Features
- 🧠 Natural Language Git Commands: Translate commands like
"undo my last commit but keep changes"or"create a branch login-page"into clean, standard Git actions. - 📝 AI-Powered Commits: Analyzes staged diffs and generates Conventional Commit messages automatically.
- 🔍 Automated Code Review: Rates code quality and points out bugs, security flaws, or styling issues inside staged or unstaged diffs.
- ⚔️ Merge Conflict Resolution: Interactively walks you through conflict blocks and suggests correct merges.
- 📊 Rich Repo Stats & Changelogs: Instantly computes repository statistics (commits, additions, deletions, file counts) and generates markdown release notes since the last tag.
- 🔎 Semantic Commit Search: Search commits by natural language queries (e.g.
"fixed the authorization bug") instead of matching literal strings. - 🔥 Interactive TUI Dashboard: Run
ace dashto launch a beautiful terminal interface showing current status, branch info, commit charts, and interactive menus. - 🛡️ Safety First: Classifies actions into safe, moderate, or destructive levels, and requests confirmation before running destructive operations.
🚀 Installation
Install the package directly from PyPI:
pip install ace-git-copilot
Note: Make sure your Python scripts path (e.g., AppData\Roaming\Python\Python3xx\Scripts on Windows) is added to your environment PATH variable.
To update to the latest version:
pip install --upgrade ace-git-copilot
⚙️ Configuration & Setup
Run the built-in configuration wizard to select your AI model provider:
ace setup
Ace saves your configuration file to ~/.ace/config.toml. It supports:
- NVIDIA NIM Cloud API (high-speed, high-accuracy models) using your NVIDIA developer API key.
- Local Ollama Models (100% offline, free private local models like
qwen2.5-coder,llama3.1, ormistral). If the requested model isn't downloaded, Ace will automatically pull it for you.
🛠️ Usage
💬 Natural Language Mode
Run natural language requests directly in quotes:
ace "stage everything and commit with a message about authentication"
ace "undo my last commit but keep the files"
ace "switch to a new branch called design-updates"
📋 Command-Line Toolchain
Ace has dedicated subcommands for specific tasks:
| Command | Shorthand | Description |
|---|---|---|
ace stage [files] |
ace add |
Stage specific files or all untracked changes. |
ace commit |
— | Generate Conventional Commit messages from diffs and commit. |
ace review |
— | Run code review on staged, unstaged, or branch changes. |
ace resolve |
— | Step-by-step interactive merge conflict resolver. |
ace explain <query> |
— | Explain complex Git commands or repository errors. |
ace stats |
— | Rich visualization of repo statistics, extension breakdowns, and history. |
ace changelog |
— | Compile release changelogs since the last tag. |
ace pr |
— | Draft a Markdown pull request title and description. |
ace search <query> |
— | Semantically search commit history using natural language. |
ace ignore <rule> |
— | Generate and append standard templates to .gitignore. |
ace undo |
— | Safely revert the last action after checking repository status. |
ace dash |
— | Launch the interactive repository management console. |
ace config |
— | Print out active configuration settings. |
🎨 Interactive Terminal Dashboard (TUI)
Launch the repository dashboard by running:
ace dash
The dashboard features:
- A vibrant start-up logo.
- Active branch info, tracking status, and repository charts.
- Interactive shortcuts for one-key commits, reviews, undos, and configuration management.
📄 License
Distributed under the MIT License. See LICENSE for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ace_git_copilot-0.1.2.tar.gz.
File metadata
- Download URL: ace_git_copilot-0.1.2.tar.gz
- Upload date:
- Size: 48.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5934edf19e0cb15bb5a46c8880cdc3511fc97ec54221ef9991e2e5a94f45454
|
|
| MD5 |
93fffe4e69a2591392ce741a50b4cb9c
|
|
| BLAKE2b-256 |
4863028661f8f82083737c39fee84e284df75761d4e8e02b80c5ffb4b2314ae2
|
File details
Details for the file ace_git_copilot-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ace_git_copilot-0.1.2-py3-none-any.whl
- Upload date:
- Size: 56.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fd213729579eefc3efa4e141275dceacd3c3d96ab12e437982ee198ae98e427
|
|
| MD5 |
3c1d4cd80ec9cc1ea959e7bf0f51cd75
|
|
| BLAKE2b-256 |
000ad156a47a0005f9e050fa990e1ad73839d213445448e8968fade19b170a3a
|