Skip to main content

# gitai

AI-powered git commit message and PR description generator.

Reads your git diff and generates a conventional commit message in seconds.

## Install

pip install gitai

export ANTHROPIC\_API\_KEY="your-key-here"

## Usage

\# Generate a commit message for staged changes

gitai commit



\# Stage everything and commit in one step  

gitai commit --auto



\# Preview without committing

gitai commit --dry-run



\# Generate a PR description vs main branch

gitai pr



\# PR description vs a different branch

gitai pr --base develop

## Example output


╭─── Suggested commit ───╮

│ feat(auth): add OAuth2  │

│ login with Google       │

╰─────────────────────────╯

Use this message? \[y/n]:

## Requirements

- Python 3.10+

- An Anthropic API key (get one free at console.anthropic.com)

## License

MIT

Metadata

Release files for gcommitai 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gcommitai 0.1.0
File Size Uploaded Provenance
gcommitai-0.1.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gcommitai 0.1.0
File Interpreter ABI Platform
gcommitai-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / gcommitai-0.1.0.tar.gz

Download URL gcommitai-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b59b4b1cc62eb14919fcdafa24c976c4145c103e088fa6e484888570b2cd38d4
BLAKE2b-256 checksum
How to use checksums
42aeebce0c18e5faae654289d6b3eadbb61cd42c8821451426d19d5660d15478
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / gcommitai-0.1.0-py3-none-any.whl

Download URL gcommitai-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9b19ac9f03d6abd37fbc86439fb179184435576162f922457b8c8503b80befb
BLAKE2b-256 checksum
How to use checksums
647f6563291f2b259c49f6445d0d60bd6d65e10261f28e432e6278619ae2cdb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for gcommitai 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page