VibeGit
Turn a busy Git working tree into focused, reviewable commits.
An example working tree before and after VibeGit groups the changes.
During a long coding session, unrelated changes pile up in the same working tree. Turning them into small, coherent commits means inspecting hunks, staging them one by one and writing matching messages. VibeGit does that for you:
vibegit commit
It reads the diff, the current branch and the recent history, asks a model for semantically related groups of hunks with commit messages, and opens an interactive review where you edit, reorder, skip and apply them.
VibeGit is a single native binary that drives the git command line. It never modifies your working tree: it only stages exactly the hunks it was told to and creates commits, so every commit contains precisely the bytes in your files.
Features
- Semantic grouping of related hunks into commits, including changes that span several files.
- Generated messages that follow the style of the repository, guided by a
.vibegitrulesfile derived from your own history. - Interactive review with a diff viewer, in-place or
$EDITORmessage editing, reordering, skipping, commit-and-push in one step, and a button bar with mouse support; press?for all keys. - Change exclusions: changes that look unfinished or sensitive are set aside and shown separately, never committed silently.
- Many providers: Google Gemini, OpenAI, xAI Grok, Anthropic, Ollama, Groq, DeepSeek and others, plus any OpenAI-compatible endpoint.
- Robust git handling: binaries, mode changes, symlinks, submodules, CRLF, unicode paths, detached and unborn HEAD, and unusual
diff.*configuration all work; merges in progress and conflicts are refused before anything is written.
Installation
uv tool install vibegit # or: pipx install vibegit, pip install vibegit
Prebuilt wheels contain the binary, so no Rust toolchain or Python dependencies are needed. uvx vibegit runs it without installing. Git 2.25 or newer must be on your PATH. To build from source, run cargo install --path ..
Quick start
vibegit config # pick a model and store its API key
vibegit init # derive .vibegitrules from the project's history and review it
vibegit commit # review and apply proposed commits
Both setup steps also happen on demand: the wizard runs when no configuration exists, and vibegit commit offers to derive .vibegitrules when a repository has none.
Commands
vibegit commit opens the review interface. Useful flags:
vibegit commit -i "group all test files together" # one-off instruction
vibegit commit --yolo [--push] [--unstage] # apply every proposal without the interface
vibegit commit --debug # dump prompts and responses to $TMPDIR/vibegit-debug
vibegit init analyzes the last init.commits commits (messages and abbreviated diffs), derives the project's conventions into .vibegitrules, and shows the result for review before writing it. --yes skips the review, --print prints instead of writing, --template writes the bundled template, -n N changes the number of commits, --force replaces an existing file.
vibegit config runs the setup wizard; show, get <path>, set <path> <value>, path and open manage the file directly, for example:
vibegit config set model.name openai:gpt-5.6-terra
vibegit config set api_keys.OPENAI_API_KEY sk-...
Configuration
The file lives in the platform configuration directory (~/Library/Application Support/vibegit/config.toml on macOS, ~/.config/vibegit/config.toml on Linux); VIBEGIT_CONFIG_PATH overrides it. Files from VibeGit 0.2 are read unchanged.
Models use the <provider>:<model> format, with google:gemini-3.8-flash as the default. Keys are read from the api_keys table or the usual environment variables (GOOGLE_API_KEY, OPENAI_API_KEY, GROK_API_KEY, ANTHROPIC_API_KEY, ...). Any OpenAI-compatible server works through model.base_url and model.api_key.
Other settings: allow_excluding_changes, watermark, context_formatting.* (branch, recent commits, line truncation, size cap), init.* (commits analyzed and diff detail for vibegit init), and confirmations.*. Each confirmation dialog has a "don't ask again" choice that is stored there. Run vibegit config show to see every setting with its current value.
Project rules
.vibegitrules in the repository root tells VibeGit how commits should look: message style, granularity, grouping, exclusions. vibegit init writes it from your history; edit it freely. A -i instruction takes priority over the file for one run.
Safety
- Only
git apply --cached,git reset -- <paths>,git commitand, on request,git pushrun. The working tree is never written. - Staged changes are unstaged first, after confirmation. Merges, rebases, cherry-picks and conflicts stop VibeGit before anything happens.
- Changes inside submodules and nested repositories are reported and left alone; files above 50 MB are skipped.
- A failed commit (for example a rejected hook) leaves the index clean and can be retried.
Development
cargo test
cargo clippy --all-targets -- -D warnings
uvx maturin build --release # wheel in target/wheels/
Releases publish wheels for Linux, macOS and Windows through the Publish to PyPI workflow. The design notes for the git layer are in docs/specs/git-layer-refactor.md.
License
MIT, see LICENSE.
Metadata
Release files for vibegit 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vibegit-0.3.2.tar.gz | 510.9 kB | With provenance | Details for vibegit-0.3.2.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| vibegit-0.3.2-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for vibegit-0.3.2-py3-none-win_amd64.whl |
| vibegit-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for vibegit-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| vibegit-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for vibegit-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| vibegit-0.3.2-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for vibegit-0.3.2-py3-none-macosx_11_0_arm64.whl |
| vibegit-0.3.2-py3-none-macosx_10_12_x86_64.whl | Python 3 | none | macOS 10.12+ x86-64 | Details for vibegit-0.3.2-py3-none-macosx_10_12_x86_64.whl |
Total release size: 21.6 MB
Release files / vibegit-0.3.2.tar.gz
| Download URL | vibegit-0.3.2.tar.gz |
|---|---|
| Size | 510.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
557a509b16f1d061dca90bd3670321ac31d38b413382d939025183e43ef51230
|
|
BLAKE2b-256 checksum How to use checksums |
e31113aad3f0b8e578ebd2855b1f08b7851a48f2c8301a93859c40b8a8025a31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / vibegit-0.3.2-py3-none-win_amd64.whl
| Download URL | vibegit-0.3.2-py3-none-win_amd64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
166aa67894c71f3c83b7a557b233542f1467124b476de34889273a605f00e80c
|
|
BLAKE2b-256 checksum How to use checksums |
4eec1adb8fcafe4e3a06afa7dbf29a213a3ca253423fb57b94b1d927789ac453
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / vibegit-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | vibegit-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
25728d8d4355cb789fbfc62ff084c6779834cb7011bc02728c3739fc70b8579c
|
|
BLAKE2b-256 checksum How to use checksums |
91d227379ad6ab77c940c2a2d06c5078c147d04d14163ebfeb68795909370a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / vibegit-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | vibegit-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
cb0227a3e15ba629fc7e369fb3ddfb7c590387731758f0de10866dd7406d2724
|
|
BLAKE2b-256 checksum How to use checksums |
02467da0b1079afe15fe0f73a1f7278e4b9800074bd985d6fb44aa5b21ed9a52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / vibegit-0.3.2-py3-none-macosx_11_0_arm64.whl
| Download URL | vibegit-0.3.2-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.1 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2a33c31fb6f60f7afcb6eb5b83024eceb99b24def42821b2820af3a4b212677e
|
|
BLAKE2b-256 checksum How to use checksums |
b9d2ea325feb58ba8837f2d8879431c7a25df22f5229963dd24bb281a7e4e5be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / vibegit-0.3.2-py3-none-macosx_10_12_x86_64.whl
| Download URL | vibegit-0.3.2-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 4.3 MB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
0fc0dbdb7bab5bc1a04b457b0a4c8c51b8461d8b8ba4417430d20ebecd600039
|
|
BLAKE2b-256 checksum How to use checksums |
5da8f29735b7d980e277e0dd7a52e751c45d6c747744d2d2eca11d266b1bce0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for vibegit 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for vibegit-0.3.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.