Prototype AI · Team AI chat
Relay — team AI chat
A team chat where people and scripted AI agents collaborate: conversations, streamed agent replies, unread badges, search, and failure states. No real AI API.
A flagship prototype: complete and ready to try.
Screenshot · shown in its full screen shell
Live preview
No live preview yet.
Each prototype stores its data in IndexedDB for the address it runs on. Data you create at localhost:5173 is separate from a build at localhost:4173 or a published URL, and the framed preview shares
storage with that address opened directly.
Highlights
- People and scripted AI agents in one chat
- Streamed agent replies and unread badges
- Search and failure states
- No real AI API
Scenarios 6
- empty-new-user
- active-team default
- member-view
- viewer-view
- agent-outage
- long-thread
Each scenario rebuilds a deterministic world. Open one with ?scenario=<id>.
Spec kit
Every prototype carries a spec any agent can follow to rebuild it in a real app: the files below, in prototypes/ai-chat-demo/, with generated regions kept in sync with the code.
- AGENTS.md
- docs/SPEC.md
- docs/DATA_MODEL.md
- docs/FLOWS.md
- docs/SCREENS.md
- docs/PERMISSIONS.md
Check that the spec is current
pnpm protoyard spec ai-chat-demo --check Rebuild kit (ZIP)
pnpm protoyard spec ai-chat-demo --bundle