skillfed

prime

Prime Intellect CLI + SDK

prime v0.6.22 76.4K downloads/30d#14,627 on PyPI286
Permissive license MIT Active released

What it is and what it does

Prime is the official CLI and Python SDK for Prime Intellect, a cloud platform offering GPU compute, isolated sandbox environments, and hosted training infrastructure. It lets you deploy GPU pods (H100, A100, etc.), create and manage remote sandboxes for code execution, launch training runs, browse pre-configured development environments, and manage team resources—all from the command line or Python code.

The package bundles a rich terminal UI (via textual and textual-plot), configuration management, SSH pod access, and both synchronous and asynchronous Python SDKs. It depends on httpx for HTTP requests, pydantic for data validation, and several Prime-specific packages (prime-sandboxes, prime-evals, prime-tunnel, verifiers) that appear to be separate but required runtime dependencies.

Use it for:

  • Deploy and manage GPU pods for distributed machine learning training without managing infrastructure.
  • Create isolated sandbox environments to run untrusted or experimental code safely.
  • Launch and monitor hosted training runs with configurable models and resource allocation.
  • Browse and install pre-configured development environments from the Prime Intellect community hub.
  • Programmatically provision compute resources and execute remote commands via the Python SDK.
  • Switch between personal and team contexts to manage shared resources and permissions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

CLI and Python SDK for managing GPU compute, sandboxes, training runs, and environments on Prime Intellect's cloud platform.

Yes, if you use Prime Intellect's platform. The package is actively maintained, has low install friction, carries no license restrictions, and provides both CLI and SDK access to the service. Install only if you have a Prime Intellect account and API key; the CLI and SDK are tightly coupled to that platform and will not function standalone.

Install

prime on PyPI

pip

pip install prime

uv

uv add prime

poetry

poetry add prime

Installing prime

Before you install

Low install friction with a pure-Python wheel. Active maintenance with a release one day old and last commit on 2026-08-14. Requires Python 3.11–3.13; 16 runtime dependencies including httpx, pydantic, and textual for CLI rendering.

License in practice

MIT license (permissive) imposes no restrictions on use, modification, or distribution.

Quickstart

# Install
pip install prime

# Authenticate
export PRIME_API_KEY="your-api-key-here"

# CLI: list available GPUs
prime availability list

# Python SDK: create and manage a sandbox
from prime_sandboxes import APIClient, SandboxClient, CreateSandboxRequest
client = APIClient(api_key="your-api-key")
sandbox_client = SandboxClient(client)
sandbox = sandbox_client.create(CreateSandboxRequest(
    name="my-sandbox",
    docker_image="python:3.11-slim",
))

Requires a Prime Intellect account and valid API key (obtain from https://app.primeintellect.ai). Python 3.11–3.13 required.

Verify before relying

  • Whether prime-sandboxes, prime-evals, prime-tunnel, and verifiers are separate packages or bundled; their availability and stability.
  • Network connectivity and API key requirements for any CLI or SDK operation.
  • Whether the CLI can function offline or requires active Prime Intellect account.
  • GPU availability and pricing model on the Prime Intellect platform.

Package facts

License MIT (permissive)
Python support supports the current Python release (<3.14,>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 16 — build, cryptography, gitignore-parser, httpx, prime-evals, prime-sandboxes, prime-tunnel, pydantic, pyyaml, rich, textual-plot, textual, toml, tomli, typer, verifiers
Maintenance actively maintained — 1 days since the last release
Last repo commit
First released
Downloads 76,426/month — #14,627 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: prime-0.6.22-py3-none-any.whl

Keywords: cli, cloud, compute, gpu

Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python Modules

Tags

gpu pod management cliremote sandbox executioncloud compute provisioninghosted training orchestrationprime intellect api clientml training infrastructureremote code execution environment
gpu-computecli-toolcloud-platform

More Python Modules packages