Skip to main content

ClawQLStreams

Event-driven autonomous agents you own — not a metered lab runtime.

World events enter. WORM records everything. Significance filters decide when agents wake — with full MCP tools, virtual-key budgets, and Durable Object scale.

Three delivery modes

One event loop. Three ways to respond.

The same subscription can audit continuously, keep agents ambiently aware, and escalate only when the world crosses a threshold — without a human opening a chat.

Reactive

Every event writes to WORM immediately — compliance-grade recording whether an agent wakes or not.

Ambient

Events buffer in NATS and surface on the next MCP tool call — awareness without spawning a subprocess.

Autonomous

A significance filter escalates only what matters into a full agent session with ClawQL tools and budget.

Protocol Fabric

Anything in. Anything out. Events on the bus.

Protocol Fabric is the event-driven integration layer Streams builds on. ClawQL Core turns any API — or a page's own WebMCP tools — into MCP. mcp-api-adapter turns MCP back into OpenAPI, GraphQL, gRPC, CLI, WebSocket, or /mcp-ui (7 surfaces shipped). NATS JetStream wraps the fabric so the bus can act without a human at the console — Event Stream in, WORM and RTP out.

In — Core → MCP

REST · GraphQL · gRPC · WebSocket · MCP · generated CLI · WebMCP (preview) · QR stream (planned)

Out — adapter → surfaces

OpenAPI · GraphQL · Streamable HTTP · gRPC · gen-cli · WebSocket · /mcp-ui · QR (planned)

QR optical channel is planned as the 8th mcp-api-adapter surface — not shipped yet.

ClawQL Streams architecture — Event Stream into ClawQL Core + mcp-api-adapter + NATS JetStream; API sources including WebMCP on the left, transport layers including HTMX / MCP-UI on the right, WORM audit and RTP finetune exports below
ClawQL Streams — Protocol Fabric plus the event loop

ESB lesson, agent era: N×M protocol integrations collapse to N+M. Streams is how the fabric reacts to webhooks, NATS topics, cron, and live sockets — not only interactive MCP clients. Protocol Fabric docs.

Builds on celld · Cloudflare · Kubernetes

Infinite session scale without losing the audit trail

Streams is built on celld — Deno's self-hosted Durable Objects runtime with LTX replication to your own bucket — or Cloudflare's hosted DOs. Regulated tenants keep Kubernetes HPA until celld is production-stable. Slim Core search/execute runs in-isolate via CoreToolsDO by default; Bun host MCP remains the escape for full catalog and vault.

  • Virtual-key budgets

    Lab sessions bind a virtual key at create and send it on every model turn; production spend ceilings land through clawql-inference model escalation.

  • WORM on every action

    Reactive ingest never waits on the model. Forensic reconstruction is a hash chain you own, not a vendor console export.

  • Training emission

    Optional RTP + OpenBenchTrace export with consent scopes — the Intelligence Flywheel without surrendering sovereignty.

Positioning

The pattern labs built for themselves — as a platform

Stripe Minions, Anthropic Managed Agents, and OpenAI Agents SDK all implement event → context → reason → tools → audit. ClawQL Streams is that pattern with operator-owned infrastructure.

ClawQL Streams compared to managed agent runtimes
CapabilityStripe MinionsManaged AgentsAgents SDKClawQL Streams
SovereigntyInternal onlyAnthropic-hostedManaged runtimeSelf-host or Cloudflare
TriggersSlack reactionsCron / APIPipeline / APIWebSocket · NATS · webhook · cron
ToolsCustom ToolshedBuilt-in + customBuilt-in + customAny MCP surface via Protocol Fabric
AuditInternalProvider logsProvider logsOperator-owned WORM Merkle trail
ScaleCustomSession hoursManagedcelld · Cloudflare DO · K8s HPA
Specifications

Specs and Lab 5b evidence on docs.clawql.com

Lab 5b (celld + CoreToolsDO path) ships today as an opt-in coordination layer over packages you already deploy — inference, payments, NATS, and WORM memory. Agent-facing stream_* MCP tools remain planned.

Put an event loop under your agents

Request early access on the Agentic Gateway today. Lab 5b already runs on the same MCP endpoint, vault, and WORM trail — Streams coordination is not a second product.