Skip to main content

A unified AI stack to optimize, describe, architect, and forge pull requests for your GitHub repositories.

Project description

Git-Alchemist ⚗️

Git-Alchemist ⚗️ is a unified AI-powered CLI tool for automating GitHub repository management. It consolidates multiple technical utilities into a single, intelligent system powered by Google's Gemini 3 and Gemma 3 models.

🌐 Visit the Official Site


Features

  • Smart Profile Generator: Intelligently generates or updates your GitHub Profile README.
  • Topic Generator: Auto-tag your repositories with AI-suggested topics for better discoverability.
  • Description Refiner: Automatically generates repository descriptions by analyzing your README content.
  • Issue Drafter: Translates loose ideas into structured, technical GitHub Issue drafts.
  • Architect (Scaffold): Generates and executes project scaffolding commands in a safe, temporary workspace.
  • Fix & Explain: Apply AI-powered patches to specific files or get concise technical explanations for complex code.
  • Gold Score Audit: Measure your repository's professional quality and health.
  • The Sage & Helper: Contextual codebase chat and interactive assistant, now powered by a Smart Chunking Engine to handle large codebases seamlessly.
  • Commit Alchemist: Automated semantic commit message suggestions from staged changes.
  • Forge: Automated PR creation from local changes.

Model Tiers (v1.2.0)

Git-Alchemist features a dynamic model selection and fallback system with strict separation for stability:

  • Fast Mode (Default): Utilizes Gemma 3 (27B, 12B, 4B). Optimized for speed, local-like reasoning, and high availability.
  • Smart Mode (--smart): Utilizes Gemini 3 Flash, Gemini 2.5 Flash, and Flash-Lite. Optimized for complex architecture, deep code analysis, and large context windows.

New in v1.2.0:

  • Parallel Map-Reduce: Large codebases are automatically split into chunks and processed in parallel (up to 2 workers) for faster, deeper insights without hitting token limits.
  • Interactive Helper: Use alchemist helper for a guided experience through your project.

Installation

  1. Clone the repository:

    git clone https://github.com/abduznik/Git-Alchemist.git
    cd Git-Alchemist
    
  2. Install as a Global Library:

    pip install git-alchemist
    
  3. Set up your Environment: Create a .env file in the directory or export it in your shell:

    GEMINI_API_KEY=your_actual_api_key_here
    

Usage

Once installed, you can run the alchemist command from any directory:

# Audit a repository
alchemist audit

# Optimize repository topics
alchemist topics

# Generate semantic commit messages
alchemist commit

# Ask the Sage a question
alchemist sage "How does the audit scoring work?"

# Start the interactive helper
alchemist helper

# Scaffold a new project (Safe Mode)
alchemist scaffold "A FastAPI backend with a React frontend" --smart

Requirements

  • Python 3.10+
  • GitHub CLI (gh) installed and authenticated (gh auth login).
  • A Google Gemini API Key.

Migration Note

This tool replaces and consolidates the following legacy scripts:

  • AI-Gen-Profile
  • AI-Gen-Topics
  • AI-Gen-Description
  • AI-Gen-Issue
  • Ai-Pro-Arch

Created by abduznik

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_alchemist-1.2.6.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_alchemist-1.2.6-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file git_alchemist-1.2.6.tar.gz.

File metadata

  • Download URL: git_alchemist-1.2.6.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for git_alchemist-1.2.6.tar.gz
Algorithm Hash digest
SHA256 c63638fdd2b1303c3e8914d7dbe58d52ab5bad026e28e6a0e521a0f9f99d944c
MD5 15bd440c0055646b5e4795fad289f65f
BLAKE2b-256 1687dc6a832ce094fdf18a0dc7299e480c16467bbe20470e8b4ebc8c26a4f0b3

See more details on using hashes here.

File details

Details for the file git_alchemist-1.2.6-py3-none-any.whl.

File metadata

  • Download URL: git_alchemist-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for git_alchemist-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 df2d8878eef9b3f4519a410ddeb9812548ed8982829ed0fef4f189dbf279d8bc
MD5 cc1cc84e497a674d3c9c6220e202406f
BLAKE2b-256 ded270a196ef1268a31b0f6003169d98307a0f814f5c9e2ebc0038aceafb7284

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page