CLI Reference
dxflow provides a comprehensive command-line interface that adapts to your environment, supporting local execution, remote server management, and automatic instant engine spawning for seamless operations.
Command Execution Types
Local Commands
Always Local
- Configuration management
- Engine lifecycle control
- License operations
- System information
Remote Commands
Server Infrastructure
- Engine monitoring
- Shell operations
- Workflow control
Local Commands
Commands that always execute on your local machine for configuration and system management.
Available Commands
config get- Get configuration valueconfig set- Set configuration valueconfig unset- Remove configuration value
engine info- Display local engine informationengine token- Generate authentication tokenengine pair- Pair a console with a single use codeengine update- Update engine to the latest versionkey generate- Generate RSA key pair for authenticationboot up- Start the engine with configured serversboot down- Gracefully shut down the running engine instance
license activate- Activate licenselicense deactivate- Revert to the built-in general licenselicense info- Display license information
platform login- Connect this engine to a dxflow platform accountplatform info- Display the stored platform sessionplatform logout- Release this engine from the account holding it
::
Common Operations
# Configuration management
dxflow config set connection-address "https://server.com"
dxflow config get connection-address
# Engine lifecycle
dxflow boot up --daemon
dxflow boot down
# License management
dxflow license info
Remote Commands
Commands that execute on configured remote dxflow servers for distributed infrastructure management.
Available Commands
engine ping- Test connection to remote engineengine stats- Display comprehensive engine statistics and resource usageengine healthcheck- Check remote engine health statusengine pair- Pair a console with a single use code
shell list- List all remote shell instancesshell create- Create new remote shell instanceshell connect- Connect to remote shell instanceshell remove- Remove remote shell instance
key register- Register a new authentication keykey unregister- Remove an authentication keykey list- List all registered keys
artifact list- List files and directoriesartifact create- Create files or directoriesartifact delete- Delete files or directoriesartifact rename- Rename/move files or directoriesartifact upload- Upload files to remote storageartifact download- Download files from remote storageartifact share- Share files or directoriesartifact zip- Compress files or directories into ZIP archivesartifact unzip- Extract ZIP archives
workflow list- List all workflowsworkflow create- Create a new workflowworkflow remove- Remove a workflowworkflow start- Start all services defined in the workflowworkflow stop- Gracefully stop all running containersworkflow logs- View logs from workflow containersworkflow events- Monitor workflow events
agent create- Create an agent session for a workflowagent prompt- Advance an agent session one turnagent list- List agent sessions with their latest modelagent inspect- Show a session's workflow, model, and usageagent remove- Remove an agent session
::
Remote Setup
# Configure connection
dxflow config set connection-address "https://prod.server.com"
dxflow config set connection-key "/secure/prod-key.pem"
# Test connection
dxflow engine ping
# Manage remote resources
dxflow shell create production
dxflow workflow list
Instant Engine Support
Some commands support automatic instant engine spawning for local execution when no persistent engine is running.
How It Works
Instant engine commands follow this execution priority:
- Remote Configured? → Execute on remote server (using server's engine)
- Local Engine Running? → Use local persistent engine
- Otherwise → Spawn temporary instant engine locally
An instant engine lives exactly as long as the command that spawned it. Commands whose work keeps running past that point require a persistent engine, so start one with boot up first.
Commands with Instant Support
key list- List all registered authentication keyskey register- Register new authentication keykey unregister- Remove authentication key
artifact list- List files and directoriesartifact create- Create files or directoriesartifact delete- Delete files or directoriesartifact rename- Rename/move files or directoriesartifact upload- Upload files to remote storageartifact download- Download files from remote storageartifact share- Share files or directoriesartifact zip- Compress files or directories into ZIP archivesartifact unzip- Extract ZIP archives
workflow list- List all workflowsworkflow remove- Remove workflowworkflow stop- Gracefully stop all running containersworkflow logs- View logs from workflow containersworkflow events- Monitor workflow events
::
Commands
| Command | Description | Help |
|---|---|---|
| boot | Engine lifecycle control | dxflow boot --help |
| key | Authentication key management | dxflow key --help |
| config | Config control | dxflow config --help |
| license | License management | dxflow license --help |
| engine | Engine management | dxflow engine --help |
| shell | Shell management | dxflow shell --help |
| workflow | Workflow management | dxflow workflow --help |
| artifact | Artifact management | dxflow artifact --help |
Global Options
| Flag | Shorthand | Description | Type | Default |
|---|---|---|---|---|
--config-profile | -C | Specify the config profile | string | default |
--log-level | -L | Specify the log level | string | info |
--no-color | -N | Disable color output | bool | false |
Command Capabilities Matrix
Complete command capabilities overview - Local execution, Remote server support, and Instant engine spawning.
| Category | Command | Local | Remote | Instant |
|---|---|---|---|---|
| Config | config get | ✓ | - | - |
| Config | config set | ✓ | - | - |
| Config | config unset | ✓ | - | - |
| Platform | platform login | ✓ | - | - |
| Platform | platform info | ✓ | - | - |
| Platform | platform logout | ✓ | - | - |
| License | license activate | ✓ | - | - |
| License | license deactivate | ✓ | - | - |
| License | license info | ✓ | - | - |
| Boot | boot up | ✓ | - | - |
| Boot | boot down | ✓ | - | - |
| Key | key generate | ✓ | - | - |
| Key | key register | ✓ | ✓ | ✓ |
| Key | key unregister | ✓ | ✓ | ✓ |
| Key | key list | ✓ | ✓ | ✓ |
| Engine | engine info | ✓ | - | - |
| Engine | engine token | ✓ | - | - |
| Engine | engine pair | ✓ | ✓ | - |
| Engine | engine update | ✓ | - | - |
| Engine | engine ping | ✓ | ✓ | - |
| Engine | engine stats | ✓ | ✓ | - |
| Engine | engine healthcheck | ✓ | ✓ | - |
| Workflow | workflow list | ✓ | ✓ | ✓ |
| Workflow | workflow create | ✓ | ✓ | - |
| Workflow | workflow remove | ✓ | ✓ | ✓ |
| Workflow | workflow start | ✓ | ✓ | - |
| Workflow | workflow stop | ✓ | ✓ | ✓ |
| Workflow | workflow logs | ✓ | ✓ | ✓ |
| Workflow | workflow events | ✓ | ✓ | ✓ |
| Artifact | artifact list | ✓ | ✓ | ✓ |
| Artifact | artifact create | ✓ | ✓ | ✓ |
| Artifact | artifact delete | ✓ | ✓ | ✓ |
| Artifact | artifact rename | ✓ | ✓ | ✓ |
| Artifact | artifact upload | ✓ | ✓ | ✓ |
| Artifact | artifact download | ✓ | ✓ | ✓ |
| Artifact | artifact share | ✓ | ✓ | ✓ |
| Artifact | artifact zip | ✓ | ✓ | ✓ |
| Artifact | artifact unzip | ✓ | ✓ | ✓ |
| Agent | agent create | ✓ | ✓ | ✓ |
| Agent | agent prompt | ✓ | ✓ | - |
| Agent | agent list | ✓ | ✓ | ✓ |
| Agent | agent inspect | ✓ | ✓ | ✓ |
| Agent | agent remove | ✓ | ✓ | ✓ |
| Shell | shell list | ✓ | ✓ | - |
| Shell | shell create | ✓ | ✓ | - |
| Shell | shell connect | ✓ | ✓ | - |
| Shell | shell remove | ✓ | ✓ | - |