The full documentation map for Gooselake: setup, mental model, runtime services, client APIs, operations, deployment, and reference material.

Gooselake is a machine-side runtime for durable agent work. Think of it as an air traffic control tower for coding agents: clients ask for flights, providers fly the planes, and the runtime keeps the flight plan, radio log, runway state, crash reports, and replayable black-box recorder.

The important shift is that the UI is not the runtime. A desktop app, web console, local script, or future CLI can disappear without losing the truth of the work. The runtime owns provider sessions, turn execution, event history, process execution, worktrees, team communication, diagnostics, and recovery.

What to read first

If you are new, read in this order:

  1. Setup — run the server and make the first authenticated request.
  2. Core concepts — learn the vocabulary: sessions, turns, events, providers, teams, processes, and worktrees.
  3. Runtime lifecycle — follow one turn through the system.
  4. Events and recovery — understand replay, cursors, and startup reconciliation.
  5. CLI and command runner — learn what the current command-line surface actually is.

Reading paths

New operator

Start with Setup, then Install guide, Configuration reference, Operations runbook, and Troubleshooting.

You are trying to answer: is the runtime healthy, authenticated, provider-ready, and recoverable after a restart?

Frontend, API, or CLI builder

Start with Usage model, Client design guide, API guide, Endpoint catalog, and Events and recovery.

You are trying to build a thin client. The runtime should hold the hard state; your client should render it.

Runtime contributor

Start with Architecture, Repo guide, Provider guide, MCP and sidecars, and API doc sync workflow.

You are trying to change implementation without breaking the runtime contract.

The docs map

Start Here

Mental Model

Runtime Services

  • Provider guide: Codex, Claude, and ACP behind the shared provider contract.
  • Teams and comms: durable team messages, deliveries, retries, and spawn.
  • Processes: runtime-managed host commands and logs.
  • Worktrees: managed Git workspaces, claims, and cleanup.
  • MCP and sidecars: Claude bridge and the bundled MCP sidecar.

Client Builders

Operators

Reference

What the runtime owns

Gooselake owns these responsibilities because clients are poor places to keep them:

  • provider-backed sessions and opaque provider references
  • one-active-turn session coordination
  • durable turns, approvals, and terminal states
  • replayable session/team/process/global events
  • a durable source generation epoch and transactionally coherent bootstrap high watermark for rebuildable clients
  • provider auth staging and provider readiness checks
  • process execution and bounded log capture
  • team messages, deliveries, retries, cancellation, and spawn operations
  • managed worktree creation, claims, release, and cleanup
  • diagnostics and startup recovery summaries
  • MCP gateway calls that are tied back to an active runtime session

What it does not try to be

Gooselake is not a multi-tenant SaaS backend, a hosted OAuth broker, or a universal model abstraction layer. It is intentionally a host-owned runtime for powerful machine work. SQLite, local provider credentials, process execution, and real filesystem access are features of that stance, not accidents.