Mods brings LLM capabilities to the Unix command line in the most natural way possible: through pipes. Run git diff | mods 'summarize these changes' or cat error.log | mods 'explain this error' and get beautifully rendered markdown responses right in your terminal. The tool reads from stdin, sends the content along with your prompt to any configured LLM, and renders the response with syntax highlighting, code blocks, and formatted text using Charm's Glamour markdown renderer.
Provider support is comprehensive: OpenAI, Anthropic Claude, Google Gemini, Ollama for local models, Azure OpenAI, Groq, and any OpenAI-compatible API endpoint. The bring-your-own-key model means you pay only for actual API usage. Conversation history can be saved and continued across sessions. The tool supports both interactive and non-interactive modes, making it suitable for both ad-hoc queries and scripted automation pipelines.
Mods is MIT licensed with 9,800+ GitHub stars and is part of the Charm ecosystem — the team behind popular terminal UI libraries including Bubble Tea (TUI framework), Lip Gloss (styling), and Glow (markdown viewer). This shared design language gives Mods the most aesthetically polished terminal AI experience available. Compared to shell_gpt or similar CLI tools, Mods emphasizes composability and visual quality over feature breadth.