CLI Reference
The GoFlow command-line interface for development and operations.
import { Callout } from 'fumadocs-ui/components/callout'; import { Tabs, Tab } from 'fumadocs-ui/components/tabs';
Installation
Service Commands
Start GoFlow services for development or production.
<Tabs items={['API Server', 'Worker', 'Scheduler']}>
Custom queue name
goflow worker -q high-priority -c 5
Agent Commands
Run AI agents from the command line.
Agent Flags
| Flag | Description | Default |
|---|---|---|
-i, --interactive | Interactive chat mode | false |
-t, --tools | Comma-separated tool list | all |
--provider | LLM provider | openai |
--model | Model name | provider default |
-m, --max-iterations | Max reasoning steps | 10 |
Job Commands
Manage background jobs in the queue.
Workflow Commands
Control workflow executions.
Queue Commands
Monitor queue statistics and events.
Dead Letter Queue
Manage failed jobs in the DLQ.
Global Flags
| Flag | Description | Default |
|---|---|---|
--config | Config file path | ./goflow.yaml |
--redis | Redis address | localhost:6379 |
-v, --verbose | Verbose output | false |
Configuration File
Create a goflow.yaml file for persistent configuration:
