AI Agent Labs
Install, configure and build with open-source AI agents, running locally against a model on your computer: no API key and no token bill.
83 labs.
Install OpenClaw and Bring Up the Gateway
Beginner · 30 min · Free
In this foundational lab you will install the OpenClaw CLI inside the toolbox container, run the interactive onboarding wizard to generate your initial configuration, start the OpenClaw daemon…
Run OpenClaw Fully Offline with a Local Ollama Model
Beginner · 30 min
In this foundational lab you will install the OpenClaw AI agent framework, point it at the Ollama sandbox that is already running on your local network, and prove that every inference call stays on…
Build and Invoke a Custom OpenClaw Shell-Out Skill
Intermediate · 30 min
In this lab you will install OpenClaw, write a custom skill that shells out to a local Bash script, register it with the OpenClaw gateway, and then invoke it through a natural-language prompt sent to…
Walk the OpenClaw Workspace: Sessions, History, and Resuming Conversations
Beginner · 30 min
In this foundational lab you will install OpenClaw, start its gateway against a local Ollama model, send your first messages, inspect the session and history files it writes to disk, simulate a…
OpenClaw Filesystem Access: Read, Summarise and Rewrite a Project File
Intermediate · 30 min
In this lab you will install OpenClaw, start its gateway, register a scoped filesystem tool that constrains all file access to a single working directory, and then drive the agent to read a project…
Install, Inspect, and Disable an OpenClaw Plugin from ClawHub
Intermediate · 30 min
In this lab you will install OpenClaw, connect it to your local Qwen model sandbox, then work through the full plugin lifecycle: pulling a plugin from ClawHub, reading its declared permissions, and…
OpenClaw Message Queue Channel: Agent-Powered Request/Reply
Intermediate · 30 min
In this lab you will wire up a local OpenClaw agent that reads work items from a file-backed message queue channel, processes each item with the local qwen2.5:3b model, and writes replies back on the…
Persistent OpenClaw: docker-compose with Surviving Volumes
Advanced · 30 min
In this advanced deployment lab you will wire OpenClaw into a production-grade docker-compose stack that mounts a named volume at /root/.openclaw.
Lock OpenClaw Down: Pairing Approval, Per-Skill Permission Scoping, and Shell Command Allowlisting
Advanced · 30 min
In this advanced security lab you will harden a fresh OpenClaw installation by enabling three layered defences: (1) gateway pairing approval so no new client can connect without explicit consent, (2)…
Autonomous File Triage & Daily Digest with OpenClaw
Advanced · 30 min
In this advanced lab you will build a fully autonomous OpenClaw automation that watches a drop directory for incoming files, uses the local qwen2.5:3b model to triage each file (classify it, extract…
Configure Hermes: Persistent Model, Backend, and Tool Defaults
Beginner · 30 min
In this foundational lab you will install Hermes Agent inside the toolbox container, then wire up a `cli-config.yaml` and a `.env` file so that every time Hermes starts it already knows which local…
Hermes Agent: Install, Diagnose, and First-Run Setup Against a Local Model
Beginner · 30 min
In this foundational lab you will install Hermes Agent inside the toolbox container, verify your environment with `hermes doctor`, wire Hermes to the local Ollama sandbox running `qwen2.5:3b`, and…
Shape Agent Behaviour with SOUL.md, USER.md and AGENTS.md
Intermediate · 30 min
Hermes Agent reads three plain-text files at startup to decide *who it is*, *who it is talking to*, and *how it should coordinate with other agents*.
Tour the Hermes Toolsets: Discover, Enable, and Trace Tool Calls
Beginner · 30 min
In this foundational lab you will install Hermes Agent inside the toolbox container, wire it to the local qwen2.5:3b model running in the Ollama sandbox, and then methodically explore its toolset…
Hermes Session Memory: Full-Text Search and Fact Recall
Intermediate · 30 min
In this lab you will install and configure the Hermes Agent against a local qwen2.5:3b model, then exercise its agent-curated memory system.
Connect Hermes to an MCP Server and Call a Tool
Intermediate · 30 min
In this lab you will install Hermes Agent inside the toolbox container, spin up a minimal Model Context Protocol (MCP) server using the official `mcp` Python SDK, register that server as an MCP…
Teach Hermes to Remember: Generate, Review, and Re-Run a Custom Skill
Intermediate · 30 min
In this lab you will install and configure Hermes Agent against a local qwen2.5:3b model, then walk through the full self-generated skill lifecycle: ask Hermes to write a reusable skill for a…
Harden Hermes: Route All Tool Calls Through Docker Containers
Advanced · 30 min
By default, Hermes Agent executes tool calls directly on the host process. This is a significant security risk — a misbehaving or malicious tool invocation can read host files, exfiltrate environment…
Run the Hermes Gateway as a Persistent Service with Request Logging and Clean Shutdown
Advanced · 30 min
In this advanced deployment lab you will install Hermes Agent inside the toolbox container, configure it to talk to the local qwen2.5:3b model, stand up its HTTP messaging gateway as a long-running…
Drive a Codebase with Hermes: ripgrep Search, Multi-File Edits, and Running the Test Suite from the Agent Loop
Advanced · 30 min
In this advanced lab you will install Hermes Agent inside the toolbox container, wire it to the local qwen2.5:3b model, scaffold a small Python project with a real test suite, and then drive the…
Build Your First CrewAI Crew: Two Agents, One Goal
Beginner · 30 min
In this foundational lab you will install CrewAI, wire it to the local qwen2.5:3b model running in your sandbox, and build a minimal but complete crew: two agents (a Researcher and a Writer), each…
Run a CrewAI Crew Locally with Ollama — No API Key Required
Beginner · 30 min
In this foundational lab you will wire CrewAI to a locally-running Ollama model (qwen2.5:3b) through the langchain-ollama integration.
Pass Work Between CrewAI Tasks with Context
Beginner · 30 min
Learn how CrewAI tasks share information through the context mechanism. You will build a two-agent crew where the first agent researches a topic and the second agent explicitly receives that output…
Build a Custom CrewAI Tool with @tool and Let an Agent Decide When to Use It
Intermediate · 30 min
In this lab you will install CrewAI, write a custom tool using the @tool decorator, wire it to an agent backed by a local qwen2.5:3b model, and verify that the agent autonomously decides to invoke…
Hierarchical CrewAI: Manager Agent Delegating to Specialists
Intermediate · 30 min
Build a hierarchical CrewAI crew where a manager agent orchestrates two specialist agents — a researcher and a writer — to collaboratively produce a short report.
Force Structured Output from a CrewAI Task with a Pydantic Model
Intermediate · 30 min
In this lab you will build a CrewAI pipeline that forces a task to return a validated Pydantic model instead of raw text. You will define a Pydantic schema, wire it into a CrewAI Task via the…
Build a Research-and-Write Crew with Local Documents
Advanced · 30 min
In this advanced lab you will assemble a two-agent CrewAI crew that operates entirely on local data. A Researcher agent reads markdown documents from a local folder using CrewAI's DirectoryReadTool…
CrewAI Memory: Persistent Recall Across Executions
Intermediate · 30 min
In this lab you will enable CrewAI's built-in memory system so that a crew retains knowledge from one Python run and can recall it in a completely separate second run.
CrewAI Flows: Deterministic Control with Branching, Retries, and Shared State
Advanced · 30 min
In this advanced lab you will build a CrewAI Flow that wraps a real crew inside deterministic Python control logic. You will implement branching between flow steps based on crew output, automatic…
Bound a CrewAI Run: Max Iterations, Task Timeouts, and Step-Logging Callbacks
Advanced · 30 min
In production, an unbounded AI crew can spin forever, burn resources, or produce silent failures. This lab teaches you to put hard guardrails on a CrewAI run: capping how many reasoning iterations…
Build a Minimal LangGraph StateGraph
Beginner · 30 min
In this foundational lab you will build a minimal LangGraph StateGraph from scratch inside the toolbox container. You will define a typed state using Python's TypedDict, wire up two nodes connected…
Run the Prebuilt LangGraph ReAct Agent with a Local Ollama Tool
Beginner · 30 min
In this foundational lab you will install LangGraph, connect it to a locally running Ollama model (qwen2.5:3b), bind one custom Python tool to the prebuilt ReAct agent, and verify the agent correctly…
Branch on State: Conditional Edges in LangGraph
Beginner · 30 min
Learn how LangGraph routes execution through a graph by adding conditional edges that inspect state and choose the next node dynamically.
Build a Tool Node by Hand in LangGraph
Intermediate · 30 min
In this lab you will implement a custom tool node from scratch inside a LangGraph StateGraph. Instead of relying on the prebuilt ToolNode, you will manually parse the tool call that the LLM emits,…
Human-in-the-Loop: Interrupt Before a Destructive Step
Intermediate · 30 min
In this lab you will build a LangGraph StateGraph that simulates a data-pipeline workflow. Before the graph executes a destructive 'delete records' step it pauses and waits for explicit human…
Persist a LangGraph Run with a SQLite Checkpointer
Intermediate · 30 min
In this lab you will build a stateful LangGraph conversation graph, attach a SQLite-backed checkpointer so every state transition is durably stored, run the graph in one Python process, then resume…
Compose Subgraphs: Parent Graph Orchestrating a Self-Contained Child Graph
Advanced · 30 min
In this advanced LangGraph lab you will build a two-level graph composition: a **child graph** that owns its own `TypedDict` state schema and runs a mini summarisation pipeline, and a **parent…
Stream LangGraph Output Token by Token and Per Node
Intermediate · 30 min
In this lab you will build a multi-node LangGraph pipeline that streams its output in real time — both token-by-token from the language model and node-by-node as the graph executes.
Time Travel with LangGraph: Rewind and Re-execute Checkpointed State
Advanced · 30 min
In this advanced lab you will build a multi-step LangGraph pipeline that persists every execution step to an in-memory checkpointer.
Expose MCP Resources and Tools, Then Fetch a Resource by URI
Beginner · 30 min
In this lab you will build a minimal Model Context Protocol server that exposes both **tools** (callable functions) and **resources** (static or dynamic content addressable by URI).
Read the MCP Handshake: Initialize, Capability Negotiation, and Tool Listing
Beginner · 30 min
In this lab you will build a minimal MCP server from scratch, then use the MCP Inspector CLI to walk through every phase of the Model Context Protocol handshake: the initialize request, the…
Build a Minimal MCP Server Over stdio and Call It from the MCP Inspector
Beginner · 30 min
In this foundational lab you will scaffold a minimal Model Context Protocol (MCP) server that communicates over stdio, register one tool on it, and then exercise that tool interactively using the MCP…
MCP Prompts with Arguments: Build a Parameterised Workflow Server
Intermediate · 30 min
In this lab you will build a Model Context Protocol server that exposes named prompts with typed arguments. MCP prompts are reusable message templates that a client (or agent) can render on demand by…
Validate MCP Tool Inputs with JSON Schema and Return Protocol Errors
Intermediate · 30 min
In this lab you will build a Model Context Protocol (MCP) tool server in Node.js that enforces strict JSON Schema validation on every tool call.
Serve MCP over Streamable HTTP and Connect a Remote Client
Intermediate · 30 min
In this lab you will move a Model Context Protocol server from the default stdio transport to the streamable HTTP transport introduced in MCP 1.1.
Wrap a Local Database as an MCP Server with Read-Only Query Tools and a Schema Resource
Intermediate · 30 min
In this lab you will build a Model Context Protocol (MCP) server in Node.js that wraps a local SQLite database. The server exposes two read-only query tools (`run_query` and `list_tables`) and a…
Wire an MCP Server into an Agent Loop with a Local Model
Advanced · 30 min
In this advanced lab you will build a Model Context Protocol (MCP) tool server from scratch, expose real tools over stdio, verify them with the MCP Inspector, and then write a fully autonomous agent…
Sandbox a Filesystem MCP Server: Path Allowlisting, Traversal Denial, and Escape Proof
Advanced · 30 min
In this advanced lab you will build a custom Model Context Protocol filesystem server from scratch, harden it with strict path allowlisting, implement directory-traversal attack detection, and then…
Multi-Server MCP Gateway: Tool Collision Resolution and Audit Logging
Advanced · 30 min
In this advanced lab you will run two independent MCP tool servers behind a single client gateway, handle tool name collisions by namespacing, and capture a structured audit log of every tool…
Cyclic Self-Correcting LangGraph: Generate, Critique, Revise with Loop Guard
Advanced · 30 min
Build a stateful LangGraph pipeline that cycles through three nodes — Generate, Critique, and Revise — until the critique node signals the output is acceptable or a hard loop counter stops runaway…
Build a CrewAI Research Crew on Claude: Planner + Writer Agents
Intermediate · 30 min
In this lab you will build a two-agent CrewAI crew powered by Claude (claude-sonnet-4-6). A Planner agent decomposes a research question into sub-questions, then a Writer agent answers the original…
Budget Your CrewAI Agent: Cap Iterations, Limit Tokens, and Track Costs
Intermediate · 30 min
In this lab you will wire a real CrewAI agent to your own OpenAI account and learn the three levers that keep a run from running away with your budget: capping the maximum number of agent iterations,…
Self-Correcting LangGraph on Claude: Generate, Critique, Revise
Advanced · 45 min
Build a production-grade self-correcting AI pipeline using LangGraph and Claude. You will implement a StateGraph where one node generates content, a second node critiques it against a structured…
Hierarchical CrewAI on Claude: Manager-Delegate Orchestration with Acceptance Criteria
Advanced · 45 min
Build a production-grade hierarchical CrewAI system powered by Claude where a manager agent delegates work to specialist agents and enforces its own acceptance criteria — rejecting and re-requesting…
LangGraph ReAct Agent: Three-Tool Orchestration with GPT-4o
Intermediate · 30 min
Build a LangGraph ReAct agent powered by GPT-4o that is equipped with three distinct tools — a calculator, a unit converter, and a simple in-memory key-value store — then drive it through a…
Route Between Models in LangGraph: Cheap vs. Hard Reasoning
Advanced · 30 min
Build a LangGraph workflow that intelligently routes user queries between two Gemini model tiers inside the same graph. Simple classification tasks go to the fast, cheap Gemini Flash model, while…
Human-in-the-Loop LangGraph: Interrupt, Approve, and Resume
Advanced · 30 min
Build a LangGraph agent that pauses before executing a destructive tool call, waits for human approval, and resumes from a persisted checkpoint.
Hermes Agent on a Real Codebase: Search, Multi-File Edit, and Test
Intermediate · 30 min
Connect Hermes Agent to your own Anthropic account and put it to work on a real Python project. You will install Hermes, wire it to Claude via your existing API key, clone a small but realistic…
Hermes Self-Skill Engineering: Teach the Agent to Teach Itself
Advanced · 30 min
In this advanced lab you will install Hermes Agent, wire it to your OpenAI account, identify a repetitive multi-step task, let the frontier model generate a reusable agentskills.io-compliant skill…
Run OpenClaw on Your Own OpenAI Subscription: Onboarding, the Gateway, and a First End-to-End Task
Beginner · 30 min
In this foundational lab you will install OpenClaw, wire it to your own OpenAI account (the key is already in your environment), start the gateway control plane, register a custom tool, and run a…
Daily Digest Skill: Summarise a Document Directory with Claude
Intermediate · 35 min
Build an OpenClaw skill that watches a directory of plain-text documents and uses Claude (claude-sonnet-4-6 via the Anthropic Messages API) to produce a concise, readable daily digest.
Wire an MCP Server into a Claude Agent Loop
Intermediate · 35 min
Build a working Model Context Protocol (MCP) server that exposes real tools, then wire it into a Claude-powered agent loop so the frontier model discovers and calls your tools unprompted.
MCP Tool Design: Schema, Naming, and Error Messages That Drive Correct Tool Selection
Advanced · 55 min
In this advanced lab you will build a real MCP tool server, then systematically measure how schema descriptions, tool names, and error messages change the rate at which GPT-4o selects the right tool…
Route a CrewAI Agent Through Your Own OpenAI-Compatible Gateway
Intermediate · 30 min
Learn how to decouple your CrewAI agent from a hard-coded model by pointing it at an OpenAI-compatible gateway such as LiteLLM or OpenRouter.
Small vs Frontier: Benchmarking LangGraph Agents Across Model Tiers
Advanced · 45 min
You will build a rigorous evaluation harness that runs the exact same multi-step agent task against two model tiers — a simulated 'small model' path (using Claude with a heavily constrained system…
OpenClaw Daemon: Directory Watcher with Rule-Based Reactions
Advanced · 30 min
In this advanced lab you will install OpenClaw, start its gateway as a persistent background daemon, define a file-watching skill with an explicit rule filter, and verify that the agent reacts only…
Install OpenClaw and Open Your First Dashboard
Beginner · 30 min
In this foundational lab you will install OpenClaw directly on your own machine, bring up the gateway daemon, explore the Control UI dashboard, and complete your first real agent task — all powered…
Meeting Notes to Weekly Summary: An OpenClaw Skill
Intermediate · 35 min
Build a real, working OpenClaw skill that watches a folder of meeting notes on your own machine and distils them into a readable weekly summary file.
Let OpenClaw Tidy Your Downloads Folder
Intermediate · 30 min
In this lab you will wire up OpenClaw as a local automation agent that inspects your real ~/Downloads folder, classifies every file by type and age, proposes a tidy-up plan, and only executes the…
Install Hermes Agent, Run a Health Check, and Connect Your Anthropic Account
Beginner · 30 min
In this foundational lab you will install Hermes Agent directly on your machine, verify the installation with the built-in doctor command, configure it to use your own Anthropic API key, and confirm…
Hermes Session Memory Across Days: Recall and Act on Past Decisions
Intermediate · 30 min
In this lab you will experience Hermes Agent's persistent session memory first-hand. You will simulate two separate work sessions — each run as its own named Hermes session — and prove that a…
Hermes Agent: Search, Branch, and Test a Real Git Repository
Intermediate · 30 min
Put Hermes Agent to work on a real git repository that lives on your own machine. You will install Hermes, initialise a sample Python project with tests, then drive the agent through three realistic…
Dual-Surface Agent Control: CLI and Web Gateway with Hermes
Advanced · 30 min
In this advanced lab you will install Hermes Agent directly on your machine, configure its messaging gateway, and prove that a single agent instance can be driven from two completely different…
Build Your First CrewAI File-Reading Crew
Beginner · 30 min
Install CrewAI into your local Python environment and build a multi-agent crew that reads real files from a folder on your machine.
Sandboxed Shell: Giving a CrewAI Agent an Allowlisted Command Executor
Advanced · 30 min
In this advanced lab you will build a CrewAI agent that can run shell commands on your real machine — but only from an explicit allowlist you control.
LangGraph Agent with SQLite Persistence
Intermediate · 30 min
Build a LangGraph ReAct agent that uses a SQLite checkpointer to persist its conversation state to disk. You will install LangGraph, write a graph that reads and writes real files in your lab…
CSV Cleanup Crew: Automated Data Cleaning with CrewAI
Intermediate · 30 min
Build a two-agent CrewAI crew that reads a messy CSV file from your disk, cleans it (fixing headers, removing duplicates, handling blanks, standardising values), writes the cleaned file back to disk,…
Explore MCP Servers Interactively with the MCP Inspector
Beginner · 30 min
The Model Context Protocol (MCP) defines how AI agents discover and call tools, read resources, and use prompts exposed by servers.
Safe Filesystem MCP Server: Path Allowlisting & Inspector-Driven Testing
Intermediate · 30 min
Build a production-quality MCP server in Node.js that exposes your real local filesystem to AI agents — but only the parts you explicitly allow.
Schedule a LangGraph Morning Briefing Agent
Advanced · 45 min
Build a LangGraph agent that gathers a daily briefing — summarising recent files, a weather stub, and a motivational note — then schedule it to run automatically every morning using cron…
Wire a Local Agent to an MCP stdio Server and Watch Claude Pick Tools Unprompted
Advanced · 30 min
In this advanced integration lab you will build a real Model Context Protocol (MCP) tool server from scratch, connect a Python agent to it over stdio transport, and watch the Claude API autonomously…
Desktop Notification Bot: Watch a Log File and Speak Plain Language
Intermediate · 35 min
Build a local LangGraph agent that tails a log file in real time, classifies each new line using an LLM, and fires a desktop notification whenever something genuinely matters — errors, warnings, or…
LangGraph Inbox Triage Bot with Human-in-the-Loop Approval
Advanced · 75 min
Build a production-grade email triage agent using LangGraph that reads a local maildir or exported mail file, classifies each message, proposes a filing action, and waits for explicit human approval…