The coordination layer for
multi-agent systems.
Dispatch work, share state, observe decisions, and gate actions - on the same infrastructure that powers chat, notifications, and live dashboards.
import { NoLagAgents } from "@nolag/agents";
const agents = new NoLagAgents(TOKEN);
await agents.connect();
const room = agents.joinRoom("workflow");
// Dispatch a task to any available worker
await room.handoff.dispatch({
type: "summarize",
payload: { url: "https://..." },
capabilities: ["research"],
});
// Watch results come back
room.handoff.onResult((result) => {
console.log("Completed:", result.data);
});MCP Server Built In
Build with AI from your IDE
Connect Claude Desktop, Cursor, or any MCP client to NoLag's 47+ tools. Create apps, actors, rooms, dispatch tasks, and manage scopes with natural language.
Set up MCP →Six patterns. Zero plumbing.
Handoff
Dispatch tasks to workers by capability tags. Built-in pooling, routing, and result collection.
Inbox
Direct actor-to-actor messaging. Route messages to specific agents by ID without broadcasting.
Blackboard
Shared key-value state with versioning. All agents see the same state, with conflict-free updates.
Observe
Real-time event stream for monitoring. Watch every decision, state change, and task completion.
Approve
Human-in-the-loop gating. Pause agent workflows until a human approves, rejects, or modifies.
Tools
Remote tool invocation and response. Let agents call tools hosted by other agents or services.
Pick a use case. Get a ready-made SDK.
Blueprints are purpose-built SDKs for common real-time patterns. Rooms, topics, and presence are pre-wired. Install, connect, ship.
AI Agents
@nolag/agentsMulti-agent coordination with task handoff, shared state, approval gates, tool invocation, and real-time observability.
Chat
@nolag/chatMulti-room chat with presence, typing indicators, message replay, and online user tracking. Works with React, Vue, or vanilla JS.
Notifications
@nolag/notifyReal-time notifications with channels, read/unread tracking, and badge counts. 30-day replay on reconnect.
Vehicle Tracking
@nolag/trackLive GPS tracking for vehicles and assets with client-side geofencing and zone-based fleet grouping.
Live Dashboard
@nolag/dashLive dashboards with real-time metrics, rolling aggregation, and widget state. 1 hour replay on reconnect.
Don't see your use case?
Every Blueprint is built on the same core SDK. Build your own or request one.
Realtime SDKs for the four apps
you're going to build anyway.
Chat, notifications, live tracking, dashboards: each one a Blueprint SDK with rooms, presence, and replay pre-wired. Install, connect, ship. Drop down to raw pub/sub when you outgrow the templates.
import { NoLagChat } from "@nolag/chat";
const chat = new NoLagChat(TOKEN, {
username: "Alice",
});
await chat.connect();
const room = chat.joinRoom("general");
room.on("message", (msg) => {
console.log(`${msg.username}: ${msg.text}`);
});
room.on("typing", ({ users }) => {
showTyping(users);
});
room.sendMessage("Hello!");
room.startTyping();How it works.
NoLag organizes your real-time infrastructure into four levels. Each level serves a distinct purpose, from billing boundaries down to individual message channels.
Actors (your users) are granted access to specific apps. One actor can interact with multiple apps through a single connection.
Learn more →Everything you'd otherwise build yourself.
No add-on pricing. No "presence is on the Pro plan." Every account gets the full surface area, the only thing that scales with the price is throughput.
Pub/Sub
Topic-based routing on a binary protocol. Wildcards, retained messages, infrastructure-level filters.
Presence
Built-in. Per-room, per-lobby, with custom metadata. Joins and leaves are events you subscribe to.
QoS 0/1/2
Per-message delivery guarantees. Fire-and-forget for telemetry, exactly-once for transactions.
ACL
Per-topic read/write. Roles, actor types (device, user, server, session), API key scoping.
Webhooks
Hydration on subscribe. Triggers on publish. Dead-letter queue. Custom headers and auth.
Replay
Configurable per topic. Reconnects automatically replay missed messages from your retention window.
Lobbies
Observe presence across many rooms at once. Built for dashboards, ops centers, and admin views.
Task Handoff
newDispatch tasks to agents by capability tags. Built-in pooling, routing, and result collection for multi-agent workflows.
Blackboard State
newShared key-value state with versioning. All agents see the same state, with conflict-free updates.
Approval Gates
newHuman-in-the-loop gating for agent workflows. Pause execution until a human approves, rejects, or modifies.
Access Scopes
newMulti-tenant isolation via topic namespacing. Assign actors to scopes and communication is partitioned automatically.
Pick a QoS per message, not per app.
Most brokers force one delivery contract on the whole connection. NoLag attaches QoS to the message itself. Telemetry can fly, payments can wait for the handshake.
Acknowledged delivery. May duplicate on retry. The default.
One broker. Six categories. Probably yours.
The same primitives (rooms, topics, presence, QoS) adapt to wildly different shapes. Hover to see the wiring.
Coordinate agents. Ship the realtime bit.
Before lunch.
Agent coordination, chat, notifications, tracking, dashboards. One key. Every feature on the free tier.