Introduction
The Grip AI CLI is an async-first agentic AI platform that provides powerful commands for interacting with AI agents, managing configurations, scheduling tasks, and deploying the full platform.Installation
After installing Grip AI, thegrip command becomes available:
Global Flags
All Grip commands support these global flags:—verbose / -v
Show DEBUG-level logs for detailed troubleshooting:—quiet / -q
Suppress logs below WARNING level:—config / -c
Specify a custom configuration file path:—dry-run
Simulate execution without writing files or running commands:Dry-run mode is useful for testing commands before actual execution. It shows what would happen without making changes.
Interactive Slash Commands
When usinggrip agent in interactive mode, these slash commands are available:
Session Management
/new- Start a fresh session and clear terminal/clear- Clear all messages and terminal/undo- Remove last exchange/rewind N- Remove last N exchanges (e.g.,/rewind 3)/compact- Summarize, compress history, and clear terminal/copy- Copy last response to clipboard
Configuration
/model [provider/]name- Show or switch model/provider- Show current provider details/trust /path- Grant agent access to a folder/trust revoke /path- Revoke agent access to a folder
Information
/doctor- Check config, provider, and workspace health/mcp- List configured MCP servers/tasks- List scheduled cron tasks/status- Show session and system info/help- Show command reference/exit- Quit interactive mode
Command Autocomplete
In interactive mode, start typing/ to see available commands with descriptions in a dropdown menu:
Safety Features
Root User Warning
Grip warns when running as root and requires confirmation:Always run Grip as a non-root user to limit the agent’s system access and reduce security risks.
Available Commands
- grip agent - Chat with the AI agent (interactive or one-shot)
- grip gateway - Run the full platform: channels + cron + heartbeat + API
- grip config - View and modify configuration
- grip cron - Manage scheduled cron jobs
- grip skills - Manage agent skills
- grip workflow - Manage and run multi-agent workflows
- grip mcp - Manage MCP server configurations
- grip onboard - Initialize grip: set up provider, API key, and workspace
- grip serve - Start the REST API server (standalone)
- grip status - Show system status
- grip update - Pull latest source and re-sync dependencies
Next Steps
Agent Command
Learn about interactive and one-shot agent modes
Gateway Command
Deploy the full platform with channels and cron
Configuration
Manage Grip configuration settings
MCP Servers
Connect external tools via MCP protocol