AIDotNet/Octopus
NativeAOT terminal workbench for managing coding agents, worktrees, and remote sessions
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Octopus is a C# desktop workbench on .NET 11 and Avalonia 12, shipped as NativeAOT binaries rather than a browser-based shell. Octopus.Core and Octopus.Storage separate domain state from local JSON persistence; platform modules handle shell discovery, environment setup, and keychain access. Agent sessions run either in a MiniPty-backed native terminal or through Octopus.Acp, a JSON-RPC client runtime that handles agent dialects and adapters. The bundled octopus-signal helper forwards hook events over local IPC so the UI can track background activity between turns.
For remote sessions, devices keep their ECDSA P-256 identity keys locally. Ephemeral ECDH P-256 and HKDF-SHA256 derive session keys, and AES-256-GCM protects frames in transit; a relay forwards ciphertext without decrypting it. Extensions take a separate path: directory-packaged JavaScript plugins run in Jaunt with explicit grants such as scoped file reads, allowlisted network hosts, and keychain access. Those plugin grants do not define the permissions of the agent CLI processes themselves.
Key Capabilities & Differentiators
The agent catalog contains 61 built-in definitions: 28 native ACP, 21 adapter-backed ACP, and 12 terminal-only. Gemini CLI and OpenCode are native ACP examples; Claude Code and Codex CLI use adapters. The ACP view exposes tool calls, inline diffs, permission prompts, and queued follow-ups, with a handoff to the terminal. Multiple accounts can run concurrently through isolated configuration directories or keychain credential snapshots, and project defaults let users choose the account before launch.
Projects retain split layouts and background sessions, while Git worktrees let agents edit different branches in separate working directories. The file pane loads on demand and includes code, diff, and Markdown views with native Mermaid rendering. SSH projects add a remote file tree, cross-machine copies, and controls and logs for local and remote port forwarding. The Android companion can access remote terminal and ACP sessions and inspect files and Git diffs. Usage tracking retains 92 days of local token and cost history and exports CSV breakdowns or printable HTML receipts.
Trade-offs & Limitations
Compared with a standalone terminal plus agent CLIs, Octopus removes much of the manual coordination around project state, accounts, and worktrees. The cost is a larger compatibility surface: an ACP adapter sits between some agents and the UI, and 12 built-in integrations remain terminal-only. Compared with an editor-integrated assistant, Octopus is better suited to supervising sessions across projects than to replacing a full editor and debugger. NativeAOT removes the browser runtime from the desktop shell, but host resource usage still depends on running agents, scrollback settings, concurrency, and any local inference backend.
Self-hosting gives operators control of the relay endpoint, not control of every data path. Session-frame encryption does not govern what a CLI sends to its provider, and the Jaunt sandbox applies to plugins, not arbitrary shell commands. Ordinary worktrees separate branch checkouts but are not security boundaries. MIT licensing is permissive for the workbench; subscriptions, provider terms, and agent installation remain separate adoption decisions.
Hardware & Deployment Guide
Use the published NativeAOT installers for macOS 13+ on Apple Silicon or Intel, Windows 10/11 x64, or Linux x64. Windows uses ConPTY without requiring WSL. The companion APK targets Android 7.0+; iOS 15+ source is present but there is no App Store release. For a source build, use the SDK pinned in global.json, run the desktop entry point with dotnet run --project src/Octopus.App, and test with dotnet test Octopus.slnx. Building the mobile targets requires the relevant .NET workload.
Local desktop use and LAN pairing require no account. For cross-network access you can sign in to the official relay or deploy Octopus Server and configure its URL at sign-in; exact server sizing and dependencies are not established here. Desktop state and crash logs live under the home directory’s .octopus folder, with logs in logs/. Release v1.0.3018 fixed a macOS 13 startup crash and expanded remote ACP controls, v1.0.3019 fixed a cancel-to-follow-up race, and v1.0.3020 fixed dock-tab property preservation in NativeAOT builds.
Developers who run several coding agents across projects, need separate accounts and Git worktrees, and want to resume sessions from another device without relying on the official relay.
One terminal or editor already covers your workflow, you need a full IDE, or you expect the workbench to provide model inference or sandbox agent shell commands.
Quick Start & Installation
# Run the desktop application dotnet run --project src/Octopus.App # Run the mobile companion desktop preview shell dotnet run --project src/Octopus.Mobile.Desktop # Build and run all tests dotnet build Octopus.slnx dotnet test Octopus.slnx
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Octopus ★ | 169 | +80 | C# | MIT | NativeAOT terminal workbench for managing coding agents, worktrees, and remote s |
| cc-switch | 159.1k | +1.7k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| herdr | 54.1k | +871 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| claude-code-router | 38.5k | +101 | TypeScript | MIT | Local model gateway for routing coding agents across providers |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/AIDotNet/Octopus.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Octopus
How do Claude Code and Codex CLI connect, and is ACP the same as MCP?
How should I size a machine for several concurrent agents?
Can our company redistribute Octopus or run the relay under our own control?
When is Octopus worth adopting over a terminal or an editor-integrated agent?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy