Agentic AI

LangGraph and multi-agent AI labs

Ten labs that take you from a single ReAct loop to a guarded, evaluated multi-agent system.

10 labs ~6 hours total 0 on real GPUs 10 hosted 1 free

An AI agent is a language model running in a loop: it decides which tool to call, reads the result, and decides again until the task is done. Everything hard about agents lives in that loop: how it plans, what it remembers, how many agents share the work, how they call tools safely, and how you know it worked. Multiple-choice questions can describe those trade-offs; you only really learn them by building the loop three ways and watching them fail differently.

The collection starts with a free lab (a ReAct research librarian on NVIDIA NIM), then builds the same support agent as ReAct, tool-calling and plan-and-execute and compares them. From there it adds long-term memory with a LangGraph checkpointer plus Milvus, reliable structured output, a LangGraph supervisor routing to specialists, two agents talking over the A2A protocol, and an MCP tool server that a LangChain agent connects to. It closes with the operational side: routing across model tiers to cut cost, an LLM-as-judge evaluation harness, and NeMo Guardrails for jailbreak and topical rails.

All ten labs are hosted (no GPU pod needed), run in the browser, and take 25 to 40 minutes each.

The labs, in order

All labs
  1. 1
    # ReAct · thought/action/observe
    1. Thought:
    2. search_docs(…)
    3. Observation:
    Final answer → 200 OK
    HOSTEDFree
    ncp-aai · react-agent-nimIntermediate

    Build a ReAct Agent with NVIDIA NIM

    Build a working AI research librarian — an agent that can search a corpus of ML papers, read abstracts, compare methods, and reason over them to answer multi-step questions. Uses LangChain, LangGraph, and NVIDIA NeMo Agent Toolkit on real NIM endpoints.

    Freencp-aai
    35 minHosted
    Launch
  2. 2
    ReActToolsPlan
    HOSTED Pro
    ncp-aai · agent-patternsIntermediate

    Build an AI Agent 3 Ways: ReAct vs Tool Calling vs Plan-and-Execute

    Build the same SaaS customer support agent three different ways — ReAct, direct tool calling, and plan-and-execute — then compare them on speed, reasoning quality, and reliability to learn when to use each pattern in production.

    ncp-aai
    35 minHosted
    Launch
  3. 3
    # Milvus + LangGraph
    $ checkpoint.save
    short_term ...... 12 msgs
    long_term ....... 84 facts
    recall@5 = 0.92
    HOSTED Pro
    ncp-aai · agent-memoryIntermediate

    Add Long-Term Memory to an AI Agent: LangGraph + Milvus

    Build a sales intelligence assistant that remembers — short-term conversation state with LangGraph checkpointer, long-term facts in Milvus, and reflection loops that auto-extract knowledge. Learn the memory architecture every production agent needs.

    ncp-aai
    35 minHosted
    Launch
  4. 4
    # structured-output-tools · agent
    POST /api/agent/invoke
    200 OK · graded
    HOSTED Pro
    ncp-aai · structured-output-toolsIntermediate

    Structured Output & Function Calling with NIM

    Get reliable machine-parseable data out of an LLM. Compare prompt-only JSON extraction against the function-calling API, chain two tools, and measure the reliability gap on a real extraction task.

    ncp-aai
    30 minHosted
    Launch
  5. 5
    SABC
    HOSTED Pro
    ncp-aai · multi-agent-orchestrationIntermediate

    Build a Multi-Agent Supervisor with LangGraph

    Build a supervisor agent that routes queries to specialist agents — a core architecture pattern tested on the NCP-AAI exam.

    ncp-aai
    40 minHosted
    Launch
  6. 6
    AB
    HOSTED Pro
    ncp-aai · a2a-communicationAdvanced

    Build Two Agents That Talk via the A2A Protocol

    Build two independent agents that talk to each other via the A2A protocol — each owned by a different team, running in its own process, discovered through a standardized AgentCard. Learn how A2A differs from multi-agent orchestration and when each architecture fits.

    ncp-aai
    40 minHosted
    Launch
  7. 7
    clientMCPtool
    HOSTED Pro
    ncp-aai · mcp-tool-serversAdvanced

    Build an MCP Tool Server & Connect a LangChain Agent

    Build a Model Context Protocol server that exposes your company's tools and data — then connect a LangChain agent to it. Learn how MCP decouples tools from agents, when to use MCP vs Anthropic Skills vs native @tool, and why MCP is the emerging standard for AI tool interop.

    ncp-aai
    40 minHosted
    Launch
  8. 8
    # model-routing-cascade · agent
    POST /api/agent/invoke
    200 OK · graded
    HOSTED Pro
    ncp-aai · model-routing-cascadeIntermediate

    Model Routing & Cost Cascade with NIM

    Save 60–80% on inference by cascading queries through cheap → mid → expensive NIM models. Measure real costs via NIM's usage.cost field and compare against an always-large baseline.

    ncp-aai
    25 minHosted
    Launch
  9. 9
    # agent-evaluation · agent
    POST /api/agent/invoke
    200 OK · graded
    HOSTED Pro
    ncp-aai · agent-evaluationIntermediate

    Evaluate an Agent with LLM-as-Judge

    Build an eval harness that scores agent responses automatically — correctness via a reference-based judge, plus an accuracy metric and A/B comparison. Same pattern used by NeMo Evaluator for production agent evaluation.

    ncp-aai
    30 minHosted
    Launch
  10. 10
    # NeMo Guardrails
    $ rails.check(query)
    jailbreak ....... BLOCKED
    off-topic ....... BLOCKED
    IT query → ALLOWED
    HOSTED Pro
    ncp-aai · safety-guardrailsIntermediate

    Build NeMo Guardrails for an AI Agent: Jailbreak & Topical Rails

    Build a guarded IT support agent that blocks jailbreaks, refuses off-topic questions, and safely handles IT queries — using keyword checks, LLM-based validation, and NeMo Guardrails.

    ncp-aaincp-genl
    35 minHosted
    Launch

Before you start

  • Python basics; you will read and edit short scripts, not write a framework
  • What a tool call is (the model emitting a function name plus arguments)
  • No prior LangGraph experience; the labs introduce nodes, edges and state as they go
Preporato Pro

Every lab in this collection, plus every practice test on the platform

$29.99 per month or $290 per year. Cancel any time. Free labs need only an account.

Frequently asked questions

More lab topics