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
- Bridge management
- Shell operations
- Proxy 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 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 create- Create licenselicense info- Display license information
::
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 status
bridge list- List all remote bridge instancesbridge create- Create new remote bridge instancebridge connect- Connect to remote bridge instancebridge disconnect- Disconnect from remote bridge instancebridge remove- Remove remote bridge instancebridge prune- Remove all remote bridge instances to free up resources
shell list- List all remote shell instancesshell create- Create new remote shell instanceshell connect- Connect to remote shell instanceshell remove- Remove remote shell instance
proxy list- List all remote proxy instancesproxy remove- Remove remote proxy instanceproxy prune- Remove all remote proxy instances to free up resources
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 bridge 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 |
| proxy | Proxy management | dxflow proxy --help |
| bridge | Bridge management | dxflow bridge --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 | ✓ | - | - |
| License | license activate | ✓ | - | - |
| License | license deactivate | ✓ | - | - |
| License | license create | ✓ | - | - |
| License | license info | ✓ | - | - |
| Engine | engine info | ✓ | - | - |
| Engine | engine token | ✓ | - | - |
| Engine | engine update | ✓ | - | - |
| Engine | boot up | ✓ | - | - |
| Engine | boot down | ✓ | - | - |
| Key | key generate | ✓ | - | - |
| Engine | ping | ✓ | ✓ | - |
| Engine | stats | ✓ | ✓ | - |
| Engine | healthcheck | ✓ | ✓ | - |
| Bridge | bridge list | ✓ | ✓ | - |
| Bridge | bridge create | ✓ | ✓ | - |
| Bridge | bridge connect | ✓ | ✓ | - |
| Bridge | bridge disconnect | ✓ | ✓ | - |
| Bridge | bridge remove | ✓ | ✓ | - |
| Bridge | bridge prune | ✓ | ✓ | - |
| Shell | shell list | ✓ | ✓ | - |
| Shell | shell create | ✓ | ✓ | - |
| Shell | shell connect | ✓ | ✓ | - |
| Shell | shell remove | ✓ | ✓ | - |
| Proxy | proxy list | ✓ | ✓ | - |
| Proxy | proxy remove | ✓ | ✓ | - |
| Proxy | proxy prune | ✓ | ✓ | - |
| Key | key register | ✓ | ✓ | ✓ |
| Key | key unregister | ✓ | ✓ | ✓ |
| Key | key list | ✓ | ✓ | ✓ |
| 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 | ✓ | ✓ | ✓ |
| Workflow | workflow list | ✓ | ✓ | ✓ |
| Workflow | workflow create | ✓ | ✓ | - |
| Workflow | workflow remove | ✓ | ✓ | ✓ |
| Workflow | workflow start | ✓ | ✓ | - |
| Workflow | workflow stop | ✓ | ✓ | ✓ |
| Workflow | workflow logs | ✓ | ✓ | ✓ |
| Workflow | workflow events | ✓ | ✓ | ✓ |