Skip to content

GiYmon/ai-coding-buddy

Repository files navigation

AI-CODING-BUDDY

AI-CODING-BUDDY is an intelligent coding assistant designed to help you write, understand, and manage Python code more efficiently. It leverages AI to provide code suggestions, explanations, and automation for common development tasks.

Features

  • AI-powered code completion and suggestions
  • Code explanation and documentation generation
  • Automated code execution and testing
  • File content management and manipulation

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/ai-coding-buddy.git
    cd ai-coding-buddy
  2. (Recommended) Create a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
  3. Install dependencies with uv:

    uv pip install -r pyproject.toml

    Or, to sync with the lock file:

    uv pip sync
  4. Set up your environment variables:

    • Create a .env file in the project root with your Gemini API key:
      GEMINI_API_KEY=your_api_key_here

Usage

You can run AI-CODING-BUDDY from the command line by providing your prompt as an argument:

python main.py "How do I fix the calculator?"

To enable verbose output:

python main.py "How do I fix the calculator?" --verbose

If you run without arguments, usage instructions will be shown.

Project Structure

  • main.py - Entry point for the CLI
  • functions/ - Core function modules (run, get, write, etc.)
  • calculator/ - Example submodule
  • tests.py - Test suite

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages