---
title: NoLag with CrewAI
description: "Use NoLag as the realtime coordination layer under CrewAI. Give your crew shared state, task handoff, live observation, and human approval gates across processes."
---

# NoLag with CrewAI

CrewAI is a framework for orchestrating teams of role-playing autonomous agents, or crews, that collaborate on a task. It is good at defining roles, tasks, and how a crew works together within a run. NoLag is complementary: it is the realtime layer that connects those agents to each other, to your services, to a UI, and to a human, across processes and machines.

CrewAI defines the crew; NoLag moves the messages between the crew, the rest of your system, and the people watching.

## What each layer does

| | CrewAI | NoLag |
| --- | --- | --- |
| Role | Agent roles, tasks, collaboration | Realtime transport and coordination |
| Scope | Within a crew run | Across agents, services, humans, and UIs |
| Gives you | Roles, task delegation, process flow | Dispatch, shared state, live observation, approval gates, presence |

## Why add NoLag under CrewAI

- **Coordinate beyond one run.** Dispatch tasks to workers in other processes or services over topics.
- **Share state in realtime.** Publish results so other agents, dashboards, or humans see them live.
- **Stream the crew's progress to a UI.** Show what each agent is doing as it happens.
- **Human approval gates.** Hold a sensitive action until a person approves it.

## How it fits

Call the NoLag SDK from inside your CrewAI agents or tools. When an agent produces output or needs input from elsewhere, publish or subscribe on a NoLag topic. CrewAI keeps owning the crew logic; NoLag carries the realtime communication.

## Get started

Read the [AI agents guide](/docs/agents), then the [5-minute quick start](/docs/getting-started). SDKs for [Python](/docs/sdks/python), [JavaScript](/docs/sdks/javascript), and [Go](/docs/sdks/go).
