mods
An archived AI CLI processes shell output with local LLMs through LocalAI or cloud APIs and saves conversations locally by default.
mods is an AI command-line tool for developers and shell users who want to ask questions about command output or pass model responses into pipelines. The project is archived and no longer maintained.
- Shell pipelines: Combine command output with a prompt, or send either alone, and request responses in Markdown, JSON or other text formats.
- Saved conversations: Keep exchanges locally by default and continue an earlier conversation or pick up from the last response.
- Custom roles: Reuse system prompts for recurring tasks rather than rewriting the same instructions for each request.
- MCP tools: Connect to MCP servers and use the tools they make available.
The client runs on macOS, Linux and Windows, with FreeBSD support through ports. It works with local LLMs through LocalAI, including GPT4ALL-J, and supports OpenAI-compatible endpoints.
Cloud connections include OpenAI, Azure OpenAI, Cohere, Groq and Google Gemini. These require API keys and send input to the selected provider for processing. Local conversation storage doesn't change where model processing happens.
mods is open source under the MIT license. Much of its functionality is also available in Charm's Crush through its non-interactive mode.