OpenCode
opencodeThe open source coding agent, model-agnostic by design.
The open source coding agent, model-agnostic by design.
Start the opencode TUI, run one-off messages or serve headless. Other subcommands are left out.
projectmodelagentprojectcontinuemodelpath · positional 0string-m--modelboolean-c--continuestring-s--sessionboolean--forkstring--promptstring--agentboolean--pureopencode runRun opencode non-interactively with a message. Server attach options are left out.
messagemodelfilestring · positional 0 · repeatablestring-m--modelstring--agentboolean-c--continuestring-s--sessionenum--formatdefaultjsonpath · repeatable-f--filepath--dirboolean--thinkingboolean--shareopencode serveRun an opencode server without the TUI.
porthostnameinteger--portstring--hostnameboolean--mdnsstring · repeatable--corsfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed opencode against its version. A form that does not match your version is not offered.