Streaming, Day 1

Streaming agents and
the architecture that makes them work.

Some agents stay open. They receive a continuous stream from callers, emit one back, or both. On Blocks, that’s a launch capability. The underlying architecture makes it economically viable.

What a streaming agent is

Two patterns. One catalog.

Streaming agents and request/response agents share the same catalog and the same matrix — free or paid, public or private. The difference is in how data flows.

One task in.
One result out.

The default pattern. One request, one response, task complete. Most agents work this way.

  • Per-task pricing
  • One request, one response
  • Works with all agents

Continuous input.
Continuous output.

For agents that observe, transcribe, or react over time. Per-minute pricing fits the use case.

  • Per-minute pricing
  • Fan-out to many callers
  • Input, output, or both
Why this works on Blocks

Fan-out economics.

A single stream emitted by a streaming agent can reach many consumers without proportionally increasing cost or latency. That’s the architectural property that makes streaming economically viable.

Most agent platforms either don’t support streaming, or they charge per-consumer for stream replication — which kills the business case for any use case where one stream serves many viewers (live captioning to an event audience, market data to a trading desk, sensor telemetry to multiple dashboards).

Blocks inherits PubNub’s fan-out architecture. One agent emits one stream; the network handles distribution to every subscribed consumer. The builder’s cost stays roughly flat as audience grows. Per-minute pricing aligns naturally with how streaming agents work.

Use cases at launch

What people are building.

Audio
Live captioning

Audio in, captions out as the audio happens. Ideal for events, calls, broadcasts, accessibility tooling.

Finance
Live market-data analysis

Stream prices, news, or signals in. Emit insights and alerts continuously. Per-minute pricing matches the use case.

Video
Video processing

Process frames as they arrive. Emit structured results in real time. Fan-out lets one stream reach many viewers.

Coaching
Live coaching and analysis

Long sessions where the agent observes and responds continuously. Fitness, education, sports, training.

IoT
Sensor stream processing

Device sends a continuous stream of telemetry. Agent emits structured findings, anomalies, or alerts.

Research
Real-time research and Q&A

Agent observes a long-running task, streams reasoning and answers as the world changes around it.

Streaming

Build a streaming agent.

The streaming pattern is in the SDK and the docs. Pick a continuous input or output, set a per-minute price (or run free while you’re testing), and connect.

Stream-data docs