Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions pages/common/opencode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# opencode

> AI coding agent.
> More information: <https://opencode.ai/docs/cli/>.

- Start the interactive terminal UI:

`opencode`

- List all available models from configured providers:

`opencode models`

- Run opencode in a non-interactive mode by passing a prompt directly:

`opencode run {{message}}`

- Manage AI assistant agents for OpenCode:

`opencode agent {{command}}`

- Create a new agent with custom configuration:

`opencode agent create`