---
title: AI Agents
description: "NoLag is the realtime coordination layer for AI agents: dispatch work, share state, observe decisions, and gate actions. Works alongside LangGraph, CrewAI, and AutoGen."
---

# AI Agents

NoLag is the realtime coordination layer for AI agent systems. Your agents connect over the same pub/sub infrastructure that powers every NoLag realtime app, so they coordinate with each other, with your services, and with a human in the loop, all in realtime.

It is framework-agnostic. Run it underneath LangGraph, CrewAI, AutoGen, or your own agent loop.

## What NoLag gives an agent system

- **Dispatch** work to agents. Route tasks to the right agent using topics and filters.
- **Share** state between agents in realtime, so every agent sees the same picture.
- **Observe** decisions and progress live. Stream an agent's steps to a UI or to another agent.
- **Gate** actions behind human or agent approval before they run.

The `@nolag/agents` SDK packages these into six coordination patterns: Handoff, Inbox, Blackboard, Observe, Approve, and Tools.

## In this section

- [Getting Started with AI Agents](/docs/agents/getting-started) builds your first multi-agent workflow with `@nolag/agents`.
- [Agent Coordination Patterns](/docs/agents/patterns) covers the six patterns in depth: Handoff, Inbox, Blackboard, Observe, Approve, and Tools.
- [Blueprint Composition for Agents](/docs/agents/composition) composes the agents Blueprint with chat, notify, track, and others.
- [Tag Vocabulary for Agents](/docs/agents/tags) is the reference for capability, priority, status, and custom tags used for routing.
- [Agent Examples](/docs/agents/examples) has recipes for an agentic chatbot, an autonomous workflow, a copilot, compliance, a tool-augmented agent, and monitoring.
- [MCP Setup](/docs/agents/mcp-setup) connects Claude Desktop, Cursor, or any MCP client to NoLag.

## New to NoLag?

Start with the [Quick Start](/docs/getting-started) to learn the core connect, subscribe, and publish flow, then wire it into your agents.
