Requirements
Before installing Grip, ensure you have:- Python 3.12 or higher
- uv package manager (recommended) or pip
- An API key from one of the supported providers:
- Anthropic (for Claude Agent SDK)
- OpenAI, DeepSeek, Groq, etc. (for LiteLLM engine)
The
uv package manager is strongly recommended for faster installation and dependency resolution. Install it with:Installation Methods
- PyPI (Recommended)
- From Source
Install via PyPI
The fastest way to get started is to install Grip from PyPI:The base installation includes:
- Claude Agent SDK
- LiteLLM with 15+ provider support
- Telegram bot integration
- FastAPI REST API
- All 26 built-in tools
- Task tracking and memory
- Cron scheduling
Optional Extras
Grip supports optional dependencies for additional features:Package Details
Grip is published to PyPI asgrip-ai:
- Package name:
grip-ai - Command:
grip - Version: 1.0.0
- License: MIT
- Python support: 3.12+
Development Installation
If you’re contributing to Grip or want to run tests:Install with dev dependencies
ruff— Fast Python linter and formatterpytest— Testing frameworkpytest-asyncio— Async test support
Run tests
- Tool execution and validation
- Memory and session management
- API endpoints and auth
- Workflow DAG execution
- MCP server integration
- Security guards (trust model, shell deny-list)
Docker Installation
Grip is Docker-ready and can be configured entirely via environment variables:Environment Variable Format
Grip supportsGRIP_ prefixed environment variables for any config value. Use double underscores (__) for nested keys:
GRIP_AGENTS__DEFAULTS__MODEL→agents.defaults.modelGRIP_PROVIDERS__ANTHROPIC__API_KEY→providers.anthropic.api_keyGRIP_GATEWAY__PORT→gateway.portGRIP_CHANNELS__TELEGRAM__TOKEN→channels.telegram.token
Verify Installation
After installation, verify everything is working:Troubleshooting
Command not found: grip
Command not found: grip
If Via pip:
grip is not found after installation:Via uv tool install:Python version too old
Python version too old
Grip requires Python 3.12+. Check your version:If you have an older version, install Python 3.12 using:
- macOS:
brew install [email protected] - Ubuntu/Debian:
sudo apt install python3.12 - Arch:
sudo pacman -S python - Windows: Download from python.org
uv not found
uv not found
Install the uv package manager:Alternatively, use pip instead of uv:
Permission denied during installation
Permission denied during installation
If you encounter permission errors:Don’t use sudo with uv or pip — this can cause permission issues.Instead, install in user space:Or use uv tool install (already user-scoped):
Next Steps
Quickstart
Run the onboarding wizard and chat with your first agent
Configuration
Set up API keys, choose your engine, and configure tools
Architecture
Understand Grip’s dual-engine architecture and component design
Deployment
Deploy Grip to production with Docker