> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibekit.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Opencode

> Run Opencode in a secure and private sandbox

<img src="https://mintcdn.com/vibekit/6LkcvJmemBH6L58r/images/opencode.png?fit=max&auto=format&n=6LkcvJmemBH6L58r&q=85&s=2cdde2f3840b88f9ca3507df197ac62e" alt="Opencode" width="2024" height="1428" data-path="images/opencode.png" />

## How it works

VibeKit runs Opencode in headless mode. This means that the agent will automatically create, edit and delete files if it's in `code` mode.

The Opencode CLI runs in the configured environment and has access to the network, which means it could be used to connect to the outside world. This is a powerful feature that can be used to build powerful applications and should be used with caution.

[Read more about Opencode](https://github.com/sst/opencode)
