Scan your whole stack
From OX Research Newsroom
Are you using prime?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.24.2
prime was last scanned on 25 Nov 2026 at version 0.24.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.24.2 LATEST | 25 Nov 2026 | No rules fired |
| 0.24.1 | 25 Nov 2026 | No rules fired |
| 0.24.0 | 24 Nov 2026 | No rules fired |
| 0.23.1 | 21 Nov 2026 | Not shown |
| 0.23.0 | 20 Nov 2026 | Not shown |
Findings for v0.24.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.24.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Command line interface and SDKs for Hosted Training, hosted evaluations, GPU resources, sandboxes, and environments.
Prime is the official CLI and Python SDK for Prime Intellect, providing seamless access to Hosted Training, hosted evaluations, GPU compute infrastructure, remote code execution environments (sandboxes), and AI inference capabilities.
What can you do with Prime?
First, install uv if you haven't already:
curl -LsSf https://astral.sh/uv/install.sh | sh
Then install prime:
uv tool install prime
pip install prime
# Interactive login (recommended)
prime login
# Cap what the key minted by this login can do (see `prime login --help`)
prime login --max-concurrent-sandboxes 10 --max-concurrent-tunnels 2
# Or set API key directly
prime config set-api-key
# Or use environment variable
export PRIME_API_KEY="your-api-key-here"
Get your API key from the Prime Intellect Dashboard.
# Browse environments on the hub
prime env list
# See available Hosted Training models, capacity, and pricing
prime train models
# Launch a prime-rl config as a Hosted Training run
prime train rl.toml
# List available GPUs
prime availability list
# Create a GPU pod
prime pods create --gpu A100 --count 1
# SSH into a pod
prime pods ssh <pod-id>
# Create a sandbox
prime sandbox create python:3.11
Build and evaluate environments with verifiers (uv add verifiers). Use prime train models to choose a Hosted Training model with current capacity and pricing. Hosted Training runs take prime-rl configs as-is; its examples/ are good starting points.
# List cached models and on-demand GPU capacity and pricing
prime train models
# Launch a prime-rl config on a dedicated cluster; its top-level `mode`
# ("rl", "sft" or "pretrain") picks the run kind
prime train rl.toml
# Inspect and manage Hosted Training runs
prime train list # Your runs
prime train list --all-users # Include teammates' runs
prime train logs <run-id> -f
prime train metrics <run-id>
prime train checkpoints <run-id>
Access hundreds of RL environments on our community hub with deep integrations with sandboxes, training, and evaluation stack.
# Browse available environments
prime env list
# View environment details
prime env info <environment-name>
# Inspect environment source without downloading the archive
prime env inspect <environment-name>
# Install an environment locally
prime env install <environment-name>
# Push your own environment (scaffold one with verifiers' `vf-init`)
prime env push my-environment
Environments provide pre-configured setups for machine learning, data science, and development workflows, tested and verified by the Prime Intellect community.
Deploy and manage GPU compute instances:
# Browse available configurations
prime availability list --gpu-type H100_80GB
# Create a pod with specific configuration
prime pods create --id <config-id> --name my-training-pod
# Monitor pod status
prime pods status <pod-id>
# SSH access
prime pods ssh <pod-id>
# Terminate when done
prime pods terminate <pod-id>
Isolated environments for running code remotely:
# Create a sandbox (VM-backed)
prime sandbox create python:3.11
# Create a sandbox with GPUs
prime sandbox create user-1/vm-image:latest --gpu-count 1 --gpu-type RTX_PRO_6000
# Create a one-shot workload (arguments after -- are preserved exactly)
prime sandbox create user-1/vm-image:latest -- /worker --platform linux/amd64
# List sandboxes
prime sandbox list
# Execute commands
prime sandbox run <sandbox-id> -- python script.py
# Run as an existing guest account
prime sandbox run <sandbox-id> --user ubuntu -- id
# Request a filesystem checkpoint; check again until it is DURABLE
prime sandbox checkpoint create <sandbox-id>
# Capture memory and processes without creating a sandbox; resumes the source
prime sandbox snapshot <sandbox-id> [--wait-timeout 300]
prime sandbox checkpoint list <sandbox-id> [--checkpoint-id <checkpoint-id>]
# Any checkpoint by id, rootfs or volume
prime sandbox checkpoint get <checkpoint-id>
prime sandbox checkpoint restore <checkpoint-id> --name restored-sandbox
# Checkpoint + restore in one step, inheriting the source's resources
prime sandbox fork <sandbox-id> [--name forked-sandbox]
# Also fork the source's memory: pause it, fork, then resume it asynchronously
prime sandbox fork <sandbox-id> [--with-memory]
# Upload/download files
prime sandbox upload <sandbox-id> local_file.py /remote/path/
prime sandbox download <sandbox-id> /remote/file.txt ./local/
# Attach persistent volumes (repeatable; :ro mounts read-only, :rw is the default)
prime sandbox create --volume data:/data --volume cache:/mnt:ro python:3.11
# Mount another account's public volume by ref
prime sandbox create --volume alice/dataset:/data:ro python:3.11
# Manage volumes (create takes --size-gb; default capacity is 100 GiB)
prime sandbox volumes create data
prime sandbox volumes list [--page N] [--num N] [--json]
prime sandbox volumes get data
prime sandbox volumes grow data --size-gb 512
prime sandbox volumes delete data
# Sharing: a public volume mounts from any account through <namespace>/<name>
prime sandbox volumes set-visibility data --public
prime sandbox volumes set-visibility data --private
# Publish a sandbox's private volume writes as a durable checkpoint
prime sandbox volumes publish data --sandbox <sandbox-id> [--no-wait]
# Create a volume and import a local directory into it
prime sandbox volumes create data --from ~/datasets/my-data
# Clean up
prime sandbox delete <sandbox-id>
prime sandbox snapshot pauses the source, waits until the memory snapshot is
restorable, then resumes the same source asynchronously; --wait-timeout bounds
only that pause-ready wait. It prints the captured checkpoint, which is not
necessarily DURABLE; prime sandbox checkpoint get shows the upload. A
non-durable snapshot is usable on the pausing node while the source exists.
Restore with prime sandbox checkpoint restore <checkpoint-id> --memory, which
creates a new sandbox. GPU sandboxes and sandboxes with volumes cannot be paused,
and a memory restore needs the source sandbox record to exist. A memory snapshot
copies userspace random state and keys or tokens already in memory, so rekey or
regenerate them in the workload. If the pause request fails or its response is
lost, prime sandbox get <sandbox-id> shows whether the source became PAUSED;
prime sandbox resume <sandbox-id> continues it.
prime sandbox fork checkpoints the source's filesystem and restores it into a
new sandbox that inherits the source's shape, team, region, timeout, and labels;
the source keeps running. --with-memory also forks the source's memory and
running processes: the source is paused for the snapshot, resumed afterwards
asynchronously (prime sandbox get shows when it runs again), and the fork takes
the paused sandbox's shape, environment, and secrets, so --with-memory rejects
--cpu-cores and --memory-gb. A memory fork is an exact copy of the paused
guest: userspace random generators and keys, tokens, or IDs already in memory are
the same in every fork, so rekey or regenerate them in the workload. GPU
sandboxes and sandboxes with volumes cannot be paused, so they cannot be
memory-forked. --wait-timeout bounds the checkpoint or snapshot wait.
Volume writes are private to a sandbox until a publish reaches DURABLE
and its merge finishes. A
new volume starts empty; each publish becomes the volume's head, and a
sandbox always sees the volume as of its own creation, so attach a new
sandbox to read a newer head. Read-only mounts cannot publish. A publish
whose volume head moved since attach is rejected (409). --no-wait
prints the checkpoint id and state; the data is published once that
checkpoint is DURABLE and, on servers that merge volume publishes, its
merge finishes — both checkable with
prime sandbox checkpoint get <checkpoint-id>.
Making a volume public lets any account mount it read-only or read-write, and
sync it, by its <namespace>/<name> ref (a user id or slug, a team slug, or
team-<teamId>); a bare name always means the caller's or sandbox's own
scope. volumes get shows the ref with the owner's slug-or-id namespace.
Volumes are unlisted: a recipient needs the ref, and
volumes list stays own-scope while showing each volume's visibility. Only
the owner can make a volume public or private, publish to it, or delete it.
Recipient sync always discards: the recipient's unpublished writes are replaced
by the current head and never reach the owner's volume. Making a volume private
stops new recipient mounts, syncs and gets; running recipient sandboxes keep
their attachment.
volumes create --from copies a local directory into a disposable
read-write importer sandbox, publishes it, waits until DURABLE, and only
then deletes the importer. An rsync failure publishes nothing and leaves
the volume's previous durable contents in place. A publish failure,
timeout, or interrupt keeps the importer sandbox so the checkpoint state
can be inspected first; delete it manually once it is no longer needed.
The importer is reaped automatically after 30 minutes without transfer
activity, and publishing does not reset that clock. Importing into an
existing volume attaches it at its current durable head for a fresh copy,
not a resumption of a failed transfer.
Inspect a volume's files:
prime volumes list # List volumes you created
prime volumes list --all-users # Include teammates' volumes
prime volumes ls my-data # List files and directories
prime volumes ls my-data datasets/ -l -h # Sizes and modified times
prime volumes ls my-data runs/ -R # Include nested run outputs
prime volumes ls my-data -o json # Volume-relative paths and metadata
prime volumes du my-data -h # Stored bytes, object count, and cap
prime volumes du my-data datasets/ -o json # Subtree and whole-volume usage
prime volumes cat my-data config.json | jq .
volumes list uses your selected account context (prime switch). In a
team, it shows only volumes you created by default; --all-users includes
volumes created by other team members. In a personal account, listings
remain limited to your personal volumes.
Paths use the same validation as volumes get and put: they are relative
to the volume root, and / selects that root. ls -R includes nested
directories, including empty directories. du scans the entire volume
with paginated listings so the usage percentage always compares the
whole volume with its cap, even when a file or subtree is selected.
Directory marker objects count toward the object total; internal SSH sync
metadata is excluded. These commands report usage without enforcing the cap.
While a run or read-write session holds the volume, ls, du, cat and
get read it live, as that writer has it right now: the CLI starts (or
reuses) a read-only SSH view of the writer's volume and runs the read there,
so a run's checkpoints are visible and downloadable mid-run. This needs your
SSH key (prime config set-ssh-key-path); the view stops after 30 minutes
idle. Otherwise, and while a finished writer is still syncing back, reads use
the stored copy. Notes about the source go to stderr; cat writes only the
file's bytes to stdout, without adding a newline.
Manage resources across personal and team contexts:
# List your teams
prime teams list
# Switch context directly
prime switch
prime switch personal
prime switch <team-slug>
prime switch <team-id> # fallback for teams without a slug
# All subsequent commands use the selected context
prime pods list
Multiple ways to configure your API key:
# Option 1: Interactive (hides input)
prime config set-api-key
# Option 2: Direct
prime config set-api-key YOUR_API_KEY
# Option 3: Environment variable
export PRIME_API_KEY="your-api-key"
Configuration priority: CLI config > Environment variable
Configure SSH key for pod access:
prime config set-ssh-key-path ~/.ssh/id_rsa.pub
prime config view
Prime also provides a Python SDK for programmatic access:
from prime_sandboxes import APIClient, SandboxClient, CreateSandboxRequest
# Initialize client
client = APIClient(api_key="your-api-key")
sandbox_client = SandboxClient(client)
# Create a sandbox
sandbox = sandbox_client.create(CreateSandboxRequest(
name="my-sandbox",
docker_image="python:3.11-slim",
cpu_cores=2,
memory_gb=4,
))
# Wait for creation
sandbox_client.wait_for_creation(sandbox.id)
# Execute commands
result = sandbox_client.execute_command(sandbox.id, "python --version")
print(result.stdout)
# Request a filesystem checkpoint and wait until it is durable
checkpoint = sandbox_client.checkpoint(sandbox.id)
checkpoint = sandbox_client.wait_for_checkpoint(checkpoint.id, timeout_seconds=300)
restored = sandbox_client.create(CreateSandboxRequest(
name="restored-sandbox", checkpoint_id=checkpoint.id
))
# Clean up
sandbox_client.delete(sandbox.id)
import asyncio
from prime_sandboxes import AsyncSandboxClient, CreateSandboxRequest
async def main():
async with AsyncSandboxClient(api_key="your-api-key") as client:
sandbox = await client.create(CreateSandboxRequest(
name="async-sandbox",
docker_image="python:3.11-slim",
))
await client.wait_for_creation(sandbox.id)
result = await client.execute_command(sandbox.id, "echo 'Hello'")
print(result.stdout)
await client.delete(sandbox.id)
asyncio.run(main())
# Deploy a pod with 8x H100 GPUs
prime pods create --gpu H100 --count 8 --name ml-training
# SSH and start training
prime pods ssh <pod-id>
Validate a dedicated RL, SFT or pretrain config against the schema of the runtime selected by Platform, including its default image:
prime train validate rl.toml
prime train validate rl.toml --ref your-branch
prime train validate sft.toml --artifact-out normalized.json Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.