opencode/packages/sdk/go/api.md
Dax c34aec060f
Merge agent and mode into one (#1689)
The concept of mode has been deprecated, there is now only the agent field in the config.

An agent can be cycled through as your primary agent with <tab> or you can spawn a subagent by @ mentioning it. if you include a description of when to use it, the primary agent will try to automatically use it

Full docs here: https://opencode.ai/docs/agents/
2025-08-07 16:32:12 -04:00

25 KiB

Shared Response Types

Event

Response Types:

Methods:

App

Response Types:

Methods:

Find

Response Types:

Methods:

File

Response Types:

Methods:

Config

Response Types:

Methods:

Session

Params Types:

Response Types:

Methods:

Permissions

Response Types:

Methods:

Tui

Methods: