Madhu Chitikela
docs: Add live HuggingFace Space demo link to README
fa84ace
|
Raw
History Blame Contribute Delete
2.06 kB

A newer version of the Gradio SDK is available: 6.19.0

Upgrade
metadata
title: AI Code Debugger Agent
emoji: πŸ€–
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
python_version: '3.10'
app_file: app.py
pinned: false

πŸ€– AI Code Debugger Agent

Autonomous AI agent that fixes broken Python code β€” no human needed.

Python LangChain Groq Gradio HuggingFace Space


πŸš€ Live Demo

πŸ‘‰ https://huggingface.co/spaces/madhuchitikela/ai-code-debugger-agent


🎯 What It Does

Paste broken code + error message β†’ AI analyzes, fixes, and explains β€” automatically.

βš™οΈ Tech Stack

Layer Technology
LLM Groq LLaMA 3.3 + Gemini Fallback
Framework LangChain
UI Gradio
Database SQLite
Deployment HuggingFace Spaces

πŸš€ How to Run Locally

git clone https://github.com/MadhuChitikela/ai-code-debugger-agent
cd ai-code-debugger-agent
pip install -r requirements.txt

Create .env file:

GROQ_API_KEY=your_key_here
GEMINI_API_KEY=your_key_here

Run:

python main.py

πŸ’‘ Example

Input:

def greet():
    print(massage)
greet()

Error: NameError: name 'massage' is not defined

Output: Fixed code + explanation βœ…

πŸ—οΈ Architecture

User Input (broken code + error)
          ↓
   Multi-Model LLM
   (Groq β†’ Gemini fallback)
          ↓
   Fix Generated
          ↓
   SQLite Logged
          ↓
   Result Displayed

πŸ“Š Features

  • βœ… Auto fixes Python + JavaScript errors
  • βœ… Multi-model fallback (7 models across 2 providers)
  • βœ… Session history + analytics dashboard
  • βœ… Professional dark UI
  • βœ… All sessions logged to SQLite