Grok CLI
Open-source coding agent for the Grok API.
Updated
✨ Try AgentScout's free AI image generator →Good for: writing code, coding in the terminal, open-source agents
Use cases
About Grok CLI
Grok CLI is listed in our coding category and is aimed at builders. Open-source coding agent for the Grok API. Pricing, as the maker states it: Open source. Maturity: Active. We last checked the official link on 2026-10-16.
What is Grok CLI?
Grok CLI is a community-built, open-source terminal coding agent that connects to xAI's Grok API. Its README states it is not affiliated with, endorsed by or sponsored by xAI.
It offers real-time X search and web search, the full Grok model lineup, sub-agents on by default, remote control via Telegram so you can drive the agent from your phone, and a terminal UI built with Bun and OpenTUI.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: github.com/superagent-ai/grok-cli.
Who is Grok CLI for?
Developers who want a terminal coding agent powered by Grok models, including X and web search.
Grok CLI at a glance
- Open source: Yes (MIT License)
- GitHub: superagent-ai/grok-cli · 3,497 stars (as of Oct 21, 2026)
Key features
- Uses the Grok API and model lineup
- X search and web search
- Sub-agents on by default
- Telegram remote control
Grok CLI FAQ
What is Grok CLI?
Grok CLI is a community-built, open-source terminal coding agent that connects to xAI's Grok API. Its README states it is not affiliated with, endorsed by or sponsored by xAI.
Who is Grok CLI for?
Developers who want a terminal coding agent powered by Grok models, including X and web search.
Is Grok CLI free?
Grok CLI's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.
Is Grok CLI open source?
Yes. Grok CLI is released under the MIT License, according to its GitHub repository.
What are alternatives to Grok CLI?
Similar tools include OpenAI Codex CLI, Gemini CLI, OpenHands, Entire CLI, Jevgrep and Nanocoder.
Grok CLI ratings and reviews
Be the first to rate Grok CLI: tap 1 to 5 stars below. A written review is optional.
Grok CLI alternatives
Other coding tools in our directory. See all coding tools →
OpenAI Codex CLI
OpenAI's open-source coding agent for the terminal; also runs in the cloud.
Gemini CLI
Google's open-source terminal agent powered by Gemini.
OpenHands
Open-source platform for autonomous coding agents.
Entire CLI
CLI that captures AI agent sessions alongside your Git commits.
Jevgrep
CLI that finds relevant repo files and excerpts from natural-language questions for coding agents; claims ~40% cheaper agent runs.
Nanocoder
Community-built open coding agent for your terminal.
Related lists
🏆 Ranked in: opencode alternatives · OpenAI Codex CLI alternatives
🔁 Listed in: Gemini CLI alternatives · OpenAI Codex CLI alternatives · opencode alternatives
Badge for makers
Built Grok CLI? Add this badge to your README or site. It links back to this page. About badges
Bot templates: Overheard (Grok Bot), dr eggbot (Grok Bot), Haggle Bot (Grok Bot), SEO & AEO Desk (Grok Bot), Competitor Watch (Grok Bot), Nightly Audit Engineer (Grok Bot) · All Bot templates