run command executes agents from YAML configuration files or direct prompts.
Usage
Arguments
| Argument | Description |
|---|---|
TARGET | Agent file (YAML) or direct prompt text |
Options
| Option | Short | Description | Default |
|---|---|---|---|
--model | -m | LLM model to use | gpt-4o-mini |
--framework | -f | Framework: praisonai, crewai, autogen | praisonai |
--interactive | -i | Enable interactive mode | false |
--verbose | -v | Verbose output | false |
--stream | Stream output | true | |
--no-stream | Disable streaming | ||
--trace | Enable tracing | false | |
--memory | Enable memory | false | |
--tools | -t | Tools file path | |
--max-tokens | Maximum output tokens | 16000 |
Examples
Run from YAML file
Run with a prompt
Run with specific model
Run in interactive mode
Run with memory enabled
Run with verbose output
Run with custom tools
Agent File Format
Create anagents.yaml file:
See Also
- Agents - Agent management
- Workflow - Workflow execution
- Interactive TUI - Interactive terminal interface

