Skip to content
View BugRescue's full-sized avatar
  • Joined Feb 2, 2026

Block or report BugRescue

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
BugRescue/README.md

🐞 BugRescue V2.0

License: MIT Python 3.10+ Multi-Cloud

"Your Hybrid AI Code Surgeon." BugRescue fixes bugs in real-time. Use Local AI for privacy, or switch to Cloud AI (OpenAI, Claude, Gemini) for complex logic.


⚑ Key Features

Feature Description
Hybrid Brain Switch between ollama (default), openai, anthropic, or gemini with one flag.
Auto-Fix Loop Runs code β†’ Catches error β†’ Patches code β†’ Repeats until fixed.
Polyglot Supports Python, JavaScript, Go, Rust, C++, Java, and more.
Safety First Auto-backups (.bugrescue_backups/) and Dry-Run mode.

πŸš€ Usage

1. Default (Local / Privacy Mode)

Uses Ollama (qwen2.5-coder) running on your machine.

python3 bug_rescue.py ./my-project

2. Cloud Mode (OpenAI / Claude / Gemini)

For tougher bugs, use a smarter cloud model.

# OpenAI
python3 bug_rescue.py ./my-project --provider openai --key "sk-..."

# Anthropic (Excellent for coding)
python3 bug_rescue.py ./my-project --provider anthropic --key "sk-ant-..."

# Google Gemini (Fast & Large Context)
python3 bug_rescue.py ./my-project --provider gemini --key "AIza..."

3. Docker (Enterprise / CI)

docker run --rm -it \
  -v $(pwd):/code \
  bugrescue/engine /code \
  --provider openai --key "sk-..."

πŸ› οΈ Configuration

Flag Description Default
--provider Choose AI: ollama, openai, anthropic, gemini ollama
--key API key for cloud providers None
--model Override default model (e.g., gpt-4o, claude-3.5-sonnet) Smart default
--dry-run Audit only, no file changes False

πŸ”’ Safety Guarantees

  • Automatic backups before every change
  • Human-readable patch diffs
  • Dry-run mode for auditing fixes
  • No cloud calls in local mode

πŸ“„ License

MIT License

Popular repositories Loading

  1. BugRescue BugRescue Public

    Autonomous AI Code Repair Agent. Finds crashes, compiles code, and fixes bugs in real-time for Python, Rust, Go, & C++.

    Python