Favicon of aichat

aichat

An open-source LLM CLI connects to Ollama and cloud providers, with document chat, shell assistance and AI agents on macOS, Linux and Windows.

aichat is a terminal AI assistant for people who want to discuss files, generate shell commands and use model-powered tools from the command line. It connects to Ollama, OpenAI, Claude, Gemini and OpenAI-compatible API providers.

  • Chat and shell assistance: Keep conversations with retained context or describe a task to generate commands suited to your operating system and shell.
  • Files and document chat: Include images, files, directories, URLs and command output in conversations, and use document retrieval to bring external material into answers.
  • Tools and agents: Connect models to functions and MCP tools, or combine instructions, tools and documents into an AI agent. Roles guide model behavior, while macros repeat sequences of chat commands.
  • Browser access and comparisons: A built-in local HTTP server provides a browser playground for chatting with supported models and an arena for comparing responses side by side.

The application runs on macOS, Linux and Windows, with Android support through Termux. The terminal application and built-in server run locally; model requests go to the selected provider. aichat is open source under the Apache License 2.0.

Similar to aichat