Execution environment
The runtime container installs theopencode-ai command-line interface (CLI), which provides the opencode command that the driver runs.
Running a turn
The driver runsopencode as a subprocess to execute a single tool-less turn. The turn runs without tools, so the engine produces its result from the prompt alone.
Event-stream translation
The driver runs opencode with--format json and reads the resulting event stream. It translates each event into the same task notifications any other agent emits: