CLI Commands Reference
Complete reference for the Conductor CLI.Installation
Global Commands
init
Initialize a new Conductor project.--template <template>- Use a template (basic, api, rag, chatbot)--typescript- Use TypeScript--no-git- Skip git initialization
dev
Start local development server.--port <port>- Port number (default: 3000)--host <host>- Host address (default: localhost)
deploy
Deploy to Cloudflare Workers.--env <environment>- Environment name (default: production)--dry-run- Show what would be deployed
test
Run tests.--watch- Watch mode--coverage- Generate coverage report--verbose- Verbose output
Ensemble Commands
ensemble:list
List all ensembles.ensemble:run
Execute an ensemble locally.ensemble:validate
Validate ensemble YAML.Agent Commands
agent:list
List all agents.agent:run
Execute an agent locally.agent:validate
Validate agent YAML.Component Commands
component:list
List all components.component:create
Create a new component.--type <type>- Component type (prompt, template, schema, config)--version <version>- Initial version (default: v1.0.0)
Edgit Commands
edgit:init
Initialize Edgit in project.edgit:status
Show Edgit status.edgit:commit
Commit changes.edgit:tag
Create version tag.edgit:log
Show commit history.edgit:diff
Show changes.Config Commands
config:get
Get configuration value.config:set
Set configuration value.config:list
List all configuration.Secrets Commands
secret:set
Set a secret.secret:list
List secret names (not values).secret:delete
Delete a secret.Database Commands
db:create
Create D1 database.db:migrate
Run database migrations.db:query
Execute SQL query.Storage Commands
storage:create
Create KV namespace or R2 bucket.kv, r2, vectorize
Example:
storage:list
List storage resources.Logs Commands
logs
Tail production logs.--env <environment>- Environment name--follow- Follow logs in real-time--filter <pattern>- Filter by pattern
Info Commands
info
Show project information.version
Show CLI version.help
Show help.Environment Management
env:list
List environments.env:create
Create environment.env:switch
Switch active environment.Common Options
Most commands support these options:--help- Show help--verbose- Verbose output--quiet- Quiet output--env <environment>- Target environment--config <path>- Config file path
Configuration File
Commands read fromconductor.config.js:

