xerror
A smart CLI that explains error logs (Python, JavaScript, TypeScript, C++, Java) with AI or offline rules, and suggests fixes—right from your terminal

xerror is a developer-focused CLI and Python library that analyzes error logs across multiple languages and returns clear, actionable explanations with suggested fixes. It supports two modes: AI-powered (using configurable providers like Gemini for contextual insights) and a fast offline, rule-based mode that works without internet or API keys.
Key capabilities include language auto-detection, rich terminal formatting, saving and searching past explanations, Markdown export, and real-time process watching to surface errors as they happen. Inputs are flexible—read from files, stdin, interactive paste, or monitor running commands. The Python API exposes functions for explanation, language detection, and parsing, plus context managers and decorators to auto-explain exceptions. Designed to speed up triage of stack traces, improve understanding of root causes, and provide concrete next steps—online or offline.
Python Package (pip)
Python Package (pip)
Python Package (pip)