
Codex CLI
Lets you hand coding tasks to OpenAI's agent, which edits and runs code on your computer
by OpenAI

by SuperagentAgentWrite code
Hands coding tasks to a terminal agent that runs on xAI's Grok models
grok-cli is an open-source coding agent for the terminal that uses xAI's Grok models through your API key: you describe a change and it reads your project, edits files, runs commands and can search X and the web.
For DevelopersTechnical makersGrok API users
Superagent publishes open-source tools on GitHub and describes its work as security for developers building with AI. grok-cli is a community project, not made or endorsed by xAI.
grok-cli is a community-built, open-source coding agent for the terminal that uses xAI's Grok API; it is not made by xAI. You describe a change and it reads your project, edits files and runs commands, with live X and web search, helper sub-agents and image or video generation built in. You can also pair it with a Telegram bot and send it tasks from your phone while it runs. It suits developers and technical makers who have a Grok API key.
It adds live X search and remote control from Telegram to a terminal coding agent, so you can check on a task from your phone.
Start with the first one: it is a small task you can check easily.
Example prompts written by Agent Flows Hub.
From the creator's documentation.
| Feature | What it does | Runs |
|---|---|---|
| Coding agent | Reads your project, edits files and runs shell commands | Your computer |
| X and web search | Searches live X posts and the web while it works | xAI API |
| Sub-agents | Splits work between helper agents for exploring and general tasks | xAI API |
| Images and video | Creates or edits images and short videos and saves them locally | xAI API |
| Telegram remote control | Pair a Telegram bot to send tasks from your phone while the CLI runs | Telegram |
| Headless mode | Run one prompt from a script or schedule and get text or JSON back | Your computer |
You want a coding agent in your terminal that can also search live X posts and the web. grok-cli reads your project, makes edits and runs commands on Grok models billed to your own xAI key.
Notes by Agent Flows Hub (original project name: grok-cli (npm package grok-dev)), written from the creator's documentation, not from running it ourselves. grok-cli README: install, API key and features
Tell us what happened. We take a look first; if it needs paid work, you get an estimate before anything starts.