An open-source coding agent for the Grok API
Grok CLI is an open-source terminal coding agent built in TypeScript with Bun and OpenTUI that connects to xAI's Grok API. The tool provides a command-line interface for interacting with Grok models, featuring integrated X and web search, media generation, desktop automation via a built-in computer sub-agent, remote control through Telegram, session persistence, and support for custom sub-agents and Model Context Protocol servers. It runs as a single package with no databases, Docker, or background services required, and supports both interactive terminal UI mode and headless operation for scripting and CI automation.