CLI tool to explain Python runtime errors using AI
Project description
🚀 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_error_cli-0.1.1.tar.gz.
File metadata
- Download URL: ai_error_cli-0.1.1.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69ca85f97b86d3114b1d687862ea489c80ccc218ba8b6184641cb5af928c1a80
|
|
| MD5 |
3a0732a721eaa02dea790348b770dd4e
|
|
| BLAKE2b-256 |
580be5eeb868cb5e052883cc418ca9724d29bbd33de50643fdb109ea6151d4e7
|
File details
Details for the file ai_error_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ai_error_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
158d8460e310d4de63b1328e561e03163528fe667931b08def8a1dcd84477177
|
|
| MD5 |
d61c9c575f8172d80ed7832a6bbb6af2
|
|
| BLAKE2b-256 |
81ba556edc596cec2e6751abb61d0c95f90b65a9f9edb8085deede1036ac13fe
|