01Overview
SECTION 01INTRODUCTION

Overview

What Orbit is, core architectural boundaries, and its runtime model.

What is Orbit?

Orbit is a local-first desktop application designed as a persistent, visual control surface for AI-assisted software development. While standard AI developer tooling typically forces users to choose between unconstrained CLI terminals or cloud-hosted web wrappers that disconnect from local files, Orbit operates directly on your local filesystem while providing rich graphical oversight.

Orbit begins with deep integration for Google Antigravity (agy), Google's agentic coding system. Orbit wraps Antigravity's CLI capabilities inside a structured desktop interface that captures turn history, indexes generated project artifacts, and manages interactive human-in-the-loop approvals.

The Runtime Model

Orbit runs as an Electron application with strict process boundary isolation. The frontend renderer is decoupled from system execution, communicating via a typed IPC preload bridge with the Electron main process.

// Orbit Process Hierarchy
[React 19 Renderer] (UI state, virtualized turn lists, artifact inspectors)
│ ▲
▼ │ Typed IPC Bridge (preload.ts with contextIsolation)
[Electron Main Process]
├── OrbitRuntime (Orchestrator, SQLite state machine)
└── AntigravityProvider (Child process lifecycle supervisor)
↳ agy CLI (stream-json or interactive PTY)

All project databases, conversation indexes, and configuration files are persisted locally on the host machine using SQLite. Orbit never syncs your repository code or sensitive tokens to an intermediary cloud server.

Core Design Principles

PrincipleRaw CLI BehaviorOrbit Desktop Implementation
Session ContinuityLost when terminal window or SSH session closesPersisted turn history linked to local directory and provider ID
AuthenticationRelies on user shell credentialsInherits authenticated shell; zero credential copying
PermissionsTerminal prompts intermixed with stdout scrollbackNative modal dialogs with tool arguments and exact file diffs
ArtifactsFile paths printed as terminal textVisual asset catalog with live sandboxed previews (SVG, HTML, images)
CancellationCtrl+C can orphan subprocesses or corrupt stateCoordinated SIGINT/SIGTERM tree termination with state preservation