Command line interface for managing Prime Intellect GPU resources, enabling seamless deployment and management of compute pods.
# Install from PyPI
pip install prime-cli
# Set up your API key
prime config set-api-key
# List available GPU resources
prime availability list
- GPU Resource Management: Query and filter available GPU resources
- Pod Management: Create, monitor, and terminate compute pods
- SSH Access: Direct SSH access to running pods
- Team Support: Manage resources across team environments
pip install prime-cli
# Clone the repository
git clone https://github.com/PrimeIntellect-ai/prime-cli
cd prime-cli
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
# Install in development mode
pip install -e ".[dev]"
# Set up pre-commit hooks
pre-commit install
# Set up API key
prime config set-api-key
# Configure SSH key for pod access
prime config set-ssh-key-path
# View current configuration
prime config view
# List all available GPUs
prime availability list
# Filter by GPU type
prime availability list --gpu-type H100_80GB
# Show available GPU types
prime availability gpu-types
# List your pods
prime pods list
# Create a pod
prime pods create
prime pods create --id <ID> # With specific GPU config
prime pods create --name my-pod # With custom name
# Monitor and manage pods
prime pods status <pod-id>
prime pods terminate <pod-id>
prime pods ssh <pod-id>
# Set team context
prime config set-team-id
# Format code
ruff format src/prime_cli
# Run linter
ruff check src/prime_cli
# Run tests
pytest
We use semantic versioning. Releases are automatically created when changes are merged to main.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Run code quality checks
ruff format . ruff check . pytest
- Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.