gb opencode
Coming Soon - OpenCode integration is under development.
Start or attach to an OpenCode AI session. OpenCode is an open-source AI coding assistant that works with multiple LLM providers.
Shortcut
gbo # Equivalent to: gb opencode
gbod # Equivalent to: gb opencode --directSynopsis
gb opencode [options]
gb opencode [subcommand] [args]Description
The opencode command will provide a streamlined interface to start OpenCode sessions on genboxes (cloud or local) or directly on your machine.
Options
| Option | Description |
|---|---|
--on <genbox> | Use a specific genbox |
--direct | Run directly on this machine (no isolation) |
-y, --yes | Skip confirmation prompts |
-p, --prompt-mode | Interactive prompt mode with optional images |
-e, --editor | Use $EDITOR for prompt input (with -p) |
-b, --background | Run session in background (with -p) |
Subcommands
| Subcommand | Description |
|---|---|
list | List all OpenCode sessions |
attach <session> | Attach to an existing session |
stop <session> | Stop a session |
kill <session> | Kill/destroy a session |
migrate <session> | Migrate session to another genbox |
See Also
gb session- Session management commandsgb claude- Claude AI sessionsgb gemini- Gemini AI sessions- Shortcuts Reference - All power user shortcuts
Last updated on