LogoVibeCodingHunt

Agent Plugin

Daytona for OpenCode

Runs each OpenCode session inside a Daytona sandbox with preview links and optional Git branch synchronization.

Integration

What is Daytona for OpenCode?

Daytona for OpenCode moves file and process tools from the local machine into a disposable cloud sandbox. A session gets an isolated environment, previewable ports, and a Git-backed handoff path that can commit sandbox changes to an opencode branch. The plugin is useful when generated code must run away from the developer workstation, but its synchronization model should be understood before editing the generated branches locally.

Key capabilities

Session isolation

Creates a separate Daytona sandbox for each OpenCode session.

Live previews

Exposes running services through shareable preview links.

Git synchronization

Can commit and sync sandbox work to numbered opencode branches.

Lifecycle cleanup

Removes the associated sandbox when the session is deleted.

Use cases

Untrusted build execution

Run installation, compilation, and tests away from the local workstation.

Share a live preview

Expose a generated web app without manually provisioning a development host.

Parallel sessions

Keep multiple agent tasks in independent environments and branches.

Included components

Hooks

Sandboxed File and Process Tools

Redirects supported filesystem and command work into the session sandbox.

Commands

Daytona Session Commands

Manages sandbox lifecycle, previews, and synchronization from OpenCode.

Installation scope

project or global
OpenCode
  • OpenCode
  • A Daytona account and API key
  • A Git repository when branch synchronization is used
  • Avoid independent local edits on plugin-managed opencode branches because synchronization may overwrite them

FAQs