# grok-cli — Terminal Coding Agent for Grok API > grok-cli is an open-source terminal coding agent for the Grok API with interactive and headless modes, so you can script tasks or drive a full TUI loop. ## Install Copy the content below into your project: --- Source: https://tokrepo.com/en/workflows/grok-cli-terminal-coding-agent-for-grok-api Author: