Agents · OpenCode

opencode with multi-agent sessions on any os

TL;DR

OpenCode is the most-starred open source coding agent, a terminal UI that works with many model providers and uses language servers to understand your code. Pane runs several OpenCode sessions in parallel, each on its own branch in its own worktree, without tmux or manual git commands. It installs natively on Windows through Scoop or Chocolatey as well as on macOS and Linux. A single session is enough when you're working on one thing.

OpenCode is a full-screen terminal app, so it needs a real terminal to look right. Pane gives it one per task, each on its own branch.

What is OpenCode?

OpenCode is an open source coding agent for the terminal, MIT-licensed and, with about 212,000 GitHub stars, the most-starred project in the category. It works with many model providers and uses language servers for code intelligence. There's also a desktop app.

Quickstart

Install OpenCode, create a pane, open a terminal, type opencode.

  1. 1Install OpenCode

    macOS, Linux or WSL

    curl -fsSL https://opencode.ai/install | bash

    Windows

    scoop install opencode

    Any OS with Node.js

    npm i -g opencode-ai@latest
  2. 2Create a pane

    Press Ctrl+N (⌘N on a Mac), pick the repo and branch, and create it. Pane makes a worktree for the pane.
  3. 3Start OpenCode

    Open a terminal in the pane with Ctrl+Alt+1 (⌘⌥1 on a Mac), or pick Terminal from the Ctrl+T menu, and type opencode. To launch it with one keystroke next time, save it as a custom command; your first four custom commands get shortcuts.
Creating a pane for a new taskThe same dialog works for every agent. OpenCode runs in the terminal of the pane it creates.Pane 2.4.155 on Windows 11, repo inside WSL2

What works with OpenCode in Pane

Everything Pane does around the terminal works. Agent-specific extras are for its three built-in agents.

✓OpenCode's TUI in a Pane terminalPane's terminals are real terminals, so the full-screen interface renders and takes keys as usual.
✓Language servers per worktreeEach pane is a full checkout, so OpenCode's language servers index that worktree.
✓Native OpenCode launch and restoreSince Pane v2.4.170, choose OpenCode when you add an agent terminal. Pane sends the initial input once and restores the same saved conversation.
✕Named Sessions, Pane Chat and handoffOpenCode support is terminal-only. Pane's conversation history UI and native MCP/skills integration don't support it yet.
✓Its own worktree and branchEach pane is a separate git worktree, so several sessions never touch each other's files.
✓Diff view and git actionsSee what changed, commit, push, rebase and open a pull request from the pane.
✓Ports and env per paneEach pane gets its own port block in PANE_PORT, and .env files are copied into new worktrees.
~Status in the sidebarPane shows terminal activity. Detailed working, waiting and done states are tuned for Claude Code, Codex and Cursor.
~Resume after restartLayout and terminal output come back. Add a custom resume template if the agent can resume a conversation by ID.
✕Usage and cost trackingPane tracks usage for Claude Code and Codex only.

Parallel sessions, one branch each

A pane per feature replaces tmux and manual worktrees.

Running several OpenCode sessions usually means tmux panes and git worktree commands by hand. In Pane, each feature is a pane with its own worktree, branch, terminal and diff view, and the sidebar shows which one is active.

OpenCode next to other agents

Different agents, different models, separate branches.

Use OpenCode with one provider in one pane and Claude Code or Codex in another, or several OpenCode sessions on different models. Each pane has its own worktree, so they never edit the same files.

When one OpenCode session is enough

If you're working on one thing in one terminal, OpenCode on its own is fine. Pane helps once you want several sessions at once, each isolated and reviewable.

출처

직접 실행한 내용
  • → Pane 2.4.155 on Windows 11 and WSL2; OpenCode details checked against its own repo and docs in October 2026
정정
틀렸거나 오래된 내용이 있으면 알려 주세요. 수정하고 맨 위의 날짜를 갱신하겠습니다. GitHub에 이슈 열기
출처

자주 묻는 질문

또는
다운로드*
Windows SmartScreen 경고Pane에 서명이 없는 동안 직접 다운로드하면 SmartScreen 경고가 표시될 수 있습니다. Pane은 완전한 오픈 소스입니다. 직접 코드를 확인하거나 소스에서 빌드할 수 있습니다.1. 추가 정보 클릭2. '그래도 실행' 클릭3. 설치 계속PowerShell 설치는 공식 릴리스를 바로 받습니다. 브라우저 다운로드에서 생기는 번거로움도 대부분 피할 수 있습니다.npm 전역 설치
PowerShell에 붙여넣으세요.Linux

작성자 Parsa Khazaeepoul, Pane 공동 창업자. .