Catalog PyPI
PACKAGE EXPLORERView in registry

aibugger

PyPI

AI-powered debugging tool that catches exceptions and provides fixes.

Versions collected1
Direct dependencies1From release 0.1.0
Last observed21 Oct, 10:04 UTC

README

Version 0.1.0 documentation

AIBugger 🤖

AIBugger is a powerful, AI-driven debugging tool for Python. It automatically catches exceptions, analyzes them using an LLM, and provides actionable fixes and explanations directly in your console (or via Slack/Webhooks).

Features

  • 🪝 Automatic Exception Hooking: Catches uncaught exceptions seamlessly.
  • 🧠 AI Analysis: Uses Gemini or OpenAI to explain why the error happened.
  • 🚀 Multi-Channel Notifications:
    • Console (Default)
    • Slack
    • Custom Webhooks
  • 🔌 Pluggable Architecture: Easily add your own handlers or LLM providers.

Installation

pip install aibugger

(Note: Package is not yet on PyPI, install from source/git)

Usage

Basic Usage (Console)

from aibugger import AIBugger, GeminiClient

# Initialize with your API key
client = GeminiClient(api_key="your-api-key")
debugger = AIBugger(llm_client=client)

# Install the hook
debugger.install()

# Your code here...
print(1 / 0)  # Exception will be caught and analyzed!

Slack Integration

from aibugger import AIBugger, OpenAIClient, SlackHandler

client = OpenAIClient(api_key="sk-...")
slack = SlackHandler(webhook_url="https://hooks.slack.com/...")

debugger = AIBugger(llm_client=client, handlers=[slack])
debugger.install()

Configuration

You can also use environment variables:

  • GEMINI_API_KEY
  • OPENAI_API_KEY

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.023 Dec 20251

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
example/aibugger

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:04 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:bff2466bba4e9e724badd82a890faa1981e6d85e0d7b9dd850086126f89cedf4