Grok CLI
Grok CLI is a conversational AI tool that brings Claude Code-level intelligence directly into your terminal. Built with X.AI's Grok models, it provides advanced file operations, code analysis, and workflow automation through natural language interaction.
Grok CLI v1.0.96
We're excited to release the latest advancement in terminal-based AI development tools with Claude Code-level capabilities.
- File operations
- Code intelligence
- Web integration
- Context awareness
- Professional UX
Jump right in
MCP Integration
Extend capabilities with Model Context Protocol servers and external services.
Learn moreKey Features
Advanced File Operations
- Read, Write, Edit with atomic multi-file support
- Search and discovery with Grep, Glob, LS tools
- Transaction-based editing with rollback capabilities
Code Intelligence
- Syntax-aware editing with AST parsing
- Symbol search across codebases
- Dependency analysis and refactoring tools
Web Integration
- Real-time web search and content retrieval
- HTTP client capabilities for external services
- External service integration via MCP protocol
Workflow Automation
- Task management and progress tracking
- Specialized agent delegation for complex operations
- IDE integration with VS Code and Jupyter
🎯 Plan Mode (Claude Code Parity)
- Shift+Tab twice activation - Exact Claude Code keyboard shortcut
- Read-only exploration - Safe codebase analysis with destructive operation blocking
- AI-powered planning - Strategic implementation planning with Grok models
- Real-time progress - Multi-phase exploration and planning indicators
Claude Code-Style UX
- Professional visual feedback with contextual spinners and progress indicators
- Context awareness with
Ctrl+Iworkspace tooltip (project stats, git branch, memory pressure) - Real-time background activity monitoring and dynamic status updates
- Unified color system with 120ms smooth animations for calm interface
Architecture
Grok CLI is built on a modular architecture with:
- Agent System: Central orchestration with streaming responses
- Tool System: Modular tools for specific operations
- MCP Integration: Extensible server integration
- Configuration Management: User and project-level settings
Tool Categories
Core Tools
- Read, Write, Edit, Bash, Grep, Glob, LS
Advanced Tools
- MultiEdit, WebFetch, WebSearch, Task, TodoWrite, Plan Mode
IDE Integration
- NotebookEdit, BashOutput, KillBash
Are you looking for a different AI coding assistant? Visit Claude Code or check out our comparison table for the differences.
Questions and feedback
If you have any questions or feedback, feel free to create an issue on our GitHub repository or join the xAI Community Discord.
Happy Grokking in the Terminal! ⚡