AI Command-Line Tools
31 tools in the AI category: AI-powered CLI tools, coding agents, and LLM interfaces. Sorted by GitHub stars; the most starred are opencode, Ollama and Claude Code.
Tools
opencode
Open source AI coding agent with a terminal UI, built-in build and plan agents, and a desktop app in beta.
Ollama
CLI tool for running and managing local large language models with REST API and client library support
Claude Code
AI-powered coding assistant that runs in the terminal and understands your codebase to execute tasks through natural language commands.
codex
AI coding agent from OpenAI that runs locally on your computer to assist with development tasks.
gemini-cli
Terminal AI agent providing direct command line access to Google Gemini models with file operations, web search, and tool integration.
rtk
Single Rust binary that filters and compresses shell command output (git, tests, linters, etc.) before AI coding agents read it, with under 10ms overhead.
OmO
Terminal coding agent run through the omo command. It runs on senpi, a fork of pi, and can split a job into parallel agents across multiple models.
Open Interpreter
CLI tool that lets LLMs execute code locally through a ChatGPT-like terminal interface with approval prompts
Goose
Open source AI agent for desktop, CLI, and API with 15+ provider integrations and Model Context Protocol extensions
aider
AI-powered terminal-based pair programming tool that integrates LLMs with your existing codebase and git workflow
herdr
Terminal multiplexer written in Rust that runs coding agents in persistent panes, tracks working/blocked/idle state, and manages local and SSH machines.
Codewhale
Rust terminal coding agent that reads a repo, edits files, runs commands and checks results using hosted or local models (Ollama, vLLM, SGLang).
oh-my-pi
Terminal coding agent (fork of Pi) with LSP and DAP debugger integration, subagents, Python/Bun execution, and in-process native tools. Supports 60+ providers.
Continue
Open-source coding agent distributed as a CLI, VS Code extension, and JetBrains plugin. Repository is read-only after the final 2.0.0 release.
DeepSeek-Reasonix
Open-source coding agent shipped as a single Go binary with a TUI, desktop app, and ACP editor integration; DeepSeek preset, any OpenAI-compatible model.
OpenClaude
Open-source terminal coding-agent CLI that works with OpenAI-compatible APIs, Gemini, GitHub Models, Codex, Ollama and other cloud or local model backends.
OfficeCLI
Single-binary CLI that lets AI agents create, read, edit, and render Word, Excel, and PowerPoint files without an Office installation.
OpenCLI
Turns websites and Electron apps into CLI commands and lets AI agents drive your logged-in Chrome via a Browser Bridge extension and opencli browser primitives.
Crush
Terminal-based agentic coding assistant from Charm that connects to many LLM providers, uses LSPs for context, and extends via MCP servers.
Qwen Code
Open-source AI coding agent that runs in the terminal, with IDE plugins, desktop app, SDKs, and multi-provider model support (OpenAI, Anthropic, Gemini, Qwen).
Kilo Code
Open source AI coding agent for VS Code, JetBrains, and the terminal, with 500+ selectable models at provider pricing and an autonomous mode for CI/CD.
llm
CLI tool and Python library for interacting with OpenAI, Anthropic, Google, and dozens of other language models via APIs or locally
ShellGPT
CLI that sends prompts to LLMs (OpenAI by default, Ollama supported) to generate shell commands, code, and answers, with stdin piping and chat sessions.
AIChat
LLM CLI with a shell assistant, chat REPL, RAG, function calling and agents, supporting 20+ providers including OpenAI, Claude, Gemini and Ollama.
Claude Squad
Terminal UI that runs multiple AI coding agents (Claude Code, Codex, Gemini, Aider) in parallel, each in its own tmux session and git worktree.
code2prompt
CLI and TUI that converts a codebase into a single LLM prompt with a source tree, Handlebars templates, git context, and token estimates.
kubectl-ai
Terminal assistant that turns natural-language requests into kubectl and bash operations using Gemini, OpenAI, Bedrock, Ollama and other LLM providers.
mods
CLI tool that adds AI capabilities to command line pipelines by processing stdin through LLMs
elia
Terminal-based interface for chatting with LLMs like ChatGPT, Claude, and local models via ollama
models
TUI and CLI for browsing AI models, benchmarks, coding agents, and provider statuses from multiple data sources.
aic
CLI tool that fetches the latest changelogs for popular AI coding assistants like Claude, Codex, Gemini, and Copilot.
Guides
- Best AI Coding Agents for the TerminalCompare terminal AI coding agents: opencode, Claude Code, codex, Gemini CLI, aider, Goose and Open Interpreter by workflow and model support.
- codex AlternativesCodex alternatives: OpenCode, Claude Code, Gemini CLI, Aider and Goose compared by model support, interface and workflow.
- gemini-cli AlternativesAlternatives to gemini-cli: opencode, claude-code, codex, goose, and aider compared by provider support, agents, and workflow.
- Goose AlternativesGoose alternatives compared: OpenCode, Claude Code, Aider, Codex and Gemini CLI, with how each differs on scope, providers and workflow.
- Claude Code AlternativesClaude Code alternatives: OpenCode, Codex CLI, Gemini CLI, Aider and Goose compared by providers, agents, git handling and free tiers.
- Open Interpreter AlternativesOpen Interpreter alternatives: Goose, opencode, Claude Code, Codex and Gemini CLI compared on interfaces, providers and approval controls.