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.1

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.1
File Size Uploaded
orkestr_cli-0.5.1.tar.gz 39.0 kB Details

Built distribution (wheel)

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

Total release size: 74.2 kB

Release files / orkestr_cli-0.5.1.tar.gz

Download URL orkestr_cli-0.5.1.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c2665431f65d7617e947897359baf6de9464e4a2d7873ee8d5eb2073e1b4794a
BLAKE2b-256 checksum
How to use checksums
bccf9608dd8090dd8ead0ae7b0bbb2075d277071c799b4b2ab5bdfd2522ef826
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.1-py3-none-any.whl

Download URL orkestr_cli-0.5.1-py3-none-any.whl
Size 35.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a924d9782d0cfcf9b1d8eaf0c63f112bb2c416f0790db65d5c3f8057f53f1737
BLAKE2b-256 checksum
How to use checksums
80aad73d12177aed1b68697ad21519c04f7e51a08bc3b488cd572b6199fa5e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

0.5.3

2 release files

0.5.2

2 release files

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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