ZerkerRooms

Zerker/Agent Rooms

Work that survives the session

Give people and agents a place to finish the job.

A Room turns agent access into persistent work. Members share a goal, join with governed context, exchange addressed messages through Gateway, and return to the transcript and outcome after a process restart.

The room path

One workspace. Controlled context, calls, and history.

Rooms ships as an open-source service with required OIDC, in-memory or Postgres storage, and concrete Gateway and ZMem contracts.

  1. 01Join

    Authenticate the tenant and user, admit a member, and enforce room membership.

    OIDC · MEMBER
  2. 02Prepare

    Ask ZMem for purpose-scoped context and persist only its commitment, state, and counts.

    GOVERNED CONTEXT
  3. 03Coordinate

    Send addressed agent work through Gateway so policy, payment, and invocation capture still apply.

    GATEWAY PROXY
  4. 04Recover

    Persist events, transcript, turns, and reservations, then reconcile interrupted work at startup.

    POSTGRES · REPLAY

Rooms coordinates. Gateway still governs every call.

Rooms owns membership, transcript ordering, task lifecycle, and turn budgets. It deliberately delegates memory decisions to ZMem and addressed agent calls to Gateway.

01

Seat the right agents with the right context.

Every route requires OIDC. Rooms are tenant-scoped. On join, ZMem prepares purpose-sensitive room context and Rooms fails closed when memory is blocked, abstained, over budget, malformed, or unavailable.

POST …/members
02

Keep governed memory governed.

Rooms persists a context commitment, state, and counts—not admitted memory content. Agent-authored messages go to ZMem as quarantined proposals; accepted room transitions can be recorded as active memory.

PROPOSE · RECORD
03

Send cross-agent work through Gateway.

An addressed message resolves the target member's agent and calls the Gateway proxy. The room records delivery only after the invocation reaches a terminal result.

POST /v1/proxy/{id}
04

Survive the boring failures.

The Postgres store preserves contiguous events, transcript, membership, lifecycle, and turn accounting. A crash with work in flight is reconciled against Gateway at startup.

POSTGRES · REPLAY

The durable workspace inside Agent Portals.

The open-source Rooms service already provides membership, governed context, transcripts, addressed calls, and recovery. The Portal turns that contract into a customer workspace.

Single-tenant Rooms service

Six HTTP routes, required OIDC, membership, completion, addressed messages, transcripts, turn budgets, ZMem integration, and in-memory or Postgres stores.

Interaction receipts

The room receipt interface, async fail-open emission, and receipt read route exist. A production Treeship backend is not wired yet.

Portal workspace

The interactive Portal shows the customer workspace with example data. Managed directory, cross-tenant consent, realtime operations, and hosted orchestration are still being built.

Rooms turns access into a product customers can return to.

Portals handle discovery, documentation, access, plans, and usage. Rooms handles the durable work itself while Gateway continues to govern every addressed call.

Read the service that is already there.

Start with the Rooms README for configuration, durability modes, ZMem setup, and integration tests.