What is the Symphony CLI?
The Symphony CLI is an escript entrypoint that allows you to run Symphony with an explicitWORKFLOW.md path. It provides a command-line interface for starting the Symphony orchestration engine with configurable options for logging, server ports, and workflow files.
Basic Usage
The Symphony CLI accepts an optional workflow file path and several configuration flags:WORKFLOW.md in the current directory.
Simple Example
Run Symphony with the defaultWORKFLOW.md in the current directory:
Custom Workflow Path
Run Symphony with a specific workflow file:With Custom Configuration
Combine multiple options to customize your Symphony instance:Required Acknowledgement
This requirement exists because:- Symphony is a low-key engineering preview
- Codex will run without any guardrails
- SymphonyElixir is not a supported product and is presented as-is
Workflow File Resolution
When you provide a workflow path, Symphony:- Expands the path to an absolute path using
Path.expand/1 - Validates that the file exists and is a regular file
- Sets the workflow file path in the application configuration
- Starts the Symphony application with the configured workflow
If the workflow file is not found, Symphony will exit with an error message:
Workflow file not found: /absolute/path/to/fileApplication Startup
Once configured, Symphony:- Starts all required Elixir applications
- Initializes the workflow engine with your
WORKFLOW.mdconfiguration - Runs until the Symphony supervisor process terminates
- Exits with code 0 on normal shutdown, or code 1 on errors
Next Steps
- See Commands Reference for detailed flag documentation
- Learn about Workflow Configuration to customize your Symphony instance
- Explore Logging to understand Symphony’s logging behavior