CLI commands & options
Every flag, interactive REPL command, and keyboard shortcut supported by tiny-agent.
CLI options & flags
Pass flags when starting tiny-agent to control provider selection, model overrides, and auto-approval:
| Flag | Description |
|---|---|
| --local | Force local Ollama model (fully offline, private) |
| --cloud | Force cloud Groq model (high-speed LPU inference) |
| --model <name> | Override default model name (e.g. qwen2.5-coder:7b) |
| --yolo, --auto-approve | Bypass confirmation prompts for write/edit/shell actions |
| -h, --help | Display help message and command syntax |
Example overriding the local model on launch:
$
tiny-agent --local --model qwen2.5-coder:14bInteractive REPL commands
| Need | Use |
|---|---|
| Reset conversation history | /clear |
| Exit the interactive session | exit or quit |
| One-shot non-interactive prompt | tiny-agent "your prompt" |
Shortcuts
| Action | Shortcut |
|---|---|
| Interrupt current turn | Ctrl + C |
| Clear terminal display | Ctrl + L |
| Previous / next prompt history | Up / Down arrow |