# Repository Briefing: miuuyy/Octopus-SI-OS
> Source: https://repoforai.com/repo/miuuyy/Octopus-SI-OS (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/miuuyy/Octopus-SI-OS
- **Official Docs / Website**: https://octopus-os.si
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Rust
- **License**: MIT
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI, MCP
- **Momentum**: 962 ★ total (+5 24h / +41 7d) · 110 forks
- **Topics**: `agent-framework`, `agentic-os`, `ai-agents`, `chatgpt`, `codex`, `computer-use`, `llm`, `macos`, `mcp`, `operating-system`, `research-preview`, `rust`
- **When to Use**: Best for: Research teams piloting long-running agents that must wait for events, resume across sessions, and keep tool permissions and boundary crossings reviewable. Skip if: You mainly need a coding assistant, require a verified end-to-end offline stack, or depend on stable storage formats and predictable unattended model behavior.

## Overview
```text
### Architecture & Core Mechanics
Octopus puts execution authority in a Rust kernel rather than in the model loop. Typed registry interfaces define where artifacts cross between the system and the outside world. Runs are durable records, not resident processes: an incoming artifact can wake a parked run, at which point the kernel recomputes the effective grant from the worker ceiling, the execution-environment chain, and the run bindings. The append-only movement ledger records both admitted and refused crossings. Its indexes and projections are rebuildable, and proof marks are written only after a verifier passes.

The Rust workspace spans `crates/*` and registry packages for interfaces and worker-environment kinds. Its declared dependencies include Tokio with process, I/O, and filesystem support, Serde and `serde_json` for serialization, and Schemars for JSON schemas. Registry folders supply descriptors and, when needed, scripts or executables, so provider, sensor, and tool integrations do not require kernel changes. Execution environments scope policy; worker environments are where tools actually run.

### Key Capabilities & Differentiators
Home supports text and voice, Projects scope goals, context, and permissions, and Tasks can be parked and resumed. The terminal client shares Home, Projects, and Agents with the macOS client. Applications connect MCP servers, chat channels, and model providers; drivers put tools in folders, Git worktrees, browsers, desktops, containers, or remote machines. Under policy, changes to goals, triggers, tools, and worker arrangements can persist into later runs. This is a change to the execution environment, not a model-weight update.

Home defaults to Gemini 4 Neon via Antigravity. Codex supports initial sign-in, live voice, and dictation, while additional integrations include Claude Code, Gemini, Vertex, and API-key or OpenAI-compatible endpoints. These integrations make the runtime provider-agnostic at the interface level, but they do not establish behavioral parity across models or feature parity across providers.

### Trade-offs & Limitations
Compared with Codex CLI alone, Octopus adds durable goals, event-driven resumption, scoped permissions, and a record of boundary crossings. Those mechanisms matter when work spans hours or days and must survive interruptions or wait on external events. They add configuration for ordinary coding without a demonstrated benchmark advantage. In the preview experiments, sustained unsupervised initiative appeared primarily in Gemini 4 models, especially Gemini 4 Neon; ChatGPT and Claude tended to wait for human direction. Treat this as an observation from the tested setups, not a guarantee about any model family.

Grants constrain declared crossings, while deny-by-default sandboxing applies to tools in enforced mode. Full-access rooms and explicitly unsandboxed processes lack that isolation, so a ledger entry is not proof that a process was contained. Start with narrow grants and review provider data flows. Persisted formats can change between preview builds, which matters if downstream tooling depends on long-lived records.

### Hardware & Deployment Guide
The macOS source-build path requires macOS 14+, Swift 6.2+ through Xcode 26 or its Command Line Tools, Node 24, and stable Rust meeting the workspace's declared Rust 1.96 requirement. Install the app dependencies with `npm ci --prefix app`. The helper `node app/native/runtime.cjs headers` fetches and verifies the pinned Electron Node headers; pass the returned path as `OCTOPUS_NATIVE_NODE_HEADERS` to `npm --prefix app run package:mac`. Packaging produces `app/build/Octopus.app` and bundles the managed Codex distribution. The app is ad-hoc signed, not notarized, so Gatekeeper may warn.

The Rust runtime can run without the desktop client. The default desktop path uses a ChatGPT account and needs Antigravity if Home keeps its default model; the read-only Test profile allows account-free exploration. State defaults to `~/.octopus`, but provider calls and connected services can send data off-machine. No release is listed in the supplied snapshot, so plan for a source build rather than relying on a published Apple Silicon disk image. Use the staged update path rather than rebuilding a live app bundle in place.
```

## Key Capabilities
```text
- Run lifecycle: Durable run records park and wake on incoming artifacts rather than depending on a live model session.
- Authorization: At each arrival, the kernel intersects the worker ceiling, execution-environment chain, and run bindings; nested environments can only narrow authority.
- Audit trail: The append-only movement ledger records refusals as well as accepted crossings; indexes and views can be rebuilt from it.
- Extension contracts: Registry folders define typed interfaces, `tool.json` exposes room executables, and verifier checks gate proof marks.
- Shared workspace: The macOS client and CLI share Home, Projects, and Agents, with MCP servers available as external integrations.
- Isolation boundary: Enforced-mode tools use deny-by-default sandboxing; full-access rooms and explicitly unsandboxed processes do not.
```

## Quick Start / Clone
```bash
git clone https://github.com/miuuyy/Octopus-SI-OS.git
cd Octopus-SI-OS
npm ci --prefix app
```
