.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/superagent-ai/grok-cli
home/mcp-servers/superagent-ai/grok-cli
superagent-ai avatar

grok-cli

bysuperagent-ai· 1 MCP server

Stars

3.3k

Forks

412

Category

AI Agents & MCP

View on GitHub

TL;DR

An open-source AI coding agent powered by Grok, built with Bun and OpenTUI.

How to install grok-cli?

superagent-ai/grok-cli
$git clone https://github.com/superagent-ai/grok-cli

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install grok-cli by running `git clone https://github.com/superagent-ai/grok-cli`, then use it for the current task and follow its documentation at https://github.com/superagent-ai/grok-cli.

Files · 1

View on GitHub
README.md
1# grok-cli: an open-source coding agent for the Grok API
2 
3[![CI](https://github.com/superagent-ai/grok-cli/actions/workflows/typecheck.yml/badge.svg)](https://github.com/superagent-ai/grok-cli/actions/workflows/typecheck.yml)
4[![npm](https://img.shields.io/npm/v/grok-dev.svg)](https://www.npmjs.com/package/grok-dev)
5[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)
6[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
7[![Bun](https://img.shields.io/badge/Bun-1.x-000000?logo=bun&logoColor=white)](https://bun.sh/)
8 
9> **Disclaimer:** This project is community-built, open-source, and **not affiliated with, endorsed by, or sponsored by xAI Corp.** "Grok" is a trademark of xAI Corp. This tool uses the publicly available Grok API.
10 
11An open-source terminal coding agent that connects to xAI’s Grok API — real-time **X search**, **web search**, the full Grok model lineup, **sub-agents on by default**, **remote control via Telegram** (pair once, drive the agent from your phone while the CLI runs), and a terminal UI built with **Bun** and **OpenTUI**.
12 
13[https://github.com/user-attachments/assets/7ca4f6df-50ca-4e9c-91b2-d4abad5c66cb](https://github.com/user-attachments/assets/7ca4f6df-50ca-4e9c-91b2-d4abad5c66cb)
14 
15---
16 
17## Install
18 
19```bash
20curl -fsSL https://raw.githubusercontent.com/superagent-ai/grok-cli/main/install.sh | bash
21```
22 
23**Alternative installs** (requires Bun on PATH):
24 
25```bash
26bun add -g grok-dev
27```
28 
29**Self-management** (script-installed only):
30 
31```bash
32grok update
33grok uninstall
34grok uninstall --dry-run
35grok uninstall --keep-config
36```
37 
38**Prerequisites:** a **Grok API key** from [x.ai](https://x.ai) and a modern terminal emulator for the interactive OpenTUI experience. Headless `--prompt` mode does not depend on terminal UI support. If you want host desktop automation via the built-in computer sub-agent, also enable **Accessibility** permission for your terminal app on macOS.
39 
40---
41 
42## Run it
43 
44**Interactive (default)** — launches the OpenTUI coding agent:
45 
46```bash
47grok
48```
49 
50### Supported terminals
51 
52For the most reliable interactive OpenTUI experience, use a modern terminal emulator. We currently document and recommend:
53 
54- **WezTerm** (cross-platform)
55- **Alacritty** (cross-platform)
56- **Ghostty** (macOS and Linux)
57- **Kitty** (macOS and Linux)
58 
59Other modern terminals may work, but these are the terminal apps we currently recommend and document for interactive use.
60 
61**Pick a project directory:**
62 
63```bash
64grok -d /path/to/your/repo
65```
66 
67**Headless** — one prompt, then exit (scripts, CI, automation):
68 
69```bash
70grok --prompt "run the test suite and summarize failures"
71grok -p "show me package.json" --directory /path/to/project
72grok --prompt "refactor X" --max-tool-rounds 30
73grok --prompt "summarize the repo state" --format json
74grok --prompt "review the repo overnight" --batch-api
75grok --verify
76```
77 
78`--batch-api` uses xAI's Batch API for lower-cost unattended runs. It is a good
79fit for scripts, CI, schedules, and other non-interactive workflows where a
80delayed result is fine.
81 
82**Continue a saved session:**
83 
84```bash
85grok --session latest
86grok -s <session-id>
87```
88 
89Works in interactive mode too—same flag.
90 
91**Structured headless output:**
92 
93```bash
94grok --prompt "summarize the repo state" --format json
95```
96 
97`--format json` emits a newline-delimited JSON event stream instead of the
98default human-readable text output. Events are semantic, step-level records such
99as `step_start`, `text`, `tool_use`, `step_finish`, and `error`.
100 
101### Computer sub-agent
102 
103Grok ships a built-in `**computer**` sub-agent backed by `[agent-desktop](https://github.com/lahfir/agent-desktop)` for host desktop automation on macOS.
104 
105Ask for it in natural language, for example:
106 
107```bash
108grok "Use the computer sub-agent to take a screenshot of my host desktop and tell me what is open."
109grok "Use the computer sub-agent to launch Google Chrome, snapshot the UI, and

Preview

superagent-ai/grok-clisuperagent-ai/grok-cli
Reposuperagent-ai/grok-cli
TypeMCP Servers
CategoryAI Agents & MCP
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

MCP

Related

6 picks
Type
  1. langchain-ai avatarlangchain-mcp-adaptersMake Anthropic Model Context Protocol (MCP) tools compatible with LangChain and LangGraph agents.MCP ServersJul 20267.0M3.6k
  2. openclaw avatarmcporterTypeScript runtime and CLI for connecting to configured Model Context Protocol servers.MCP ServersJul 20262.5M4.8k
  3. sparfenyuk avatarmcp-proxyA MCP server which proxies requests to a remote MCP server over streamable HTTP or SSE.MCP ServersJul 20262.2M2.7k
  4. sooperset avatarmcp-atlassianThe Model Context Protocol (MCP) Atlassian integration is an open-source implementation that bridges Atlassian products (Jira and Confluence) with AI language models following Anthropic's MCP specification.MCP ServersJul 20261.7M5.6k
  5. open-webui avataropen-webuiOpen WebUIMCP ServersJul 20261.4M147k
  6. dyoshikawa avatarrulesyncUnified AI rules management CLI tool that generates configuration files for various AI development toolsMCP ServersJul 2026889k1.3k