aicoolies logo

AIChat

All-in-one LLM CLI tool with shell assistant, RAG, and function calling

Share
open-sourceOpen Source
Visit Website →

All-in-one LLM CLI written in Rust that gives unified access to 20+ AI providers (OpenAI, Claude, Gemini, Ollama, Groq, Mistral, DeepSeek, and more) through one terminal interface. Includes a shell assistant, interactive REPL with session management, RAG over local files and URLs, custom roles, function calling, and a built-in HTTP server exposing Chat Completions, Embeddings, and Rerank APIs plus an LLM Playground and Arena for model comparison.

AIChat is an all-in-one LLM CLI tool written in Rust that provides unified access to over 20 AI model providers through a single terminal interface, featuring a shell assistant, interactive chat REPL, RAG capabilities, and AI agent tools. It solves the challenge of working with multiple AI providers by offering a consistent command-line interface where developers can switch between OpenAI, Claude, Gemini, Ollama, Groq, Mistral, DeepSeek, and many more providers without changing their workflow. AIChat brings the power of large language models directly into the terminal environment where developers already work, with features designed for seamless integration into shell workflows and automation scripts.

AIChat differentiates itself with a versatile shell assistant that translates natural language descriptions into executable shell commands adapted to the user OS and shell environment, a chat REPL for interactive conversations with context management, RAG support for incorporating local files, directories, and remote URLs into AI responses, and a built-in HTTP server that provides Chat Completions, Embeddings, and Rerank APIs along with an LLM Playground and Arena for model comparison. The tool supports custom roles for tailoring AI behavior, session management for maintaining conversation context, and function calling for extending capabilities through custom tools. Written in Rust, AIChat delivers excellent performance with a small binary size.

AIChat targets developers, system administrators, and command-line power users who want AI assistance integrated directly into their terminal workflow without switching to web-based interfaces or IDE plugins. It supports deployment as a local AI gateway through its built-in HTTP server, making it useful for teams that want a lightweight, self-hosted AI proxy. AIChat is particularly popular among developers who work primarily in the terminal and value the ability to quickly query different AI models, generate shell commands from natural language, search private documents through RAG, and automate repetitive tasks through AI-powered scripting, all from a single, fast, cross-platform binary.

Pricing

Free (open-source, bring your own API key)

Platforms

CLI (macOS, Linux, Windows, Termux)

Categories

Tags

Use Cases

Alternatives

ShellGPT

AI-powered command-line productivity tool

ShellGPT (sgpt) is a command-line productivity tool powered by OpenAI models that generates shell commands, code snippets, and documentation directly in the terminal. Integrates with Bash, Zsh, PowerShell, and CMD; places AI-suggested commands into the terminal input via hotkeys. Supports persistent chat sessions, a REPL mode, and custom Python functions for extending capabilities. Accepts stdin and arguments for pipe-based workflows where command output can be piped to the AI.

open-sourceOpen Source

tgpt

Terminal AI chatbot — no API key required

Cross-platform terminal GPT client written in Go that provides free access to AI chatbots (KoboldAI, Blackbox AI, OpenAI) without API keys or account creation. Offers interactive multi-turn chat, shell command generation and execution, code generation, and image generation via Pollinations. Distributed as a single binary with no dependencies, making installation trivial on macOS, Linux, and Windows. Ideal for developers who want quick AI in the terminal without signup friction.

open-sourceOpen Source

Fabric

Modular AI prompt framework for everyday tasks

Fabric is an open-source framework that organizes AI prompts into reusable patterns for solving everyday tasks like summarizing content, explaining code, extracting insights from videos, and generating social media posts. Written in Go with support for 20+ AI providers including OpenAI, Claude, Gemini, and Ollama, it runs from the command line and can serve as a REST API. With 40,000+ GitHub stars, Fabric bridges the gap between AI capabilities and practical workflow automation.

open-sourceOpen Source

Related Tools

Ghostty logo

Ghostty

Top Pick

Fast, native terminal emulator

GPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open-source with 20K+ GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.

open-sourceOpen Source
Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

paidOpen Source
Hermes Agent logo

Hermes Agent

Top Pick

Open-source AI agent framework with persistent memory, reusable skills, tools, and messaging gateways

Hermes Agent is an open-source AI agent framework with persistent memory, reusable skills, 40+ tools, cron jobs, and messaging gateways.

open-sourceOpen Source
pi dev code

Pi

Top Pick

Minimal terminal coding harness

Pi Coding Agent is an MIT-licensed Node.js CLI from earendil-works for building and running coding agents in a local terminal. The current package describes a read/bash/edit/write toolset and session management, while the repo positions Pi as a unified LLM API, agent loop, TUI, and coding-agent CLI. It is best framed as a lean, self-extensible BYO-model toolkit rather than a managed IDE.

open-sourceOpen Source
OpenCode logo

OpenCode

Top Pick

Open-source AI coding agent for the terminal

Open-source terminal-based AI coding agent built in Go by the SST team, with a rich TUI (Bubble Tea) supporting 75+ model providers including OpenAI, Anthropic, Gemini, Bedrock, Groq, and OpenRouter. Features vim-like editing, persistent SQLite sessions, and LSP integration for 40+ languages. Fully free with no vendor lock-in, it has rapidly grown to 95k+ GitHub stars.

open-source
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

freemiumOpen Source