# superagent-ai/grok-cli

An open-source coding agent for the Grok API

Repository: https://github.com/superagent-ai/grok-cli
Canonical: https://ross.abutalabs.com/products/grok-cli
Language: TypeScript
License: MIT
License Family: permissive
Topics: agents, ai, cli, code, grok, xai, coding-agent
Last push: 2026-07-06T14:05:33+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 91, release rhythm 84, longevity 29
- inputs: {"age_days": 415, "days_push": 58, "days_rel": 110, "gap_med": 0.5, "n_releases_24m": 49}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3434, forks 422 (observed 2026-08-28T04:08:04.854324+00:00)

## What it is
An open-source terminal-based coding agent that connects to xAI's Grok API, built with TypeScript and Bun. It offers an interactive OpenTUI experience, headless prompt mode for scripts and CI, sub-agents, X/web search, and remote control via Telegram.

## Use cases
- run an AI coding agent in the terminal with Grok
- automate code tasks in CI with a headless AI agent
- refactor code from the command line using an LLM
- run test suites and summarize failures with an AI agent
- control a coding agent remotely from a phone via Telegram
- search X and the web from a terminal coding assistant

## When to choose
- you want a terminal-native coding agent powered by the Grok API
- you need headless/CI automation of coding tasks with JSON output
- you want sub-agents, X/web search, and Telegram remote control built in

## When to avoid
- you use Claude, GPT, or other non-Grok models exclusively
- you need a GUI-based coding assistant rather than a CLI
- you require an officially xAI-supported tool (this is community-built)

## Facets
- artifact type: cli-tool
- maturity: active
- function: agent-framework, cli, terminal-ui, llm-inference, search-engine, developer-tools
- domain: developer-tools, large-language-models
- platform: cli, windows, bun, cross-platform
- tags: coding-agent, grok, xai, sub-agents, telegram-remote-control, headless-mode, opentui, ai-agents, command-line, macos, linux, nodejs

## Member repositories
- superagent-ai/grok-cli (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:04.854324+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:37:43.675031+00:00, confidence not recorded.
  - readme: https://github.com/superagent-ai/grok-cli (fetched 2026-08-28T04:08:04.854324+00:00, sha ae3ee60f7efe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
