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.
- AI-powered code completion and suggestions
- Code explanation and documentation generation
- Automated code execution and testing
- File content management and manipulation
-
Clone the repository:
git clone https://github.com/yourusername/ai-coding-buddy.git cd ai-coding-buddy -
(Recommended) Create a virtual environment:
python3 -m venv venv source venv/bin/activate -
Install dependencies with uv:
uv pip install -r pyproject.toml
Or, to sync with the lock file:
uv pip sync
-
Set up your environment variables:
- Create a
.envfile in the project root with your Gemini API key:GEMINI_API_KEY=your_api_key_here
- Create a
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?" --verboseIf you run without arguments, usage instructions will be shown.
main.py- Entry point for the CLIfunctions/- Core function modules (run, get, write, etc.)calculator/- Example submoduletests.py- Test suite