Agent BayAgent Bay
Agent Bay
HazelJS

Built on HazelJS Agent OS

Agent Bay is the desktop execution surface. HazelJS is the TypeScript Agent OS that already solved durable agents, HITL, and deny-by-default authorization. The terminal did not reinvent that kernel.

Shipped in HazelJS

  • AgentOS

    deploy / start / pause / occupancy control plane

  • Gatekeeper

    deny-by-default, YAML policy, approvals, audit, MCP protectors

  • HITL + DNA

    durable runs and versioned agent packages

  • Occupancy

    idle | working | waiting | approval_required | …

Added by the terminal

  • Rust PTY core

    tabs, splits, OSC, scrollback restore, Cmd+Shift+F, pane titles

  • Missions

    local planner, DAG, git worktrees, native diff review

  • Universal adapters

    Codex, Claude Code, Gemini, OpenCode, generic CLI

  • Inspect + memory

    live git/docker/kubectl/SSH/OTEL, History time-travel, SQLite graph

Same kernel, separate failure domains

ADR-003: spawn a local Node sidecar that constructs new AgentOS({ authorizationGate }). Desktop talks over versioned IPC. External CLIs (Codex, Claude Code, …) never go through Agent OS — they use other adapters under the same Mission Control and Gatekeeper.

Sidecar crash: terminals keep running; Mission Control shows runtime unavailable.