# Repository Briefing: Th0rgal/orb
> Source: https://repoforai.com/repo/Th0rgal/orb (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Th0rgal/orb
- **Official Docs / Website**: https://orb.thomas.md
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Lean
- **License**: See repository
- **Engineering Health**: A (76/100 · Maintenance 35/35 · Adoption 15/25 · Releases 20/20 · License 6/20)
- **Latest Release**: android-v1.21.1 (2026-10-29) — https://github.com/Th0rgal/orb/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted, MCP
- **Momentum**: 735 ★ total (+2 24h / +11 7d) · 74 forks
- **Topics**: `ai-agents`, `autonomous-agents`, `claude`, `claude-code`, `coding-assistant`, `containerization`, `developer-tools`, `llm`, `mcp`, `okx`, `opencode`, `orchestration`
- **When to Use**: Best for: Developers or teams juggling several coding harnesses and execution machines who want self-hosted mission history and desktop-to-Android handoff. Skip if: You only need one local harness, require an iOS client, or need an explicitly licensed commercial redistribution path before adoption.

## Overview
```text
### Architecture & Core Mechanics
Orb is the client; Core, formerly sandboxed.sh, is the control plane. The Lean 4 backend under `lean/OrbCore/` and `lean/OrbNode/` owns projects, missions, event history, and remote-node coordination. Desktop combines SolidJS, a native WebKit shell, and the Lean 4 `orb-locald` daemon. Android uses Jetpack Compose. Clients select an execution environment, while cloud adapters can observe provider-managed work independently of the client window.

`lean/Orb/Kernel.lean` and `lean/Orb/Spec.lean` define the decision kernel for orchestration, proxy behavior, mission lifecycle, and cross-client projections. `shared/orb-spec/kernel_abi.json` lists exported functions, and `lean/audit/AuditSpec.lean` audits the proof boundary. These guarantees apply to the decision kernel, not the application as a whole. MCP exposes the same control plane and mission records to external coordinators such as Hermes.

### Key Capabilities & Differentiators
For local and remote work, Orb supports Claude Code, Codex, Antigravity, OpenCode, and Grok, with live model and effort controls where supported. Managed agents use separate integrations: Hermes attaches to durable coordinator conversations and router chains, Grok Bot uses a connected account, and Cursor Cloud takes a repository, Git reference, and model through its official API. Direct provider sign-in and CLIProxyAPI Plus handle inference credentials and routing; a proxy account does not provision a managed cloud-agent account.

Long-running missions can schedule durable wake-ups, resume after restarts, and move workspaces between machines while preserving symlinks and skipping build artifacts. Queued follow-ups can wait for the current turn or send immediately; the `/btw` side agent shares workspace context without interrupting the main turn. On ARM64 Linux/Wayland, the desktop bundle measured 29 MB with about 250 MB cold-launch PSS. A 2,000-event transcript opened in 12 ms cold and 0.2 ms warm using a 198 kB SQLite tail slice. These are desktop measurements, not inference benchmarks.

### Trade-offs & Limitations
Compared with running Claude Code or OpenCode directly, Orb earns its place when users need shared mission history, multiple execution machines, or desktop-to-Android handoff. For a single harness on one workstation, Core and its account configuration may be more work than the handoff is worth. On the measured ARM64 Linux/Wayland setup, Orb used about 630 MB PSS after eight active hours versus about 1.81 GB for Antigravity 2.25. That comparison is specific to the measured environment and does not size Core, agent processes, or inference.

Provider flexibility adds credential and service boundaries: subscription routing does not grant access to managed-agent APIs, and self-hosting does not eliminate external dependencies if the chosen model or agent is hosted. The loopback Compose binding is a sensible local default, but an off-host client needs a separately planned access path. iOS is discontinued. The license is unspecified, so verify commercial-use and redistribution rights rather than inferring them from repository access.

### Hardware & Deployment Guide
Deploy Core with Docker or install it natively on Linux. The Compose `sandboxed-sh` service builds from the repository root, restarts unless stopped, maps `127.0.0.1:3000` to container port `80`, and accepts an optional `.env`. It persists application state in `sandboxed-data` at `/root/.sandboxed-sh` and Claude credentials in `claude-auth` at `/root/.claude`. The private Git SSH mount is optional and read-only. The systemd-nspawn workspace example leaves privileged mode and host cgroups commented out; review the host access implications before enabling them.

Connect Desktop or Android to Core, then configure local harnesses, register remote nodes, or connect cloud-agent accounts. Self-hosting Core does not make OAuth, hosted inference, or managed agents offline; validate the chosen harness and model path if disconnected operation matters. Release `v0.12.0` added first-class Grok Build support with device OAuth and container-aware `--cwd` translation. Android `v1.21.0` addressed SSE lag UX, and `v1.21.1` focused on keeping mobile conversation messages in sync with desktop.
```

## Key Capabilities
```text
- Control plane: Lean 4 Core serves desktop, Android, and MCP coordinators from the same project and mission records.
- Execution: Run agents on the desktop, on registered remote hosts or in configured containers, or through separate managed-agent connections.
- Lifecycle: Durable wake-ups and restart recovery support long-running missions; workspace transfers preserve symlinks and skip build artifacts.
- Desktop runtime: SolidJS and native WebKit pair with Lean 4 orb-locald; a 2,000-event transcript opened from a 198 kB SQLite tail slice.
- Proof boundary: The kernel ABI manifest and audit identify the scope of Lean guarantees; they do not certify the full application.
- Deployment baseline: Docker Compose binds to 127.0.0.1:3000 and uses separate named volumes for application state and Claude authentication.
```

## Quick Start / Clone
```bash
git clone --depth 1 https://github.com/Th0rgal/orb.git
cd orb
```
