Skip to main content

orkestr-cli

CLI for the Orkestr deployment platform.

Install

pip install orkestr-cli

Quick start

# Log in: opens a browser link, you approve, the CLI gets a scoped token.
# In CI use: orkestr login --token <token>
orkestr login

# From inside your app's git repo: detect name/repo/branch and create the project
orkestr init

# Build, deploy, and wait for the live URL
orkestr deploy .

# ...or deploy a named project
orkestr deploy my-api

# View logs / check health
orkestr logs my-api
orkestr health my-api

orkestr init writes a gitignored .orkestr/config.json linking the directory to the project, so orkestr deploy . knows what to ship. It needs an orkestr account and the repo's git provider (GitHub, GitLab, Bitbucket, or Codeberg) connected to that account.

Commands

Command Description
orkestr login / logout / whoami Auth
orkestr init Link the current directory to a new project (interactive)
orkestr projects list|create|show|update|delete|analyze Manage projects
orkestr projects env-vars|webhook|webhook-toggle <project> Project env vars + git webhook
orkestr envs list|create|update|delete|env-vars Manage environments
orkestr deploy [project] Build + deploy, stream the pipeline, print the live URL (. = linked dir; --detach to not wait)
orkestr deployments list|show|logs|build-log|rollback Deployment history
orkestr functions list|show|create|update|deploy|delete Serverless functions
orkestr functions logs|invoke|env-vars|metrics|rotate-key Function ops
orkestr addons list|add|show|delete|backups|backup|download Add-ons (Postgres/Redis)
orkestr addons auto-backup|backup-info|delete-backup Backup config
orkestr logs|stats|health <project> Runtime container logs / stats / health
orkestr metrics|app-health|deployment-stats <project> Request metrics, app health, deploy stats
orkestr sleep|wake <project> Manually sleep/wake a container
orkestr domains list|verify Custom domains
orkestr registry list|scan|delete Docker registry images
orkestr activity / orkestr dashboard Audit log + summary
orkestr notifications list|read|read-all Notifications
orkestr tokens list|create|delete API tokens
orkestr groups list|show|create|delete|add|remove Project groups (workspaces)
orkestr connections list|repos|disconnect Git provider OAuth connections
orkestr sbx create|list|info|exec|shell|metrics|pause|resume|kill Sandboxes - isolated ephemeral Linux VMs

Sandboxes (orkestr sbx)

The same binary drives orkestr sandboxes - isolated, ephemeral Linux VMs for running untrusted or agent-generated code. Your orkestr login token drives them too (a default-scoped token, or one that carries sandboxes:read / sandboxes:write).

# create a Python sandbox with restricted egress
orkestr sbx create python-3.12 --network restricted

# run a command, stream its output, inherit its exit code (composes in scripts)
orkestr sbx exec sbx_01H... "python -c 'print(2**10)'"

# park it between turns, then pick it back up
orkestr sbx pause sbx_01H...
orkestr sbx resume sbx_01H...

# live usage, then terminate
orkestr sbx metrics sbx_01H...
orkestr sbx kill sbx_01H...

orkestr sbx exec exits with the command's own exit code. Add --json to any read command (list, info, metrics, create) for machine-readable output.

Agents (orkestr agents, private beta)

Build and run managed agents for accounts in the Agent Runtime beta. The model key is added once in the console.

orkestr agents credentials                     # your model keys (never shown)
export GITHUB_TOKEN=...                        # a tool server's key, from your shell
orkestr agents tools add github --url https://api.githubcopilot.com/mcp/ --auth-env GITHUB_TOKEN
orkestr agents create triage --prompt-file prompt.md --tools github --skill-file labels.md
orkestr agents run triage "Label the newest issue"
orkestr agents publish triage --prompt-file prompt.md --notes "tighter labels"
orkestr agents promote triage prod 1           # roll back

All commands support --json for raw JSON output.

PyPI project page: pypi.org/project/orkestr-cli

Documentation

Full docs at orkestr.eu/docs

Metadata

Release files for orkestr-cli 0.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orkestr-cli 0.5.4
File Size Uploaded Provenance Actions
orkestr_cli-0.5.4.tar.gz 43.4 kB Without provenance Details for orkestr_cli-0.5.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for orkestr-cli 0.5.4
File Interpreter ABI Platform Actions
orkestr_cli-0.5.4-py3-none-any.whl Python 3 none any Details for orkestr_cli-0.5.4-py3-none-any.whl

Total release size: 81.7 kB

Release files / orkestr_cli-0.5.4.tar.gz

Download URL orkestr_cli-0.5.4.tar.gz
Size 43.4 kB
Tags Source
SHA-256 checksum
How to use checksums
52f350954663fe49aa2317d354f5964236502310fcfe16f8790722ce79ce3fbc
BLAKE2b-256 checksum
How to use checksums
080ce14cec4c13792b844e406dad983a13fe72f71c7589105e8e92948d00638b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / orkestr_cli-0.5.4-py3-none-any.whl

Download URL orkestr_cli-0.5.4-py3-none-any.whl
Size 38.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d92708c0604de4ec20e97128133b1dc066a988db8fa0f48648479e8dc37923e
BLAKE2b-256 checksum
How to use checksums
8686d65a690f85196d1b9e19f39d9a78f92e16cf853419d89a3f2081e81c5f6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Security for orkestr-cli 0.5.4

Provenance

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.

No provenance found

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page