CLI tool explains the output of your last command
Top 30.1% on sourcepulse
wut
is a terminal assistant that leverages large language models (LLMs) to explain the output of previous shell commands, aiding users in understanding errors, deciphering logs, and fixing incorrect commands. It targets developers and power users seeking to quickly interpret complex terminal outputs.
How It Works
The CLI tool captures the output of the last executed command within a tmux
or screen
session. It then sends this output, along with an optional user query, to a configured LLM provider (OpenAI, Anthropic, or Ollama) for analysis and explanation. This approach provides on-demand context-aware assistance directly within the terminal workflow.
Quick Start & Requirements
pipx install wut-cli
.tmux
or screen
session to capture command output.OPENAI_API_KEY
, ANTHROPIC_API_KEY
, OLLAMA_MODEL
).OPENAI_MODEL
and OPENAI_BASE_URL
.Highlighted Details
Maintenance & Community
tmux
/screen
dependency, adding an auto-fix option, and Homebrew integration.Licensing & Compatibility
Limitations & Caveats
tmux
or screen
session to function.7 months ago
1 day