Grok CLI

Active
GitHub TypeScript MIT

Description

An open-source autonomous agent powered by Grok, capable of executing tasks, browsing the web, and generating code directly from your terminal.

Key Features

  • Real-time X (Twitter) and web search integrated as agent tools
  • Sub-agents with foreground task delegation and background exploration
  • Computer sub-agent for macOS desktop automation via agent-desktop
  • Media generation tools for images and short videos from chat
  • Headless mode with batch API for CI/CD and automation pipelines
  • Telegram remote control to drive the agent from your phone

Use Cases

💡 Terminal-based coding assistance with real-time web context
💡 Automated code review, testing, and repository management
💡 Desktop automation workflows on macOS
💡 Social media monitoring and content generation via X search
💡 Scheduled background tasks with recurring prompts

Quick Start

curl -fsSL https://raw.githubusercontent.com/superagent-ai/grok-cli/main/install.sh | bash, then run 'grok' interactively or 'grok --prompt "your task"' for headless mode.

Related Projects