Skip to content

Commit fa2bc52

Browse files
committed
refactor(acp): move discovery into the operator
1 parent 6330d3f commit fa2bc52

26 files changed

Lines changed: 2727 additions & 1943 deletions

OPENCLAW.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This file is the single source of truth for OpenClaw-related behavior in this re
66

77
Spritz supports running OpenClaw as a per-devbox application surface.
88
Each devbox runs its own OpenClaw process and is opened through its own `/w/{name}` route.
9+
When OpenClaw is used as an ACP backend inside Spritz, it should also expose ACP on
10+
the reserved internal port `2529`.
911

1012
## Where OpenClaw Lives in This Repo
1113

@@ -37,6 +39,23 @@ The OpenClaw example entrypoint does the following:
3739

3840
Key implication: direct `/w/{name}` access with `bind=lan` expects real gateway auth.
3941

42+
## ACP Contract In Spritz
43+
44+
Spritz treats ACP as backend-agnostic.
45+
46+
For OpenClaw to appear in the Spritz ACP chat UI, the workspace must answer ACP on:
47+
48+
- port `2529`
49+
- WebSocket path `/`
50+
51+
Spritz will then:
52+
53+
- discover the agent from the operator by sending ACP `initialize`
54+
- surface it in `status.acp`
55+
- proxy browser ACP traffic through `spritz-api`
56+
57+
This ACP path is separate from OpenClaw's dashboard and gateway UI.
58+
4059
## Auth Modes and What to Use
4160

4261
### `token` (default-safe for current direct routing)

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
11
# spritz
2+
3+
Spritz is a Kubernetes-native control plane for ephemeral workspaces.
4+
5+
## What it does
6+
7+
- creates per-user or per-team workspace instances as `Spritz` resources
8+
- exposes web and terminal access through the Spritz API and UI
9+
- reserves ACP on port `2529` for agent-capable backends
10+
- automatically discovers ACP agents and exposes them in the built-in chat UI
11+
12+
## Default runtime model
13+
14+
- one Helm install
15+
- one public host for UI and API
16+
- workspace home starts at `/home/dev`
17+
- ACP is available on internal workspace port `2529`
18+
- browser ACP traffic always flows through `spritz-api`
19+
20+
## Key docs
21+
22+
- `/Users/onur/repos/spritz/docs/2026-02-24-simplest-spritz-deployment-spec.md`
23+
- `/Users/onur/repos/spritz/docs/2026-03-09-acp-port-and-agent-chat-architecture.md`
24+
- `/Users/onur/repos/spritz/OPENCLAW.md`

0 commit comments

Comments
 (0)