Octopus scopes terminals, agents, and files to projects and project groups. It ships Git Worktree branch workspaces with multi-backend sandboxes (Docker, Podman, Apple Container, OpenSandbox), a lazy-loaded explorer with native Mermaid rendering, and visual SSH/Mosh port tunnels.
Projects, Project Groups & Merge Working Directories
Octopus treats a code project as the top-level container. Each project owns its own terminal tabs, AI agent sessions, drag-and-drop split layouts, and right-hand file/Git workspace. Switching projects keeps background builds, dev servers, and long-running agents alive without interruption.
- Project groups: Organize microservices, frontend/backend repos, or client projects into clean collapsible groups.
- Merge Working Directories: Right-click a project group to enable Merge Working Directories—agents that support extra paths (such as Claude Code and Codex) automatically receive sibling local repository paths for cross-repo reasoning.
- Real PTY & flexible split panes: Powered by
MiniPty+TKCode.Arc.Terminalwith true color, CJK IME input, mouse scrolling, full-screen TUIs (vim,htop,btop), and drag-to-split layouts. - Automatic shell detection: Discovers
zsh,bash,fish,PowerShell 7,WSL, and custom shells automatically.
Git Worktree Branch Workspaces
Pointing two coding agents at the same working tree inevitably causes conflicting edits. Octopus makes Git Worktrees a first-class workflow so every parallel task gets its own branch and directory:
- Create a branch workspace in one click
Spawn a new Worktree workspace (for example
feator/oauth-pkce fix) directly under the parent project./rate-limit - Run agents concurrently without collisions
Launch Claude Code, Codex, or OpenCode in separate Worktrees to build features, write tests, and refactor simultaneously with isolated files and build artifacts.
- Review diffs, merge, and prune
Inspect line-by-line diffs in the right Git panel, stage and commit changes, then remove the temporary Worktree cleanly once merged.
Multi-Backend Sandbox Isolation
When you want to grant an agent broader autonomy to install packages, run integration tests, or execute generated scripts, attach a sandbox backend to its branch workspace:
| Sandbox Backend | Best For | Highlights |
|---|---|---|
| Local Containers (Docker / Podman / Apple Container) | Fast local isolation on your workstation | Mounts the active Worktree directory with native support for Apple Container on macOS, Docker, and Podman. |
| Remote Docker Host | Offloading heavy builds to a beefy Linux server | Operate from your laptop UI while containers run on a remote Docker daemon. |
| OpenSandbox | Standardized team sandbox pools | Connects to open-source OpenSandbox APIs for ephemeral, reproducible agent execution environments. |
| Octopus Cloud Hosts | Always-reachable cloud dev environments | Persistent disks, private port previews, and mobile takeover out of the box. |
Lazy-Loaded Explorer, Native Mermaid & Git Review
The right-hand workspace gives you fast inspection and Git staging while enforcing strict lazy loading:
While the right panel is closed, Octopus scans zero files, registers zero file watchers, and runs zero Git commands—keeping huge monorepos snappy.
Syntax-highlighted code viewing, Markdown rendering, and native Avalonia Mermaid diagrams with zero embedded WebView.
Preview UI screenshots, architecture diagrams, and SVGs directly beside your agent session.
Review modified and untracked files, inspect line diffs, discard hunks, and commit directly from the workbench.
SSH / Mosh / Telnet & Visual Port Forwarding
Octopus reads your existing ~ directly so jump hosts, GPU boxes, and remote dev servers live inside the same workbench:
- Multi-protocol connections: Manage SSH, Mosh (resilient over flaky Wi-Fi/cellular), and Telnet hosts in one list.
- Remote terminals & agents: Open shells and run remote coding agents directly inside project tabs.
- Visual `-L` / `-R` port tunnels: Toggle local (
-L) and remote (-R) port forwards with live status indicators—ideal for internal databases, dashboards, and preview servers.
Host prod-bastion
HostName 203.0.113.10
User deploy
IdentityFile ~/.ssh/id_ed25519
Host dev-gpu-01
HostName 10.10.0.42
User engineer
ProxyJump prod-bastionFrequently Asked Questions
- Do the file explorer and Git panel slow down large monorepos?
- No. The right workspace panel is strictly lazy-loaded: while collapsed, Octopus reads no file tree, registers no file watchers, and spawns zero Git processes.
- What does Merge Working Directories on a project group do?
- When frontend, backend, or shared libraries live in sibling repositories inside one group, enabling Merge Working Directories automatically passes sibling local paths to agents that support extra working directories.