opencode
Verified for current stable LTS
Opencode Command: Run Opencode Specific Model Agent
Use for run opencode specific model agent with Opencode. Exact CLI syntax to run opencode specific model agent using Opencode.
When to use this: Use for run opencode specific model agent with Opencode.
Command Syntax
opencode run -m <provider>/<model> --agent <agent_name> "<message>" opencode run -m <provider>/<model> --agent <agent_name> "<message>" Live Command Builder
Final Command
opencode run -m <provider>/<model> --agent <agent_name> "<message>" Command Breakdown
-m- Command Option
- Tool-specific option used by this command invocation.
--agent- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to run opencode specific model agent using Opencode.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Opencode Command: Continue Most Recent Session
opencode -c Opencode Command: Create New Agent Custom Configuration opencode agent create Opencode Command: List Available Models opencode models Opencode Command: Manage Credentials Login opencode auth login Opencode Command: Run Opencode Non Interactive opencode run "<message>"