Commands
Command Line Usage
agenticode [options] [prompt]Global Options
--model
-m
string
(wizard)
Model to use
--ollama-host
-o
string
(wizard)
Ollama server URL
--directory
-d
string
cwd
Working directory
--non-interactive
-n
boolean
false
Skip setup wizard
--json
-j
boolean
false
JSON output mode
--ui
-
string
ink
UI: 'ink' or 'classic'
--yolo
-y
boolean
false
Auto-approve all tools
--system-prompt
-s
string
-
Custom system prompt
--system-prompt-file
-
string
-
System prompt from file
--api-endpoint
-
string
-
AgenticWork API URL
--api-key
-
string
-
AgenticWork API key
--provider
-
string
auto
Provider: 'api', 'ollama', 'auto'
--alt-buffer
-
boolean
false
Use alternate screen
--output-format
-
string
text
Output: 'text' or 'stream-json'
--input-format
-
string
text
Input: 'text' or 'stream-json'
--version
-V
-
-
Show version
--help
-h
-
-
Show help
Usage Examples
Interactive Session
One-Off Prompts
YOLO Mode
Auto-approve all tool executions (use with caution):
Custom System Prompt
JSON/Streaming Modes
For integration with other tools:
Provider Selection
Exit Codes
0
Success
1
General error
130
Interrupted (Ctrl+C)
Environment Variables
These can be set instead of CLI options:
Last updated