Actions
The Agents tab is where you work with the coding agent. You describe what you want, and the agent reads and changes the files in your project, runs commands and reports back.
The tab can show the agent in either of two ways. You choose in Settings → General, under Agents tab:
The choice is kept in your browser, so you can try both. Everything below — your projects, credentials, tools and conversations — is the same either way.
The Web view is the OpenCode web interface, the same one the AI BUILD Link and opencode-desktop clients use. It is what the tab shows by default, as a full application inside the tab:

Two more settings appear next to Agents tab while Web view is selected: Web view tabs (sessions down the left sidebar, or along the top bar) and Web view font size.
Choose Terminal (TUI) in Settings → General and one terminal fills the tab, showing the OpenCode TUI (terminal user interface). There is no toolbar: the tab is the agent's own interface, and the controls live inside it.

When no terminal is open, the tab shows New terminal. Starting one opens the TUI in your workspace; inside it, its own commands take you everywhere:
The status line at the bottom of the TUI shows the agent in use (Build by default), the model serving it, and the connected tools. If the terminal ends or fails, the tab shows what happened with Restart and Close terminal — terminals are never restarted automatically, and your conversations are kept.
The agent comes with two modes you switch between with shift + tab in the
terminal, or with the agent picker in the Web view:
Your company settings can add agents, choose a different default, and require the agent to ask before it edits a file or runs a command. The full list of agents is under Settings → Agents. The model a new session starts with is set under Settings → Providers & Models.
Paste a file into the agent, or drag it in, and it is uploaded to your workspace
with its path added to the prompt. Images and PDFs appear as [Image 1] or
[PDF 1]. Text and data files, and Word, Excel and PowerPoint documents, are
added as a path the agent opens. Each file can be up to 10 MB.
Attached files are stored in a hidden .attachments folder in your workspace.
Files older than 24 hours are removed the next time you attach one, so move
anything you want to keep into a project.
Closing the browser tab, reloading the page or moving to another tab ends
nothing. Your session keeps running in the workspace, so the agent carries on
with a long task while your laptop is closed. The next time you open the
workspace, the running session is picked up again: in the Web view it is the
open conversation in the session list on the left, and in the Terminal (TUI)
you press ctrl + x l to list the sessions of the current folder.
Conversations are stored on the workspace's persistent volume, so they also survive a restart, an upgrade and a redeployment of the workspace. If your history looks empty after importing a workspace archive, the import replaced it with an older export; see Workspace data and restarts.
Changing the agents, rules, skills, commands or tools of your company settings
needs no restart — they reach a running workspace within seconds. Only the parts
that cannot reload live — the image the workspace runs, and your personal
env.sh — need one. See
Restart the box.
Inside your workspace the agent works with:
/workspace/<project>/, read and write. See Projects.git, svn, node, python and the codegraph command.For a plain shell, open the integrated terminal in the IDE tab. It runs as the same user as the agent and sees exactly the same files, so there is no handover between your work and the agent's. A dev server you start there shows up in the Preview tab.