A toy AI coding agent inspired by Claude Code — built with Python and the free Google Gemini API.
# AI Code Assistant A CLI tool that uses Gemini AI to debug and fix Python code. It scans files, modifies code, and tests fixes autonomously. ## Features - Accepts coding tasks via CLI - Uses Gemini API to reason and act - Can: - Scan project files - Read/write code - Run Python scripts - Execute tests and verify changes - Repeats actions until task is done or fails - Security-focused with sandboxed execution - Optimized performance with efficient file operations ## Requirements - Python 3.10+ - A Claude API key from [Google AI Studio](https://aistudio.google.com/) ## Installation ### 1. Clone the Repository ```bash git clone https://github.com/predrag-milanovic/ai-agent-debuggy-autodev.git cd ai-agent-debuggy-autodev ``` ### 2. Set Up Virtual Environment ```bash python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate ``` ### 3. Install Dependencies ```bash pip install -r requirements.txt ``` ### 4. Configure API Key Create a `.env` file in the project root: ```bash echo 'GEMINI_API_KEY="your_key_here"' > .env ``` Replace `your_key_here` with your actual Claude API key from [Google AI Studio](https://aistudio.google.com/). ## Configuration The project can be configured via environment variables or by editing `config.py`: - **`AI_WORKING_DIR`** - The working directory for code operations (default: `./calculator`) - **`AI_MAX_ITERS`** - Maximum number of AI iterations (default: `20`) - **`MAX_CHARS`** - Maximum characters to read from files (default: `10000`) Example using environment variables: ```bash export AI_WORKING_DIR="./my-project" export AI_MAX_ITERS="30" ``` ## Usage ### Basic Usage ```bash python main.py "your prompt here" ``` ### Examples **Debug and fix code:** ```bash python main.py "Fix the calculator to handle division by zero" ``` **Add new features:** ```bash python main.py "Add support for square root operations" ``` **Run with verbose output:** ```bash python main.py "Check if all tes
Google's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.
Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.
Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.
Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.
Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.
Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.