quick_start

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Quick-start example for opencode-agent-sdk-go.

Spawns `opencode acp`, starts a session, prompts it with a short question, streams the response, and tears down. Run `opencode auth login` before invoking.

go run ./examples/quick_start

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL