Metadata-Version: 2.4
Name: ai-error-cli
Version: 0.1.0
Summary: CLI tool to explain Python runtime errors using AI
Author: Paraj Bhatasana
Author-email: bhatasanaparaj@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: pydantic
Requires-Dist: fastapi
Requires-Dist: pydantic
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 🚀 ai-error-cli

**ai-error-cli** is an AI-powered command-line tool that automatically detects, analyzes, and explains Python runtime errors in real time.  
It helps developers understand errors instantly without manually copying stack traces into AI tools.

---

## ✨ Features

- 🔍 Automatically captures Python runtime errors
- 🤖 AI-generated explanations with:
  - Root cause
  - Step-by-step solutions
  - Code examples (before & after)
- 📊 AI confidence score (reliability indicator)
- 🔁 Automatic retry mechanism for AI calls
- 🧪 Handles complex and nested tracebacks
- 🖥️ Clean, developer-friendly CLI output
- 🔌 Pluggable AI backend (free LLM / cloud / local)

---

## 📦 Installation

Install from PyPI:
pip install ai-error-cli
Run any Python command using ai-run:ai-run python test.py
