Realtime platform on Cloudflare
Ship chat and live productfrom one SDK.
In-app chat, voice AI, live location, stream, collab, and device sync, plus Slack, Discord, and 12 more channels. Self-host on Workers or start on hosted cloud.
pnpm add @fluxy-chat/sdkYour app
Live preview
Wire the client once. Tabs cycle chat, agents, location, stream, collab, game, IoT, and channel adapters — same SDK, same room.
Try it right now.No signup required.
Jump into a live room with an AI agent. Ask questions, test real-time messaging, see how Durable Objects work. Everything runs on Cloudflare's edge network.
Deploy in your account. Quotas live in D1. Console access can require a one-time ack; usage still runs through your Worker with your keys.
14 platforms
Slack, Discord, Telegram, WhatsApp, Teams, and 9 more on one unified adapter interface.
AI-native
Streaming markdown, tool calling, MCP client, and LLM middleware pipeline built in.
30+ SDK modules
Rooms, presence, typing, history, agents, webhooks, cards, and more, all on @fluxy-chat/sdk.
Durable agents
WorkflowAgent persists to D1, survives deploys, and resumes from the last step.
Realtime voice
Bidirectional voice-to-voice AI with provider-agnostic abstraction.
MIT self-host
Deploy the Worker + D1 in your Cloudflare account. Read every line of source.
Messaging basics, on the edge
Channels, presence, mentions, and webhooks without bolting on another realtime vendor. Tap or hover a row on desktop.
Threads, polls, and translation are up to your product layer. FluxyChat ships the realtime core: rooms, presence, typing, delivery, and AI agent events.
What ships in the box
Edge delivery, AI-native streaming, 14 platform adapters, and a console for day-two work. You own the UI; we handle rooms, delivery, agents, and ops hooks.
Most teams glue together chat, AI, support, and compliance from different vendors. That gets expensive and hard to audit. FluxyChat puts 14 platform adapters, streaming AI, MCP tools, and governance hooks on the edge you already run.
- 14 platform adapters (Slack, Discord, Telegram, WhatsApp, Teams, +9)
- AI-native streaming with tool calling & HITL approval
- MCP client for external tool servers
- LLM middleware pipeline (guardrails, caching, RAG, PII redaction)
- WorkflowAgent for durable agent execution
- Card builder with Slack Block Kit & Teams Adaptive Cards
- DevTools playground & OpenTelemetry tracing
- GDPR export, audit trails, and retention policies
Already set up? Open the console for rooms, agents, and billing.
Built-in architecture
14 platform adapters
Slack, Discord, Telegram, WhatsApp, Teams, Email, SMS, Webhook, Matrix, and 5 more on one unified interface
Streaming markdown
Table buffering, code fence tracking, inline marker healing for clean partial renders during AI streaming
MCP client + tool calling
Consume any MCP-compatible tool server. Auto-convert to LLM function-calling format with HITL approval gates
Card builder
Composable rich messaging with JSX or function API. Slack Block Kit and Teams Adaptive Card renderers built in
Middleware pipeline
Transform messages and AI responses before they land
Moderate, validate, enrich, and fan out from the edge. LLM middleware supports guardrails, caching, RAG injection, PII redaction, and logging via wrapGenerate / wrapStream / transformParams. Policy code stays on the data path, not in a sidecar you forget to deploy.
Developers
SDK, CLI, docs, and console in one repo
Auth, rooms, and retries sit behind hooks and route handlers. Scaffold a new project with create-fluxy-chat CLI. When you need keys, quotas, or billing, open the operator UI instead of wiring another admin surface.
Where teams start
Live verticals, voice, and the server event bus
Polls, breakouts, stage go-live, collab CRDT, fleet GPS, and hybrid check-in fan out as server_event frames on the room WebSocket. Voice AI, streaming AI, MCP tools, and durable agents sit on the same worker, with production readiness labels on every surface.
App Marketplace · Cross-Channel · Spatial · Web3
Extend FluxyChat with apps, unify sessions across devices, build spatial experiences, and add Web3 auth.
App Marketplace
Publish and install apps with OAuth scoped grants. App review, versioning, and tenant installation.
Cross-Channel Continuity
Unify user sessions across web, mobile, voice, and bot. Identity linking, channel switching, device replay.
Spatial & Digital Twins
Create 3D room scenes with entities, agent access grants, AR overlays, and spatial audio presences.
Web3 Chat
Wallet-based authentication, token-gated rooms, on-chain message commitments with hash verification.
Agent Marketplace
Browse and install pre-built agent skills by category. Community templates with versioning and config schemas.
Chatbot Builder
Visual trigger-action rule engine with conditions, priorities, and simulated event testing.
FluxyStream: Live Broadcasting
Create events, provision ingest, go live with HLS playback. Chat overlay and reactions on the same room.
WebTransport Readiness
Auto-negotiation WebTransport → WebSocket → SSE → Long Poll. Feature detection with automatic fallback chain.
AI Agent Platform
No-code agent builder, versioning, CI/CD deploy, sandbox testing, cost tracking, rate limiting, A/B testing, personality designer, emotional intelligence, cross-platform memory.
FluxyGame: Multiplayer SDK
Matchmaking, server-authoritative state sync @20fps, AI NPCs with memory, tournaments, replay system, party system. Game room = chat room.
FluxyIoT: MQTT Bridge & Device Fleet
Device provisioning, rule engine, device shadow (desired vs reported), OTA updates, geofencing, AI device doctor, device-as-room-member.
FluxyEdu: Live classroom
Polls, breakouts, attendance, and stage go-live with server_event fan-out on the room WebSocket.
Realtime SDK
One SDK for chat, location, stream, and more
Start with in-app chat. Add location, push, voice AI, collab, HLS stream, multiplayer, IoT, fleet GPS, spatial twins, or 14 channel adapters: one SDK, one worker, one room WebSocket.
Ship a chat feature in an afternoon.
Rooms, presence, threads, and reactions over one WebSocket. Vertical events (polls, breakouts, stage live) arrive on the same connection via onServerEvent — no second subscription layer.
const { messages, sendMessage } = useChat({
roomId: "chat:room-42",
client,
onServerEvent: (ev) => {
if (ev.name === "edu.poll.created") showPoll(ev.data);
},
});
sendMessage("Hello from FluxyChat");Ship Squad
Leo: on it, adding you now.
Dana Ortiz
sounds great, will ping...
Design Circle
Wren: fresh comps up...
Leo Martins
You: deployed to staging
FluxyCollab
Everything teams need to build together
Whiteboard, kanban, documents, spreadsheets, and AI, all synced in real-time via CRDT. No save button required.
FluxyStream
Live streaming with real-time chat
Broadcast live video via WebRTC, RTMP, or OBS. Viewers watch with integrated chat, polls, virtual gifts, and AI moderation, all in one room.
Live video broadcast
WebRTC + Cloudflare Stream HLS relay with adaptive bitrate, DVR, and multi-resolution.
Chat overlay
Integrated FluxyChat room inside the player. Viewers chat, react, and engage in real-time.
Polls & quizzes
Create polls and quizzes during the stream. Results update in real-time for everyone.
AI moderation
Automated content moderation powered by DLP and AI agents. Keep chat clean at scale.
Virtual gifts & tipping
Viewers send virtual gifts with physics animations. Stripe-powered tipping for creators.
AI highlights
Automatic highlight reels generated from chat spikes, reactions, and viewer sentiment.
Enterprise-ready
Self-serve plans cover most production traffic. When governance matters, these capabilities are built into the worker, not a separate SKU bolted on later.
- SSO / SAML & SCIM provisioning
- Audit logs with export schedules
- Retention policies & legal hold
- IP whitelisting & DLP integrations
- GDPR export and erasure tools
- Signed webhooks with retry & delivery logs
- Per-tool approval gates for AI agents
- OpenTelemetry tracing with GenAI semantic conventions
Explore capabilities in the features console.
Pricing
One plan covers chat, AI agents, webhooks, and platform modules. Undercuts Pusher and Ably on message quotas. Starter at $20/mo vs Pusher Startup at $49/mo for similar traffic.
Console routes can require a one-time ack on your dashboard host. Billable usage still needs your Worker credentials.
Self-serve checkout today
Free includes 200,000 messages, 5,000 agent invokes, and 50,000 webhook deliveries /mo. Pro raises each to 10× for $50/mo, ideal for production rooms with active agents.
Free
Try the stack without a card.
- 200,000 messages / month
- 5,000 agent invokes / month
- 50,000 webhook deliveries / month
- SDK, dashboard, and platform modules
- Community support (GitHub + Discord: https://discord.gg/fluxychat)
- One project, fair-use limits
- Upgrade without migrating data
Starter
Production traffic with fixed monthly limits.
- 500,000 messages / month
- 10,000 agent invokes / month
- 100,000 webhook deliveries / month
- Chat, agents, stream, collab, game, IoT on one worker
- Signed webhooks with retries
- GDPR export and erasure endpoints
- Email support (best effort)
Pro
Heavy rooms, agents, and webhook volume.
- 5,000,000 messages / month
- 100,000 agent invokes / month
- 1,000,000 webhook deliveries / month
- 5M messages, 100k agent invokes, 1M webhook deliveries per month
- Priority support
- Custom retention and audit (contact us)
- Annual invoicing on request
Team
Multiple projects, more seats, same compliance posture as Pro.
- 20,000,000 messages / month
- 200,000 agent invokes / month
- 1,000,000 webhook deliveries / month
- 20M messages, 200k agent invokes, 1M webhook deliveries per month
- Up to 5 projects and 5 team seats
- Team member management and RBAC
- Priority support, annual invoicing on request
Growth
B2B SaaS with omnichannel, AI memory, and FTS search.
- 100,000,000 messages / month
- 1,000,000 agent invokes / month
- 5,000,000 webhook deliveries / month
- Multiple projects, omnichannel inbox (base)
- AI memory and full-text search
- Light moderation tooling
- Annual invoicing on request
Sales-led plans for governance and higher limits
Business
Serious teams needing SSO and audit at scale.
- SSO add-on
- Custom domain and higher limits
- Audit export schedules
- Priority support, white-label lite
Enterprise
Regulated and large deployments.
- SCIM and SLA
- Retention and DLP pack
- Compliance review
- Dedicated support
Why usage-based quotas?▾
Cost tracks messages, AI invokes, and webhook volume. Self-serve plans include fixed monthly quotas; heavy usage can be metered on Growth and above.
Do AI agent invokes count against my quota?▾
Yes. Each plan includes a monthly agent invoke limit. Streaming AI, tool calls, and MCP interactions count as invokes.
Are stream, collab, game, and IoT modules extra?▾
No separate SKU. Platform modules run on the same room and worker. Quotas apply to messages and agent invokes like chat.
Enterprise vs Business?▾
Business is high-limit self-serve with SSO add-on and audit export. Enterprise adds SCIM, SLA, DLP, security review, and dedicated support.
Self-host vs hosted?▾
Same worker and SDK. Hosted is fastest to start; self-host gives full control on your Cloudflare account with MIT source.
Need enterprise SSO, VPC-style isolation, or custom SLOs? Email fluxychat@outlook.com.
How we compare
Not a feature shootout: rough fit vs Stream, Ably, Pusher, and DIY DO repos. Full compare · Leaving Pusher.
| Capability | Typical stream APIs | Typical Ably-style | Typical Channels (Pusher-style) | Fluxychat |
|---|---|---|---|---|
| Edge-native (Cloudflare Workers + DO + D1) | Managed cloud | Managed cloud | Managed cloud | Designed for Workers + DO + D1 |
| Multi-platform adapters (14 platforms) | Limited / separate product | N/A | N/A | Slack, Discord, Telegram, WhatsApp, Teams, +9, unified interface |
| AI-native streaming (markdown, tool calling) | Add-on / separate product | N/A | N/A | Streaming markdown, tool_call/tool_result, HITL approval |
| MCP client integration | N/A | N/A | N/A | Consume any MCP tool server, auto-convert to function-calling |
| LLM middleware pipeline | N/A | N/A | N/A | wrapGenerate / wrapStream / transformParams, guardrails, RAG, PII |
| Durable agent execution (WorkflowAgent) | N/A | N/A | N/A | Persists to D1, survives deploys, auto-resume from last step |
| In-app chat + operator console | Separate product areas | Console + APIs | Channels dashboard | First-party console in monorepo |
| Headless SDK (optimistic sends, reconnect state) | Strong SDKs | Strong SDKs | Channels SDKs | @fluxy-chat/sdk + vanilla store |
| Time to first message (CLI) | SDK install + dashboard setup | SDK install + dashboard setup | SDK install + dashboard setup | npx create-fluxy-chat my-chat --minimal |
| Drop-in chat widget (no custom UI) | UI kit / components (separate) | Headless-first | Headless-first | @fluxy-chat/ui-kit, FluxyChatWidget + FluxyInboxPanel |
| Agent tool events on room WebSocket | Varies | Separate products | N/A | tool_call / tool_result on same timeline |
| Message templates + member preferences API | Varies | N/A | Limited | POST /templates, member prefs PATCH |
| Reconnect, replay, and delivery state in SDK | SDK features vary | SDK features vary | Channels SDK | connectionState, loadMore, clientMessageId idempotency |
| Read receipts / unread badges | Product features vary | Varies by product | Not first-class in Channels | markReadLatest + room list unread in SDK/console |
| In-app notifications (mentions, DMs) | Separate notification products | Separate products | Beams (separate SKU) | REST + SDK useNotifications on same Worker |
| Mobile push (FCM + APNs + Web Push) | FCM/APNs via Stream Push | Push notifications add-on | Beams (separate product) | FCM + APNs HTTP/2 + VAPID; per-env project_push_config; client delivery ack |
| Cross-room activity feed | Activity feeds product | N/A | N/A | user_activity_feed + GET /user/activity-feed + mention fan-out |
| Support macros / canned responses | Moderation / automations | N/A | N/A | support_canned_responses + /support/canned-responses |
| Client SDKs (mobile + game) | iOS, Android, Flutter, Unity | Broad SDK coverage | iOS, Android, web | Flutter, Swift, KMP, React Native + Unity/.NET skeletons |
| Message middleware (validate / filter / enrich) | Varies | N/A | Webhooks only | Edge pipeline before persist + broadcast |
| Unified room WebSocket (chat + server_event + capability) | Separate channel products | Pub/sub channels | Channels only | One WS: messages, game/IoT/live/fleet/poll fan-out, vertical capability events |
| Live streaming & broadcast (HLS, polls, highlights) | Video product / add-on | Separate live product | Channels only (no HLS stack) | FluxyStream: events, broadcast, polls, AI co-host on same Worker |
| Real-time collab (Yjs / CRDT whiteboard) | Feeds / activity | Pub/sub channels | N/A | Collab DO adapter + Excalidraw/Yjs in SDK |
| Game multiplayer (matchmaking, replay, NPC) | N/A | N/A | Presence only | FluxyGame: lobbies, authoritative ticks, D1 leaderboard |
| IoT & device sync (MQTT, shadow, rules) | N/A | IoT messaging (separate) | N/A | FluxyIoT: fleets, readings, rules, geofence on Worker |
| Fleet & live location tracking | N/A | Location / maps partners | N/A | FluxyFleet: trips, ETA, driver tracking APIs + fleet.gps_update on room WS |
| Spatial / digital twin rooms | N/A | N/A | N/A | Scenes + spatial.entity_added fan-out on room WS |
| Voice + AI transport pipeline | Voice / video add-ons | Separate products | N/A | useVoice (production) + transport fallback on room WebSocket |
| Cross-channel continuity & customer memory | CRM integrations | N/A | N/A | CDP graph + journey mapping + A2A tasks on Worker |
| Pricing surprises at scale | Enterprise / usage tiers | Usage-based | Free tier small; connections add up | Cloudflare pricing you can read; MIT self-host option |
| Self-host / on your own account | Proprietary cloud | Managed-first | Managed-first | Full MIT monorepo, deploy Worker + D1 in your CF account |
| Socket fleet / VPS to operate | Managed vendor infra | Managed vendor infra | Managed vendor infra | No VPS; one Room DO per room on CF edge |
| Next.js on Vercel + realtime (typical split) | Managed cloud + your frontend | Ably + Vercel tutorial pattern | Channels + serverless functions | Vercel/Netlify UI + CF Worker chat (no Vercel WS limits) |
| Omnichannel inbox (mentions, unread, follow-ups) | Separate feeds product | N/A | N/A | useInbox items feed + REST /inbox + console badge |
| MIT license, read and deploy the full stack | Proprietary cloud | Managed-first | Managed-first | MIT monorepo, Worker, SDK, console, no vendor lock-in |
What does it actually cost on Cloudflare?
Real numbers, not vague "contact sales" ranges. The free tier is generous; the paid tier scales with usage; self-host is just your Cloudflare bill. No per-connection pricing surprises.
FluxyChat runs entirely on your Cloudflare account. You pay Cloudflare directly no per-seat or per-message markup from us on the self-host path.
| Plan | Monthly messages | D1 reads / day | Cost (USD) | Best for |
|---|---|---|---|---|
| Workers Free | ~3M / mo (100k req/day × 30) | 5M / day | $0 | Hobby · early beta · <1k MAU |
| Workers Paid ($5/mo) | ~300M+ / mo | 25M+ / day | $5 + usage | Growing SaaS · 1k–100k MAU |
| Self-host on your CF account | Unlimited* | Your plan limits | Your plan cost | Enterprise · cost-sensitive · compliance |
* D1 storage cap: 10 GB on the free plan, unlimited on paid. Message fanout uses Durable Object egress see Cloudflare's current pricing for live numbers. Run pnpm run check:pricing to verify your env assumptions match the published rates.
FAQs
Questions we hear when teams compare hosted chat APIs and edge deployments.
What is the chat API vs the SDK?▾
Your backend talks to the Worker over HTTP. The browser uses @fluxy-chat/sdk to join a room, send, and render. Same product, two surfaces.
Can I keep the frontend on Vercel?▾
Yes. Lots of teams leave Next on Vercel or Netlify and run chat on Workers + Durable Objects. You skip the platform WebSocket limits and a second Pusher-style bill.
Is this Intercom, Zendesk, or a live-chat widget?▾
No. Those are support desks. FluxyChat is the room layer for chat inside your app: SDK, webhooks, agent timeline. You build the UI. Guide: /guides/in-app-chat-vs-support-desk.
Is this a Pusher or Ably replacement?▾
For tenant-scoped in-app chat on the edge, usually yes: rooms, history, reconnect, operator tools. For generic pub/sub or SMS/WhatsApp, keep those products and use FluxyChat for the chat slice.
How is this different from a fully managed vendor?▾
You can run the Worker and D1 in your Cloudflare account, read the MIT source, and control upgrades. Hosted cloud is there when you do not want to wire infra on day one.
Can I add moderation and webhooks?▾
Yes. Middleware on the edge, signed webhooks, and console pages for the boring admin work.
What are Durable Objects for chat?▾
Cloudflare puts shared state in a Durable Object. Chat rooms are the textbook case. FluxyChat uses one Room object per room and D1 for history. Guide: /guides/durable-objects-for-chat-rooms.
Humans and AI agents in the same room?▾
tool_call and tool_result ride the same WebSocket as user messages, so you replay one timeline instead of guessing what the agent did. Streaming markdown with table buffering and code fence tracking renders cleanly during AI responses. Guide: /guides/agent-events-same-websocket-stream.
What platforms do the multi-platform adapters support?▾
14 platforms behind a unified interface: Slack, Discord, Telegram, WhatsApp, Microsoft Teams, Email, SMS, Webhook, Matrix, and more. Each adapter handles platform-specific formatting, and the card builder renders Slack Block Kit and Teams Adaptive Cards natively.
What is MCP and how does FluxyChat use it?▾
Model Context Protocol lets your agents consume external tool servers. FluxyChat acts as an MCP client and auto-converts tools to LLM function-calling format. Point your agent at any MCP-compatible server.
Can I add guardrails or RAG to AI responses?▾
Yes. The LLM middleware pipeline supports wrapGenerate, wrapStream, and transformParams hooks. Plug in guardrails, caching, RAG injection, PII redaction, or logging on the edge before responses reach users.
Does WorkflowAgent survive deploys?▾
Yes. WorkflowAgent persists state to D1 after each step. If the Worker restarts or you deploy a new version, the agent resumes from the last completed step.
I finished Cloudflare's chat tutorial. Now what?▾
That tutorial is the right start. FluxyChat adds JWT, D1 history, reconnect in the SDK, and a console. See /guides/after-cloudflare-chat-tutorial.
Why not stay on Pusher?▾
You might not need to. Edge pricing you can read, self-host on your account, no socket VPS fleet. Compare at /compare.
Where should I start?▾
Run the quickstart for a JWT and first room, or read /guides if you are still picking between DIY Workers chat and a packaged layer.
Does a public dashboard mean anyone can spend my quota?▾
No. Billable calls need your JWTs and API keys. Turn on DASHBOARD_ACCESS_MODE=ack (and optional CONSOLE_GATE_SECRET) so console routes need a one-time ack first.
Build AI-native chat on infrastructure you own.
Start on the free tier with 14 platform adapters, streaming AI, and MCP tools. Run a pilot on hosted cloud, or deploy the worker in your Cloudflare account when you are ready.