Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_error_cli-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_error_cli-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file ai_error_cli-0.1.0.tar.gz.

File metadata

  • Download URL: ai_error_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for ai_error_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c99012843915b4732ebb2b7b6b6b16047ede32c8f332c6e3e3baf95d7309592
MD5 2f2ea99de1ba07851fd2177035d2c22a
BLAKE2b-256 2cbf94b92b4b612049dea7a884f346f018bcd720cfb478920c3f65de8c33e7ce

See more details on using hashes here.

File details

Details for the file ai_error_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ai_error_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for ai_error_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 178977088546be60a3d0c5d6dafdc942af6c4476ec543ca41d1177252317d5e5
MD5 bfb1ce8904eeebe472d4c272e8cb5989
BLAKE2b-256 5c43efc404bc090bb45d75b8601e94026b4e912497fb29993e2ab7b7d57b0a2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page