Self-hosting Agent Rooms
The open-source repository includes the Room domain, API, PostgreSQL adapter, mock runtime and extension contracts.
cd examples/rooms-api
cp .env.example .env
docker compose up --build -d
curl --fail http://localhost:3000/health
bash scripts/demo.shThe reference demo creates a Room, pauses and resumes it, adds human and agent participants, records a message, runs a structured task, produces a draft artifact, grants human approval and archives the Room.
For production, inject an authenticated tenant resolver, use @agentplat/rooms-postgres, configure encrypted storage and replace the mock runtime with a provider adapter. The trusted development tenant header is not an authentication mechanism for an untrusted network.