# 23step Open vs. Self-Hosting: When to Use Each—and Why

> You should not need Docker, Postgres, and an OAuth app just to inspect a coding agent on your own laptop—and you should not share localhost ports over Slack when a team needs VPC-hosted replay. Here is how 23step Open (Apache-2.0) and 23step Self-Hosted (AGPLv3) split the job, plus when 23step Cloud makes more sense.

- **Published:** 2026-12-02
- **Category:** Agent Ops & Cost
- **Author:** 23step Engineering (Architecture & Open Source)
- **Reading time:** 8 min
- **Featured 23step offering:** 23step Open & Self-Hosted
- **Canonical URL:** https://23step.com/blog/23step-open-vs-self-hosting-when-to-use-each-and-why/

## Key takeaways

- **23step Open** (`23step serve`, Apache-2.0) is a single ~15 MB static Go binary on `127.0.0.1:8787` backed by embedded SQLite and local PNGs—built for solo developers, air-gapped laptops, and direct Vertex AI / OpenTelemetry SDK debugging with zero Docker, database, or account.
- **23step Self-Hosted** (`23Step/23step-server`, AGPLv3) is a Dockerized multi-user server for your own host, VPN, or private VPC—adding Local, Generic OIDC, Google/Entra, and Trusted Auth Proxy sign-in, optional Postgres 16 with forced Row-Level Security, OAuth 2.1 MCP, in-process **Catch (BYOK)** code reviews, and firewall-friendly **Cloud Badge Relay** PR badges.
- Both editions use the **exact same signed 23step CLI, coding-agent hooks, and Electron Overlay HUD**—moving from local to self-hosted (or to **23step Cloud**) is a two-command endpoint change, never a workflow rewrite.
- Pick **23step Open** when one laptop is the boundary, **23step Self-Hosted** when a team shares runs inside a private network boundary, and **23step Cloud** when you want zero server ops plus Shared Team Brain RAG, all Session Marketplace AI plugins, and Enterprise compliance.

## Why 23step ships two separate open-source editions

Most developer tools treat *open source* and *self-hosting* as synonyms. Want to inspect your coding agent locally without creating a cloud account? Great—please install Docker, copy a 90-line `.env` file, boot Postgres and Redis, register an OAuth client, and keep four containers alive on your laptop. That friction kills local adoption before a single session gets recorded.

Flip the problem around and a purely single-user local binary hits an equally hard wall. The moment a second engineer wants to open a replay link from a pull request, inspect a browser capture from a CI runner, or gate workspace access behind Keycloak or Okta, a keyless `127.0.0.1` process is the wrong tool for the job.

Instead of forcing one compromise onto both jobs, 23step splits its open-source surface cleanly along the **trust and network boundary**:

- **Single-workstation boundary — [23step Open](https://open.23step.com) (Apache-2.0):** One ~15 MB native binary (`23step serve` from [23Step/23step](https://github.com/23Step/23step)) bound strictly to `127.0.0.1:8787`, with zero cloud traffic, zero Docker daemon, and zero login.
- **Private team / VPC boundary — [23step Self-Hosted](https://github.com/23Step/23step-server) (AGPLv3):** A multi-user Docker team server (`23Step/23step-server`) with 1-container SQLite or Postgres 16 forced RLS, pluggable SSO/OIDC/Auth Proxy sign-in, OAuth 2.1 MCP, in-process **Catch (BYOK)** pre-merge reviews, and optional free **Cloud Badge Relay**.
- **Zero-ops managed platform — [23step Cloud](/compare/#cloud-vs-open):** Hosted multi-tenant workspaces at `23step.com` with Shared Team Brain hybrid RAG, the full Session Marketplace AI review suite, team FinOps analytics, and Enterprise **Attest** compliance—without managing TLS, backups, or upgrades.

> **Architecture principle — One workstation client, three deployment targets:** Every tier runs on the exact same open-source `23step` CLI, embedded coding-agent hooks, and hardened Electron Overlay HUD. Whether you point the CLI at `http://127.0.0.1:8787`, `https://23step.internal.corp`, or `https://api.23step.com`, your capture workflow never changes.

## 23step Open (Apache-2.0): when your laptop is the right boundary

**23step Open** is not a stripped-down demo. It is the complete single-player local observability stack compiled into one ~15 MB static Go binary—installable via Homebrew (`brew install 23step/tap/23step`), PyPI (`pip install 23step` or `uvx 23step serve --open`), signed APT/RPM repositories, or reproducible source builds.

When you run `23step serve --open`, it creates an embedded SQLite WAL database (`~/.local/share/23step/local/index.db`) and local PNG storage with locked-down `0700`/`0600` permissions, then binds strictly to loopback `127.0.0.1:8787`. Non-loopback binds are refused unless you explicitly enable authentication. Nothing leaves your laptop, and no account is ever requested.

Out of the box, 23step Open gives you the full visual replay timeline for Claude Code, Cursor, OpenAI Codex, Gemini CLI, Antigravity, Cline, and Grok Bot, plus direct OTLP `/v1/traces` and `/v1/logs` ingest for Vertex AI (`google-genai`), OpenLLMetry, OpenInference, and Vercel AI SDK agents. You also get headless Chrome, Playwright, Puppeteer, and Linux desktop click captures with DOM highlights, the floating **23step Overlay** HUD over local SSE, interactive visual pins, cross-harness local semantic search, a **keyless local Streamable HTTP MCP server** (`127.0.0.1:8787/mcp` exposing 7 tools), offline secret/PII redaction preview (`23step redact`), `.23stepignore` / `23step pause`, and automatic `--retain` / `--max-disk` cleanup.

- **Choose 23step Open if you work solo on one machine:** You get live HUD supervision, visual browser replay, and cross-agent MCP handoffs (including cropped visual pin context) in ten seconds with zero containers to babysit.
- **Choose 23step Open on air-gapped or locked-down workstations:** If security policy prohibits sending agent traces even to an internal VPC host, loopback-only SQLite + PNG storage verified offline via `23step doctor --offline` keeps every byte on local disk.
- **Choose 23step Open for direct SDK and OTLP debugging:** Pointing a local Vertex AI, OpenLLMetry, or Vercel AI SDK script at `http://127.0.0.1:8787/v1/traces` gives you an instant visual timeline next to your terminal without provisioning infrastructure.
- **Choose 23step Open to audit before team rollout:** Security and platform teams can inspect every workstation byte in [23Step/23step](https://github.com/23Step/23step), verify Apple Developer ID notarization and GPG/Ed25519 signatures, and test redaction offline before deploying a server.

**23step Open — 10-second local setup** (127.0.0.1:8787 · Apache-2.0)

```text
# 1. Install the signed static binary
brew install 23step/tap/23step

# 2. Start the local SQLite replay + MCP server and open the UI
23step serve --open --retain 14d --max-disk 2GB

# 3. Wire local coding-agent hooks & keyless local MCP across harnesses
23step hooks install --global --local-server \
  claude cursor codex gemini antigravity
23step mcp install --global --local all
```

## 23step Self-Hosted (AGPLv3): when a team needs its own VPC server

`23step serve` intentionally stops at a single workstation. Once multiple engineers—or a mix of laptops, remote devboxes, and CI runners—need one durable, authenticated URL inside your private network, **23step Self-Hosted** ([23Step/23step-server](https://github.com/23Step/23step-server), published as multi-arch `ghcr.io/23step/23step-server:latest`) is built specifically for that job.

We designed the self-hosted server so you do not have to choose between an easy quickstart and real production hardening. By default, a single Docker container starts with **zero required environment variables**, embedded SQLite, auto-persisted secrets in `/data/.secrets.json`, and a one-time first-run **Create admin account** setup flow. When you scale to a team or HA deployment, layer `docker-compose.postgres.yml` on top to run **Postgres 16 with forced Row-Level Security**, separate least-privilege `step23_migrator` and `step23_runtime` (`NOSUPERUSER NOBYPASSRLS`) roles, and a dedicated `/migrate` init container.

Self-hosting also solves three hard realities that break most open-source team tools in corporate environments:

- **Four pluggable auth modes (no SaaS login required):** Combine **Local email + password** (salted PBKDF2-HMAC-SHA256 with a one-time first-run admin setup), **Generic OIDC** (discovery, PKCE, and RS256/ES256 JWKS verification for Keycloak, Authentik, Okta OIDC, PocketID, Dex, or Authelia), **Trusted Auth Proxy** (fail-closed header auth requiring an explicit trusted-proxy CIDR allowlist for Tailscale Serve, Cloudflare Access, Pomerium, or `oauth2-proxy`), or **Google Workspace / Microsoft Entra ID**.
- **In-process Catch (BYOK) pre-merge code reviews:** Automated [Catch](/marketplace/catch/) PR reviews run directly inside the server process—no Temporal cluster and no Cloud credit limits. Supply your own `GEMINI_API_KEY`, `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, or point the OpenAI-compatible provider URL at on-prem Ollama, vLLM, or LiteLLM.
- **Firewall-friendly PR badges via Free Cloud Badge Relay:** GitHub (Camo) and GitLab fetch PR SVG badges through public image proxies that cannot reach `https://23step.internal.corp`. Instead of poking inbound firewall holes, mint a free `sr_...` relay key on a Free Cloud account at [app.23step.com/app/account#badge-relay](https://app.23step.com/app/account#badge-relay) and add the relay URL and key to `.env` (see `.env.example` in [23Step/23step-server](https://github.com/23Step/23step-server)). Your self-hosted server pushes only zero-PII Catch verdict/score metadata (`Safe to merge · 94`) over outbound HTTPS—no code, prompts, or visual captures ever leave your VPC—while clicking the badge issues a `302` redirect straight to your internal VPN URL.
- **Multi-machine replay & OAuth 2.1 MCP:** Share private, org, or public links across laptops, Linux build VMs, and CI pipelines, and serve authenticated OAuth 2.1 + API-key MCP endpoints from your own domain.

**23step Self-Hosted — SQLite or Postgres 16 RLS** (Multi-arch GHCR · AGPLv3)

```text
# Option A: Zero-config single container (embedded SQLite + first-run admin)
docker run -d --name 23step \
  -p 8080:8080 \
  -v step23_data:/data \
  ghcr.io/23step/23step-server:latest

# Option B: Team deployment with Postgres 16 + forced Row-Level Security
cp .env.example .env   # set OIDC / Auth Proxy, BYOK key & optional sr_ relay
docker compose -f docker-compose.yml -f docker-compose.postgres.yml up -d

# Point any developer laptop at your internal server
23step login --api https://23step.internal.corp
23step hooks install --global --api https://23step.internal.corp \
  claude cursor codex gemini antigravity
```

## Side-by-side: 23step Open vs. 23step Self-Hosted vs. 23step Cloud

Putting all three editions in one table makes the boundary obvious. Notice how much of the core recording, visual replay, redaction, and overlay stack is identical—and exactly where infrastructure, collaboration, and AI plugin automation diverge:

### Choosing between 23step Open, 23step Self-Hosted, and 23step Cloud

| Dimension | 23step Open (Local) | 23step Self-Hosted (Docker) | 23step Cloud (Managed) |
| --- | --- | --- | --- |
| License & cost | Apache-2.0 · Free forever | AGPL-3.0 · Free forever (Enterprise add-on optional) | Free ($0) · Pro ($20) · Team ($80 / 8 seats) · Enterprise |
| Runtime & storage | ~15 MB Go binary · SQLite WAL + local PNGs | Docker · 1-container SQLite or Postgres 16 forced RLS | Managed cloud · Postgres RLS + encrypted GCS |
| Data boundary | 100% local on `127.0.0.1:8787` | 100% inside your Docker host, VPN, or private VPC | Managed multi-tenant cloud (dedicated Enterprise option) |
| Users & auth | Single-user keyless loopback | Multi-user · Local, Generic OIDC (PKCE), Google/Entra, Auth Proxy | Orgs, teams & squads · Google & Entra SSO, RBAC |
| Sharing & CI runners | Local URL + Markdown / JSON export | Private / org / public links on your own domain | Private / squad / team / org / public across laptops, CI & Cloud Agents |
| MCP server | Keyless local HTTP (`127.0.0.1:8787/mcp`, 7 tools) | Self-hosted OAuth 2.1 MCP + scoped API keys | Hosted OAuth 2.1 MCP + Plugin MCP + org read audit log |
| Automated AI review | None (replay, search & MCP only) | In-process **Catch (BYOK)**: Gemini, OpenAI, Anthropic, Ollama/vLLM | Full Session Marketplace AI suite via shared monthly credits |
| PR badges | None | Built-in **CodeStamp** + optional free **Cloud Badge Relay** | Free **CodeStamp** across every Git host |
| Memory, FinOps & compliance | Local cross-harness semantic search & per-run usage | Per-run & org usage stats (Enterprise for Attest / SAML) | **Shared Team Brain** RAG, team FinOps CSV, Aegis & Enterprise Attest |

For the complete interactive feature matrix—including how 23step compares against standalone transcript tools, diff-only PR review bots, and worktree wrappers—see [Compare 23step editions](/compare/#cloud-vs-open).

## Why Apache-2.0 for Open, AGPLv3 for Self-Hosted—and the honest trade-offs

Engineers evaluate open-source infrastructure with healthy skepticism, so we want the licensing and operational trade-offs to be crystal clear.

**Why Apache-2.0 for 23step Open and the workstation client:** Everything that executes on a developer's laptop in [23Step/23step](https://github.com/23Step/23step)—the `23step` CLI, `23step serve`, coding-agent hooks, hardened Electron Overlay, and public Go packages under `cli/pkg/`—uses permissive Apache-2.0. Security teams can inspect every line, rebuild reproducibly from source, and deploy internally without copyleft review hurdles. (Our pure-MCP IDE extensions in [23Step/23step-plugins](https://github.com/23Step/23step-plugins) are MIT.)

**Why AGPLv3 for 23step Self-Hosted:** Running [23Step/23step-server](https://github.com/23Step/23step-server) internally for your own company or homelab is 100% free with zero seat caps or artificial limits. AGPLv3 exists solely to prevent third-party cloud providers from wrapping the server into a closed hosted competitor without contributing improvements back. The public export pipeline (`export-oss-server.sh`) enforces a fail-closed Go dependency allowlist so proprietary commercial modules never bleed into the AGPLv3 build.

Just as important are the **day-two operational trade-offs** of each option:

- **Where 23step Open stops:** Zero maintenance is its superpower, but state lives on one disk. You cannot drop a clickable live replay URL into a teammate's pull request, centralize CI browser captures, or auto-score PRs with Catch.
- **Where 23step Self-Hosted demands ownership:** You gain full VPC residency, OIDC/Tailscale auth, and BYOK Catch with zero seat fees—but *your team* owns TLS certificates, reverse proxying, Postgres/volume backups, image updates, and direct LLM provider billing. The AGPLv3 server also intentionally includes **Catch** as its built-in AI reviewer rather than bundling the commercial Marketplace suite.
- **Where 23step Cloud earns its keep:** If your real bottleneck is engineering velocity rather than VPC compliance, **23step Cloud** eliminates server administration completely and unlocks **Shared Team Brain** hybrid RAG, the full Session Marketplace AI suite ([Catch](/marketplace/catch/), [DebtRadar](/marketplace/debtradar/), [SchemaWatch](/marketplace/schemawatch/), [Stride](/marketplace/stride/), [TestForge](/marketplace/testforge/), [Aegis](/marketplace/aegis/), [Polygraph](/marketplace/polygraph/), [ShipLog](/marketplace/shiplog/), [GuideCraft](/marketplace/guidecraft/), [Lore](/marketplace/lore/), [TechRadar](/marketplace/techradar/), and [Skilled](/marketplace/skilled/)), pooled FinOps analytics, and Enterprise **Attest**—starting at $0/mo Free, $20/mo Pro, or $80/mo Team pooled across up to 8 seats.

> **Decision rule — Self-host for a concrete boundary, not out of habit:** If you have a hard VPC residency policy, internal OIDC/Auth Proxy infrastructure, or on-prem Ollama models for BYOK Catch, **23step Self-Hosted** pays off on day one. If you just want private local replay on one laptop, **23step Open** is faster and simpler. If you want automated pre-merge security, contract, E2E test, and wiki plugins across a team without running Postgres and backups, **23step Cloud** costs less than two hours of platform-engineering time a month.

## A 60-second decision guide—and zero-lock-in switching between tiers

Still deciding where to start today? Match your primary constraint to the tier built for it:

- **"I'm coding solo and want visual replay, the live Overlay HUD, and local MCP handoffs right now."** → Start with **[23step Open](https://open.23step.com)** (`brew install 23step/tap/23step && 23step serve --open`).
- **"My laptop is air-gapped or handles sensitive work where zero outbound network traffic is permitted."** → Run **23step Open** strictly on `127.0.0.1:8787` and audit your local setup with `23step doctor --offline`.
- **"My team works inside a private VPC or Tailnet, needs shared replay links and OIDC/Proxy auth, and wants BYOK Catch PR badges without exposing our server to the internet."** → Deploy **[23step Self-Hosted](https://open.23step.com/#self-host)** (`ghcr.io/23step/23step-server:latest`) with Postgres 16 forced RLS and optional Free Cloud Badge Relay.
- **"My team wants hosted shareable links, Shared Team Brain, and all automated AI review, security, E2E test, and docs plugins with zero infrastructure to maintain."** → Start free on **[23step Cloud](/pricing/)** (300 runs/mo, 20 shared AI credits, and 5 free auto-Catch PRs; scale to Pro, Team, or Enterprise anytime).

**Switch tiers anytime (same CLI, same hooks)** (Open -> Self-Hosted -> Cloud)

```text
# Started on 23step Open (http://127.0.0.1:8787)?
# Move to your team's Self-Hosted Docker server anytime:
23step login --api https://23step.internal.corp
23step hooks install --global --api https://23step.internal.corp \
  claude cursor codex gemini antigravity

# Or move to managed 23step Cloud (https://api.23step.com):
23step login
23step hooks install --global \
  claude cursor codex gemini antigravity
```

Because every edition speaks the same OpenTelemetry, capture, and MCP protocol, starting with **23step Open** on your laptop today never boxes you in tomorrow. Inspect the client and server security guarantees on [Security & Trust](/security/#client-security), check the [CLI & hooks reference](/docs/), or walk through [Getting started](/getting-started/) to wire your coding agents in under two minutes.

## Frequently asked questions

### What is the main difference between 23step Open and 23step Self-Hosted?

23step Open (Apache-2.0, open.23step.com) is a single ~15 MB local Go binary (23step serve) bound to 127.0.0.1:8787 with embedded SQLite, local PNGs, and a keyless local MCP server—designed for one developer on one machine with zero Docker or account. 23step Self-Hosted (AGPLv3, github.com/23Step/23step-server) is a multi-user Docker server for your own host, VPN, or private VPC with Local, Generic OIDC, Google/Entra, and Trusted Auth Proxy sign-in, optional Postgres 16 with forced Row-Level Security, OAuth 2.1 MCP, in-process Catch (BYOK) code reviews, and firewall-friendly Cloud Badge Relay PR badges.

### Can I run automated Catch AI code reviews when self-hosting without Cloud credits?

Yes. 23step Self-Hosted runs Catch directly in-process with zero Temporal cluster and zero Cloud credit limits. Set GEMINI_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY, or point the OpenAI-compatible provider base URL at a local Ollama, vLLM, or LiteLLM endpoint in your .env file.

### How do GitHub or GitLab PR badges work if my self-hosted server is behind a firewall?

Enable the optional Free Cloud Badge Relay by minting an sr_ key on a Free 23step Cloud account pinned to your internal URL and configuring the relay URL and key in your .env file. Your self-hosted server pushes only zero-PII Catch verdict and score metadata over outbound HTTPS—no code, prompts, or visual captures leave your VPC—and 23step Cloud renders the canonical SVG badge and 302-redirects clicks straight to your internal VPN URL.

### Can I start with 23step Open locally and switch to Self-Hosted or 23step Cloud later?

Yes. All three editions share the exact same signed 23step CLI, coding-agent hooks, and Electron Overlay HUD. Switching from 23step Open to a Self-Hosted Docker server or 23step Cloud only requires running 23step login (with --api <your-url> for self-hosted) and updating your hooks endpoint—no prompt or workflow changes needed.

## Try 23step Open & Self-Hosted on 23step

**Start locally in 10 seconds, self-host in Docker, or scale on 23step Cloud.**

Use the exact same signed 23step CLI, coding-agent hooks, and floating Overlay HUD across 23step Open (Apache-2.0 on 127.0.0.1), 23step Self-Hosted (AGPLv3 Docker with OIDC, Postgres 16 RLS, BYOK Catch & free Cloud Badge Relay), and 23step Cloud.

- 23step Open: single ~15 MB binary (23step serve --open) with SQLite, visual replay & keyless local MCP
- 23step Self-Hosted: 1-container SQLite or Postgres 16 RLS, Local/OIDC/Auth Proxy & in-process BYOK Catch
- 23step Cloud: hosted team workspaces, Shared Team Brain RAG, all Marketplace AI plugins & Enterprise Attest

*23step Open (Apache-2.0) and 23step Self-Hosted (AGPLv3) are free forever. 23step Cloud starts free ($0/mo) with Pro ($20/mo), Team ($80/mo for 8 seats), and Enterprise options.*

- [Explore 23step Open & Docker](https://open.23step.com)
- [Compare all 3 editions](https://23step.com/compare/#cloud-vs-open)
