Skip to content

SDKs & CLI

Official client libraries and command-line tool for integrating Orch8 into your stack. SDKs provide typed wrappers for common engine API domains, and the CLI supports operational workflows from the terminal.

Client SDKs

Typed wrappers covering the full API surface with polling workers, circuit breaker awareness, and exponential backoff.

CLI

Full engine control from the terminal. Deploy sequences, manage instances, inspect circuit breakers, and more.

>_

orch8-cli

Go binary. macOS, Linux, Windows.

Install

Homebrewbrew tap orch8-io/orch8 && brew install orch8-cli
Gogo install github.com/orch8-io/cli@latest

Configuration

FlagEnv varDescription
--urlORCH8_URLEngine API URL (default: localhost:8080)
--tenantORCH8_TENANTTenant ID (default: default)
--api-keyORCH8_API_KEYAPI key for authentication
--jsonOutput as JSON

Commands

deployDeploy sequence definitions from JSON files
sequenceCRUD, deprecate, list versions
instanceCreate, list, inspect, pause, resume, cancel, retry, signal
sessionCreate, close, and query grouped instances
triggerManage webhook, NATS, file_watch, and event triggers
cronSchedule recurring workflow execution
poolResource pools for concurrency control
workerMonitor external worker tasks and stats
credentialManage stored credentials and secrets
pluginManage engine plugins (WASM, gRPC)
clusterList nodes, drain for maintenance
approvalHuman-in-the-loop approval management
circuit-breakerInspect and reset circuit breaker states

SDK comparison

All three SDKs now cover the full engine API including resource pools, credentials, circuit breakers, and approvals. Workers include circuit breaker awareness and exponential backoff.

CapabilityTSPYGO
Sequences (CRUD + migrate)
Instances (CRUD + signals + inject)
Workflow builder (fluent API)
Polling worker
Circuit breaker awareness
Exponential backoff
Checkpoints
DLQ + bulk ops
Cron schedules
Triggers
Sessions
Plugins
Circuit breakers
Cluster management
Credentials
Resource pools
Approvals
SSE streaming

SDK coverage follows each package release and can lag new engine routes. API guide and OpenAPI location →

REST API

Don't see your language?

Orch8 exposes a versioned REST API and generates an OpenAPI document from the running engine. Use any HTTP client for routes not wrapped by your SDK version.

View API reference →