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.

222.7kTypeScript
Ollama

Ollama

CLI tool for running and managing local large language models with REST API and client library support

185.1kGo
Claude Code

Claude Code

AI-powered coding assistant that runs in the terminal and understands your codebase to execute tasks through natural language commands.

153.7kTypeScript

codex

AI coding agent from OpenAI that runs locally on your computer to assist with development tasks.

131.4k
gemini-cli

gemini-cli

Terminal AI agent providing direct command line access to Google Gemini models with file operations, web search, and tool integration.

108.6kTypeScript

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.

84.9kRust

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.

70.4kTypeScript

Open Interpreter

CLI tool that lets LLMs execute code locally through a ChatGPT-like terminal interface with approval prompts

68.7kPython
Goose

Goose

Open source AI agent for desktop, CLI, and API with 15+ provider integrations and Model Context Protocol extensions

55.9kRust
aider

aider

AI-powered terminal-based pair programming tool that integrates LLMs with your existing codebase and git workflow

49.8kPython

herdr

Terminal multiplexer written in Rust that runs coding agents in persistent panes, tracks working/blocked/idle state, and manages local and SSH machines.

46.3kRust

Codewhale

Rust terminal coding agent that reads a repo, edits files, runs commands and checks results using hosted or local models (Ollama, vLLM, SGLang).

41.1kRust

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.

37.0kTypeScript

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.

36.4kTypeScript

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.

36.0kGo

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.

34.2kTypeScript

OfficeCLI

Single-binary CLI that lets AI agents create, read, edit, and render Word, Excel, and PowerPoint files without an Office installation.

32.7kC#

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.

30.7kJavaScript
Crush

Crush

Terminal-based agentic coding assistant from Charm that connects to many LLM providers, uses LSPs for context, and extends via MCP servers.

28.9kGo

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).

28.8kTypeScript

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.

27.8kTypeScript

llm

CLI tool and Python library for interacting with OpenAI, Anthropic, Google, and dozens of other language models via APIs or locally

12.7kPython

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.

12.3kPython

AIChat

LLM CLI with a shell assistant, chat REPL, RAG, function calling and agents, supporting 20+ providers including OpenAI, Claude, Gemini and Ollama.

10.5kRust
Claude Squad

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.

8.7kGo
code2prompt

code2prompt

CLI and TUI that converts a codebase into a single LLM prompt with a source tree, Handlebars templates, git context, and token estimates.

7.7kRust

kubectl-ai

Terminal assistant that turns natural-language requests into kubectl and bash operations using Gemini, OpenAI, Bedrock, Ollama and other LLM providers.

7.6kGo
mods

mods

CLI tool that adds AI capabilities to command line pipelines by processing stdin through LLMs

4.5kGo

elia

Terminal-based interface for chatting with LLMs like ChatGPT, Claude, and local models via ollama

2.5k
models

models

TUI and CLI for browsing AI models, benchmarks, coding agents, and provider statuses from multiple data sources.

517Rust

aic

CLI tool that fetches the latest changelogs for popular AI coding assistants like Claude, Codex, Gemini, and Copilot.

27

Guides