ZerkerRooms

Zerker/Agent Rooms

Agent Rooms · open source

A workspace for people and agents.

Members share a goal, call each other through Gateway, and pick the work back up after a restart.

The room path

Join, prepare, coordinate, recover.

Rooms is an open-source service with required OIDC, in-memory or Postgres storage, and defined Gateway and ZMem interfaces.

  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 order, task lifecycle, and turn budgets. Memory decisions go to ZMem. Agent calls go to Gateway.

01

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

Memory stays governed.

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

PROPOSE · RECORD
03

Agent-to-agent calls go 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

Recover from 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 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 receipt interface and read route exist. A production Treeship backend is not wired yet.

Portal workspace

The Portal preview shows the customer workspace with example data. Directory, cross-tenant consent, and hosted orchestration are being built.

A workspace customers come back to.

Portals handle discovery, docs, access, plans, and usage. Rooms handles the work itself. Gateway governs every call.

Read the Rooms service.

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