Agent Shipped

Directory · Coding agents

Grok CLI

Open-source terminal coding agent for developers using xAI's Grok API, with X and web search, sub-agents, and headless mode.

★ 3,520 stars · last updated 2026-07-06 · Free, open source · View on GitHub

Best for

Install

curl -fsSL https://raw.githubusercontent.com/superagent-ai/grok-cli/main/install.sh | bash
bun add -g grok-dev

Our take

Community-built TypeScript/Bun project, MIT licensed and actively maintained, not affiliated with xAI; it requires a Grok API key. Beyond the usual agent loop it supports MCP servers, Agent Skills, custom sub-agents, saved sessions, image/video generation tools, and a macOS-only computer-use sub-agent via agent-desktop. The interactive OpenTUI interface works most reliably in the recommended terminals (WezTerm, Alacritty, Ghostty, Kitty).

Similar coding agents

Get the field guide

Join builders who use coding agents every day. Free, twice a week, unsubscribe in one click.

No spam. The CLAUDE.md starter pack comes in your confirmation email. Not seeing it? Check spam or Promotions.