Skip to content
folkways

Use cases

Start with a use case. Build anything live.

Three guides for the most common starting points, each with the problem, the approach and the code. They’re examples, not limits: Stream, KV and Signal fit anything that needs live updates.

01chat/{id}

AI streaming and agents

Stream model output token by token. Answers keep going through reloads, sleeping laptops and dropped networks.

  • Resume mid-answer after a reload
  • Same answer on every open device
  • Typing and “thinking” signals

StreamSignal

chat/8f2cstream

live · WebSocket

Why did churn drop last quarter?

Your Q3 churn fell 2.1 points. Most of the gain came from the new
token #14 · every open tab and device sees the same answer
An answer streaming over a Stream topic. When the network drops, the tokens wait in the stream and the client picks up where it stopped.

02metrics/{fleet}

Live dashboards and analytics

Push metrics, prices and statuses to every open screen. Late joiners see current values at once, with no polling.

  • Latest value per key, instantly
  • Read-only keys for public pages
  • No refresh, no polling loop

KV

metrics/fleet-eukv

live · 1,284 viewers

rides.active

1,284

Active rides

eta.avg

4.1 min

Average ETA

drivers.online

371

Drivers online

surge.zone-3

1.4×

Surge, zone 3

rides.active last hour

a viewer who opens the page now gets all 4 current values at once · no history to page through
Dashboard tiles as KV keys. Each update replaces the last value, and anyone who opens the page gets the current values at once.

03boards/{id}

Multiplayer and collaboration

Live cursors, presence and shared state for whiteboards, editors and games, without running socket servers.

  • Live cursors and selections
  • See who’s in the room
  • Shared state that late joiners get

SignalKVStreamPresence

boards/q3-planstream · kv · signal

MKJBAL

Pricing page copy

Beta feedback

3 here · Jonas is typing… · late joiners get the board as it is now
A shared board on one topic: strokes are Stream events kept for late joiners, cursors are signals, and presence shows who is here.

Building something else?

Tell us what you’re building.

Design partners get up to 12 months free and features built for their use case.