<- back to runpane.com

opencode with multi-agent sessions on any os

Pane is a desktop agent manager for developers running TUI-based CLI agents. Run multiple OpenCode sessions in parallel — each on its own branch, with LSP awareness intact — without configuring tmux or managing worktrees by hand.

Pane running multiple OpenCode sessions in parallel
or
Download*
Windows SmartScreen warningDirect downloads can show a SmartScreen warning while Pane is unsigned. Pane is fully open source, so you can audit the code and build from source yourself.1. Click More info2. Click Run anyway3. Continue the installerThe PowerShell install downloads the official release directly and avoids most browser download friction.npm global install
Paste that in PowerShell.MacLinux

what is opencode?

OpenCode is a TUI-first CLI agent built by the Anomaly team, written in Go. It is LSP-aware — meaning it passes real type information and diagnostics into the agent context — and supports 75+ model providers. With around 165,000 GitHub stars it is one of the fastest-growing agents in this space.

OpenCode suits engineers who want the precision of LSP-grounded edits (no hallucinated import paths) and a TUI they can navigate without leaving the terminal. Built by Anomaly (formerly the SST team), the source is maintained at anomalyco/opencode.

I reach for OpenCode when I want LSP-grounded edits on a TypeScript project — running it in Pane so the session stays on its own branch while other agents work in separate panes.

lsp awareness across parallel sessions

OpenCode resolves imports and diagnostics through the project directory it is launched in. Pane gives each session its own worktree, so each OpenCode instance sees a clean checkout of the right branch. The LSP operates against that checkout — no cross-session contamination, no shared dirty state.

session management without the tmux overhead

Running multiple OpenCode sessions in tmux means naming windows, remembering keybindings, and correlating window numbers with branches. Pane keeps sessions named by what they are doing — each one shows its output and its branch — so switching between them does not require reconstructing context from a terminal window index.

what pane does

- starts each OpenCode session in an isolated worktree

- lets you run OpenCode alongside Claude Code, Aider, or any other CLI agent

- keeps terminal output, diffs, and git actions in one place

- works natively on Windows, Mac, and Linux without tmux or WSL

when a single opencode session is enough

If you work on one branch at a time and one terminal is manageable, you do not need Pane. Pane earns its keep when you want parallel OpenCode sessions on different branches, or you want to mix OpenCode with other agents and keep each one isolated.

Compare: Pane vs coding agents, Pane vs cmux.

Background: git worktrees for AI agents, agent orchestration, what is an agent manager.

Last verified against OpenCode's current release. Written by Parsa Khazaeepoul, co-founder of Pane.

frequently asked questions