Best tools for Terminal Agents
AI agents that operate directly in the terminal for coding tasks
45 tools
listing data updated November 4, 2026 · not a verification date
showing 45 of 45 tools
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 runs on current Claude models such as Opus 5.5 and Sonnet 5.5 for complex architecture work. Built for terminal-first developers.
Agentic coding tool by Sourcegraph (formerly Cody)
Amp is a multi-model coding agent for terminal, web, macOS/iOS, and IDE-connected workflows. Vendor docs describe the same agent and threads across surfaces, with remote Orbs (incl. self-hosted), local Runners, Dial modes (low / medium / high / ultra), shared threads, MCP, plugins, and BYOK / linked ChatGPT subscriptions. Pricing spans a free Hobby tier, optional Megawatt ($20/mo) and Gigawatt ($200/mo) Individual plans, no-extra-charge Teams workspaces, pay-as-you-go credits, and Enterprise.
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.
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-source managed agent platform: run durable agents on any model and machine through one API
Omnara is an open-source (Apache-2.0) managed agent platform, positioned as a self-hostable alternative to Claude Managed Agents and the OpenAI Agents API. You launch durable agents through a REST API, TypeScript SDK or CLI; Omnara runs the agent loop, stores state in a durable event log, and handles sandboxes or your own machines, secrets, tool approvals, RBAC and audit history. Use any compatible model endpoint, host it on Omnara Cloud or self-host with Docker Compose.
Personal AI agent in your terminal with local tool access
gptme is one of the earliest terminal-based AI agent CLIs, launched in spring 2023. It equips a personal AI agent with local tools to run shell commands, write and edit code, browse the web via Playwright, and use vision capabilities. Supports MCP integration and an extensible plugin system for building persistent autonomous agents. The Bob reference agent is documented as having run extensively as an autonomous agent.
Glamorous agentic coding for the terminal by Charm
LSP-enhanced terminal coding agent from Charmbracelet with the broadest cross-platform support including Android. Features mid-session model switching and MCP extensibility for custom tool integration. Combines the elegance of Charmbracelet's TUI toolkit with practical coding assistance, offering a polished terminal experience for developers on any platform.
Google's official CLI agent for coding with Gemini
Gemini CLI is Google's open-source terminal agent for coding with Gemini models, shell/file tools, web fetching, Google Search grounding, and MCP extensions. As of 18 June 2026, free and Google AI Pro/Ultra individual accounts no longer use Gemini CLI for requests — use Antigravity CLI instead. Gemini CLI remains for organizations on supported Gemini Code Assist / Google Cloud paths and for paid API-key usage.
Open-source extensible AI agent, now under the Linux Foundation's AAIF
Open-source (Apache 2.0) AI agent, originally built by Block and now part of the Agentic AI Foundation (AAIF) at the Linux Foundation. Runs on your machine as a desktop app (macOS, Linux, Windows), CLI and API, works with 15+ LLM providers or existing Claude, ChatGPT and Gemini subscriptions via ACP, and connects to 70+ MCP extensions. 55K+ GitHub stars; used for coding and general automation.
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-source terminal AI agent by Alibaba
Open-source AI coding assistant CLI with multi-model support and subagent capabilities in the terminal.
AI pair programming in your terminal
Terminal-based AI pair programmer with deep git integration. Auto-commits changes with meaningful messages and creates repository maps for navigating large codebases. Works with Claude, GPT, DeepSeek, and local models. One of the most popular open-source AI coding tools, known for its reliability, broad model support, and seamless command-line workflow.
Context compression for LLM apps and coding agents
Headroom is an Apache-2.0 context compression layer for LLM apps and coding agents. It compresses tool output, logs, files, RAG chunks, and agent history through a local library, proxy, wrapper, or MCP server, with retrieval hooks for bringing originals back when needed. Treat its savings numbers as Headroom-reported benchmarks, not independent aicoolies measurements.
Open-source AI coding agent for the terminal
Open-source (MIT) AI coding agent from Anomaly for the terminal, desktop and web. It works with many LLM providers via /connect, local models through Ollama, the pay-as-you-go OpenCode Zen gateway and OpenCode Go subscriptions. OpenCode 2.0 runs one shared background service for all clients and adds the @opencode/client package and Code Mode, which composes MCP and OpenAPI tools in a single script.
Cross-agent messaging for CLI coding agents
agmsg is an MIT-licensed Bash and SQLite messaging layer for CLI coding agents. It lets Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, Antigravity, OpenCode, Hermes, and other terminal agents exchange messages through a shared local database instead of relying on a human copy-paste relay. It is intentionally not MCP, not a broker, and not a subagent framework.
Enterprise-grade AI coding agent system by Factory
Factory's AI coding agent, available in the Factory App (desktop, web and mobile), the Droid CLI, headless droid exec and Factory-hosted Droid Computers. Custom droids (subagents) with their own prompt, model and tool policy take focused tasks, and Missions orchestrate large multi-feature projects. Works with Anthropic, OpenAI and other native models, plus BYOK, open-source and local models. Enterprise-focused, with automated code review, QA, docs and incident response.
Community Grok terminal agent for xAI-powered coding and command-line workflows
Grok CLI is a community command-line interface for using xAI/Grok models from a terminal workflow. It fits developers who want a lightweight, scriptable Grok surface for coding help, command-line experiments, and local agent-style interactions without waiting for a heavier IDE integration. For aicoolies, it belongs in the fast-growing AI CLI agents lane beside Grok Build, Claude Code, Codex, Gemini CLI, and Qwen Code.
Open-source agentic engineering platform
Open-source agentic AI coding platform for VS Code, JetBrains IDEs, CLI, Slack, and Cloud that combines inline autocomplete, browser automation, automated refactoring, and custom planning/coding/debugging modes. Operates on a plan-act-observe-fix loop with 500+ model support (Gemini, Claude, GPT via OpenRouter). Memory Bank feature maintains repo-resident context across sessions, and codebase indexing keeps the agent grounded in your project.
ByteDance's open-source LLM coding agent with multi-provider support
Trae Agent is ByteDance's open-source software engineering agent that autonomously resolves GitHub issues, fixes bugs, and implements features using any LLM provider. It supports OpenAI, Anthropic, Doubao, Azure, Ollama, and Gemini backends, making it one of the most provider-flexible coding agents available. With over 11,000 GitHub stars and a modular research-friendly architecture, it offers a strong alternative to Western-centric coding agents.
GitHub Copilot in your terminal
GitHub Copilot CLI is a coding agent for the terminal. It answers questions, writes and debugs code, runs commands and works with GitHub.com, for example by making changes and opening a pull request. It has an interactive mode with plan mode, a programmatic -p mode, local and cloud sandboxes, MCP servers, custom agents, hooks, skills and an ACP server. It runs on Linux, macOS and Windows and is included in every Copilot plan.
Spec-driven agentic IDE and CLI by AWS
Spec-driven agentic AI IDE from AWS, built on Code OSS (the VS Code foundation), that transforms ad-hoc prompting into a structured workflow by auto-generating requirements documents, design specs, and implementation plans before writing code. Kiro keeps AI-written code tied to explicit acceptance criteria defined up front.
Terminal-native coding agent by Mistral AI
Mistral Vibe is a native CLI coding agent from Mistral AI, powered by their Devstral coding model, that runs directly in the terminal with deep project awareness including automatic file structure scanning and Git status integration. Released December 2025 alongside Devstral 2, it features smart @-file references, shell command execution, and conversational workflows. Mistral's entry into the agentic CLI coding market alongside Claude Code and OpenCode.
MIT-licensed autonomous coding-agent reference, now superseded for many new uses by mini-swe-agent.
SWE-agent is an MIT-licensed autonomous coding-agent reference from Princeton and Stanford researchers that takes GitHub issues and attempts fixes with a bring-your-own language model. Its agent-computer interface remains foundational for repository navigation, editing, and test execution. The README now says development has shifted to mini-swe-agent, which supersedes SWE-agent and is generally recommended going forward.
Multi-agent CLI pair programmer with FORGE, MUSE, and SAGE agents
Model-agnostic terminal coding tool with 3 specialized agents: FORGE for code editing, MUSE for planning and review, and SAGE for research. Connects to hundreds of LLM providers and models with local-first privacy and conversational Git integration. Apache 2.0 licensed. A thoughtfully designed multi-agent approach that separates concerns between coding, thinking, and information gathering for more reliable results.
AI coding agent by Moonshot AI
Kimi Code is Moonshot AI's AI coding agent, available as an open-source (MIT) terminal CLI, a desktop app and IDE extensions. It reads and edits code, runs shell commands, searches files, fetches web pages and plans multi-step work, and now runs Kimi K3.1 Pro with a 1M-token context window. Sign in with a Kimi membership (Plus and above) or a Kimi API key; the CLI can also use other compatible providers, supports MCP servers and plugins, and accepts video input.
Self-hosted proxy API for routing AI CLI accounts into OpenAI-compatible endpoints
CLIProxyAPI is an open-source Go proxy server that wraps Gemini CLI, Claude Code, OpenAI Codex, Grok Build, and related CLI account flows behind OpenAI/Gemini/Claude-compatible API endpoints. Use it carefully: it can touch OAuth sessions, auth files, logs, and provider account policies, so production use needs credential and ToS review.
AWS AI assistant for terminal and code
Amazon Q Developer CLI is an agentic AI assistant from AWS that enhances the terminal experience with deep AWS integration, code generation, and natural-language command translation. Completes multi-step development tasks, troubleshoots AWS services, writes infrastructure code, and handles documentation lookups directly from the shell. Included with AWS accounts and integrates with existing AWS credentials.
Natural language interface for running code on your computer
Open Interpreter is an open-source natural-language interface for computers. It runs Python, JavaScript, shell commands, and other code locally through a ChatGPT-like terminal workflow, with user approval before execution. It can use hosted providers or local models, but its main tradeoff is safety: approved commands can access local files, apps, and system resources.
Local-first auditable AI agent workspace and append-only runtime
Apache Maka is an open-source, local-first AI agent workspace under the Apache Software Foundation that uses an append-only event log to record model messages, tool calls, and permissions for deterministic session replay and auditability.
Codebase-aware agentic CLI by Augment Code
Terminal coding agent with deep codebase understanding powered by Augment's context engine. Connects to GitHub, Linear, and Jira via MCP for project-aware assistance. Supports print mode for CI/CD automation, making it useful for both interactive development and automated pipeline tasks where AI-generated code changes need to happen without human intervention.
Autonomous LLM-powered terminal coding agent
Autohand is an AI platform for adaptive continuous engineering and autonomous code evolution, giving teams infrastructure to coordinate multiple AI agents inside sandboxed execution environments. Its open-source Commander tool builds command interfaces that orchestrate multi-agent workflows, while the broader platform lets agents iteratively write, test, and evolve code safely. Aimed at engineering teams pushing beyond simple code generation toward continuous AI-driven software improvement.
Open-source token cutter for AI coding agents
Open-source (Apache 2.0) skill, CLI and SDK that cut token use in AI coding agents such as Claude Code, Codex, Gemini CLI and OpenCode with terse responses, leaner input and model routing. Caveman Cloud adds observability, agent runs and routing, free for one person or $300/month for teams.
Multi-agent terminal coding assistant
Codebuff is an open-source AI coding assistant that operates from the terminal, editing your codebase through natural language instructions while understanding project structure, dependencies, and patterns. Uses multi-agent architecture with specialized File Explorer, Planner, and execution agents for precise code modifications across files. Editor-agnostic via terminal-level operation. Supports any OpenRouter model including Claude, GPT, DeepSeek, and Qwen.
Keep raw tool output out of your coding agent's context window
Source-available (ELv2) MCP server and plugin that sandboxes tool output, indexes it locally in SQLite FTS5 and preserves session state across compactions for Claude Code, Codex CLI, Cursor, Gemini CLI and other coding agents. A separate hosted control plane adds paid request-based plans.
Open-source, plugin-based agent harness from DeepSeek
DeepSeek Harness (dsh) is an open-source, MIT-licensed agent harness from DeepSeek with a web UI, desktop app, CLI and SDK, in developer preview. It is built on a plugin architecture and works with a DeepSeek API key or other compatible model providers. Session-log upload to the DeepSeek API is on by default in the master branch as of 30 Sep 2026 and can be turned off.
MCP gateway and integration catalog for AI agents
Executor is an MIT-licensed integration layer and MCP gateway for AI agents. It gives Claude Code, Cursor, Codex, and other MCP-speaking clients one endpoint for connected OpenAPI specs, GraphQL APIs, MCP servers, Google Discovery sources, and custom JavaScript tools, with local, cloud, and self-hosted deployment options for teams centralizing tool access.
AI-native terminal multiplexer and session orchestrator for CLI agents
Herdr is an open-source terminal multiplexer built for AI coding agents. It orchestrates parallel sessions, tracks lifecycle states, maintains persistent background runtimes, and provides MCP and socket APIs for inter-agent coordination.
Terminal AI coding agent powered by Meta Muse Spark models
Muse Code is Meta autonomous terminal coding agent powered by the Muse Spark model family. Designed for multi-agentic software engineering, it inspects repositories, plans architectural changes with approval gating, executes edits across multiple files, and maintains crash-resilient session event logs.
DeepSeek-native terminal coding agent with a Go rewrite and MCP support
Reasonix is an open-source terminal coding agent built around DeepSeek workflows, with a newer Go-based 1.0 line, MCP integration, repository-aware code understanding, and BYOK model usage. It fits developers who want a DeepSeek-first CLI agent rather than a Claude- or OpenAI-native workflow.
Agentic AI for software teams by Atlassian
AI-powered coding agent from Atlassian, integrated with Jira, Bitbucket, and Confluence to validate code changes against acceptance criteria and plan multi-step development workflows, available via CLI, IDE and pull-request code review. Atlassian has announced Rovo Dev is reaching end of life as a standalone product, with capabilities moving into eligible Jira subscriptions.
Terminal guardrail runtime and policy-as-code engine for AI coding agents
Tirith is an open-source terminal security and policy-as-code runtime for AI agents and developers. It intercepts shell commands in real time to block homograph attacks, pipe-to-shell exploits, dotfile tampering, and destructive executions.
Z.ai desktop agentic development environment for GLM-5.2 coding
ZCode is Z.ai’s Agentic Development Environment for GLM-5.2 coding workflows. The desktop app combines a first-party coding agent, goal mode, model/provider setup, MCP server management, Git and terminal context, remote phone control, usage stats and safety confirmation modes so developers can plan, implement, review and iterate on long-running software tasks from one workspace.
One-command local coding agent that auto-detects your hardware and picks the best model
hf-agents is a Hugging Face CLI extension that detects your hardware, recommends the best GGUF model using llmfit, and launches a local coding agent in a single command. It collapses the multi-step local LLM setup into hf agents run pi, automatically handling hardware profiling, model download, inference server startup, and coding agent activation.
Lossy image-token proxy for reducing Claude Code request context costs
pxpipe is a local proxy for Claude Code and compatible agent workflows that turns bulky request context—system prompts, tool docs, old history, code and JSON—into dense PNG image blocks before forwarding the call. The project README reports workload-dependent 59–70% end-to-end bill reduction, while warning exact byte values should stay as text.
Continuous local code-review loops for commits produced by AI coding agents
roborev is an MIT-licensed local review system that checks every commit in the background, stores findings in a review queue, and feeds actionable issues back into AI coding sessions. Git hooks, a TUI, branch and dirty-tree analysis, Codex and Claude agent hooks, plus iterative fix/refine commands turn review into a continuous agent workflow.
FAQ
How do terminal-based AI coding agents parse repository file trees and Git diffs efficiently?
They use Tree-sitter AST queries and ripgrep regex pipelines to extract concise symbol maps, avoiding massive token consumption by passing only relevant code snippets into model prompts.
How are terminal subshells and autonomous command executions sandboxed to prevent accidental system damage?
Agents run shell commands inside containerized environments or enforce interactive human confirmation before executing destructive commands (e.g. rm, database drops, network transfers).
How do terminal multiplexers (tmux, zellij) enable persistent, background multi-agent engineering sessions?
Multiplexers decouple terminal sessions from active SSH connections, allowing long-running autonomous agent workflows and compilation jobs to continue running uninterrupted.
Sources & verification
- Command-Line Interface Guidelines (CLI Guidelines Community)
- Interactive Terminal User Interfaces (IEEE Computer Society)
- Sources checked
- Content verified
Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.