Skip to main content Switch to mobile version runtm 0.2.186 Sandboxes where AI agents build and deploy. Spin up isolated environments for Claude Code, Cursor, and other agents.
pip install runtm==0.2.186 Copy PIP instructions
CLI for Runtm – sandboxes where AI agents build and deploy.
Website: runtm.com · Docs: docs.runtm.com · Sign up: app.runtm.com
uv tool install runtm Alternative (pipx):
pipx install runtm From PyPI (pip):
pip install runtm With Sandbox Support
To use local sandboxes with AI agents:
pip install runtm[sandbox] Upgrading
# Upgrade to latest version (uv) uv tool upgrade runtm # Or force reinstall uv tool install runtm --force # With pipx pipx upgrade runtm # With pip pip install --upgrade runtm Quick Start
# 1. Authenticate with Runtm runtm login # 2. Start a sandbox and build with AI runtm start runtm prompt "Build a REST API with SQLite" # 3. Deploy to a live URL runtm deploy You get a live HTTPS endpoint. Machines auto-stop when idle and wake on traffic.
Start isolated environments where AI agents can build software:
# Start with interactive menu runtm start # Or go directly to autopilot mode runtm start --autopilot # Send prompts to the agent runtm prompt "Build a todo API with SQLite" runtm prompt --continue "Add authentication" # Attach to see what's happening runtm attach # List all sessions runtm session list Modes
Autopilot: Agent runs autonomously, control via runtm prompt
Interactive: Drop into sandbox shell, control agent manually
claude-code - Anthropic's Claude Code (recommended)
codex - OpenAI's Codex CLI
gemini - Google's Gemini CLI
Get your free API key at app.runtm.com. The CLI will prompt you to authenticate on first use.
# Manual login runtm login # Login with token directly runtm login --token runtm_sk_xxx # Check auth status runtm doctor # Logout runtm logout Token storage:
Primary: ~/.runtm/credentials file (0o600 permissions)
Optional: System keychain (if keyring package installed)
Environment variable override:
export RUNTM_API_KEY=runtm_sk_xxx # Overrides stored token Configuration
# Set API URL (for self-hosting) runtm config set api_url=https://self-hosted.example.com/api # Get a config value runtm config get api_url # List all config values runtm config list # Reset to defaults runtm config reset Config file: ~/.runtm/config.yaml
RUNTM_API_URL - API endpoint (overrides config)
RUNTM_API_KEY - API key (overrides stored token)
RUNTM_DEBUG - Enable debug logging
Manage environment variables for deployments:
# Set secrets runtm secrets set DATABASE_URL=postgres://... runtm secrets set API_KEY=sk-xxx # List secrets runtm secrets list # Get a secret value runtm secrets get DATABASE_URL # Remove a secret runtm secrets unset OLD_KEY Secrets are stored in .env.local (gitignored) and injected at deploy time.
# Check CLI setup and diagnose issues runtm doctor Example output:
runtm v0.2.7 API URL: https://app.runtm.com/api Auth storage: keychain (api_token@app.runtm.com) Auth status: ✓ Authenticated as user@example.com Connectivity: ✓ API reachable (142ms) Ready to deploy! Run: runtm init Machine Tiers
All deployments use auto-stop for cost savings (machines stop when idle and start automatically on traffic).
*Costs are estimates for 24/7 operation. With auto-stop, costs are much lower for low-traffic services.
# Deploy to a live URL (uses starter tier by default) runtm deploy # Deploy with a specific tier runtm deploy --tier standard runtm deploy --tier performance # Check deployment status runtm status dep_abc123 # View logs runtm logs dep_abc123 Redeployment (CI/CD)
Runtm supports automatic redeployment based on the project name in runtm.yaml:
# First deploy - creates new deployment runtm deploy # → v1, creates new URL # Fix a bug, then redeploy - updates existing runtm deploy # → v2, same URL, updated code # Force a completely new deployment runtm deploy --new # → v1, new deployment, new URL Logs
# All logs (build + deploy + recent runtime) runtm logs dep_abc123 # Filter by log type runtm logs dep_abc123 --type runtime runtm logs dep_abc123 --type build # More runtime log lines runtm logs dep_abc123 --lines 100 # Search logs runtm logs dep_abc123 --search "error" runtm logs dep_abc123 --search "error,warning,timeout" # OR logic # Pipe to grep (Heroku-style) runtm logs dep_abc123 --raw | grep "error" # JSON output for AI agents runtm logs dep_abc123 --json Development
# Install in editable mode with sandbox support pip install -e ".[dev,sandbox]" pip install -e ../sandbox pip install -e ../agents # Use the development CLI (avoids conflicts with PyPI version) runtm-dev start # Start sandbox session runtm-dev prompt "Build an API" # Send prompt to agent runtm-dev session list # List sessions # Configure CLI to use local API (add to ~/.zshrc or ~/.bashrc) export RUNTM_API_URL=http://localhost:8000 export RUNTM_API_KEY=dev-token-change-in-production # Run tests pytest runtm vs runtm-dev
If you have the PyPI version installed globally, use runtm-dev to ensure you're running your local development code with full sandbox support.
Author/Maintainer: Gustavo Trigos
Apache Software License (Apache-2.0)
ai cli deployment devops fly.io serverless
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: Apache Software License
Operating System OS Independent
Programming Language Python :: 3
Topic Software Development :: Build Tools
System :: Software Distribution
Release files for runtm 0.2.186
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 231.7 kB
Release files / runtm-0.2.186.tar.gz
Release files / runtm-0.2.186-py3-none-any.whl
Security for runtm 0.2.186
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 23, 2026 2 release files No provenance
Nov 17, 2026 2 release files No provenance
Nov 12, 2026 2 release files No provenance
Nov 10, 2026 2 release files No provenance
Nov 9, 2026 2 release files No provenance
Nov 8, 2026 2 release files No provenance
Nov 5, 2026 2 release files No provenance
Nov 4, 2026 2 release files No provenance
Nov 3, 2026 2 release files No provenance
Oct 30, 2026 2 release files No provenance
Oct 22, 2026 2 release files No provenance
Oct 19, 2026 2 release files No provenance
Oct 17, 2026 2 release files No provenance
Oct 16, 2026 2 release files No provenance
Oct 12, 2026 2 release files No provenance
Sep 25, 2026 2 release files No provenance
Sep 23, 2026 2 release files No provenance
Sep 22, 2026 2 release files No provenance
Sep 21, 2026 2 release files No provenance
Sep 16, 2026 2 release files No provenance
Sep 15, 2026 2 release files No provenance
Sep 13, 2026 2 release files No provenance
Sep 12, 2026 2 release files No provenance
Sep 9, 2026 2 release files No provenance
Sep 5, 2026 2 release files No provenance
Sep 4, 2026 2 release files No provenance
Aug 20, 2026 2 release files No provenance
Aug 15, 2026 2 release files No provenance
Aug 4, 2026 2 release files No provenance
Jul 30, 2026 2 release files No provenance
Jul 29, 2026 2 release files No provenance
Jul 28, 2026 2 release files No provenance
Jul 24, 2026 2 release files No provenance
Jul 11, 2026 2 release files No provenance
Jul 9, 2026 2 release files No provenance
Jul 1, 2026 2 release files No provenance
Jun 24, 2026 2 release files No provenance
Jun 17, 2026 2 release files No provenance
Jun 16, 2026 2 release files No provenance
Jun 15, 2026 2 release files No provenance
May 10, 2026 2 release files No provenance
May 9, 2026 2 release files No provenance
Apr 3, 2026 2 release files No provenance
Apr 1, 2026 2 release files No provenance
Feb 24, 2026 2 release files No provenance
Feb 23, 2026 2 release files No provenance
Jan 24, 2026 2 release files No provenance
Jan 21, 2026 2 release files No provenance
Jan 15, 2026 2 release files No provenance
Jan 2, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




