October workshops are openBuild a Search AI Agent$99 early bird

Enroll now
Skip to content

STEMTIQ AI LAB · IDEAS INTO WORKING AGENTS

AI Lab

Explore agents at work. Understand the decisions. Build your own.

Start the first lessonView the learning path
Illustrated lesson previews · Open a lab to run your code.1 / 4

ONE LEARNING PATH · SIX SHORT COURSES

From your first idea
to a tested agent.

Start with the basics. Learn tools, evidence, and evaluation. Then build for a field you care about. Follow 24 bite-sized lessons in order, with real code to run at every step.

Begin the curriculum

Checking this browser’s progress…

Already comfortable with functions and conditions? Review the tools course prerequisites.

UnderstandThree small ideas. Visual steps. Check your thinking.
Build & runPredict the result. Edit code. Inspect output and tool calls.
Explain & extendTry a new input. Keep your evidence. Apply the skill.
01Beginner · 4 interactive lessonsUnderstand agents. Write your first code.What is an agent, and what does the code actually do?
02Beginner · 4 interactive lessonsBuild the agent's control loop.How does a decision become an observable action?

Start here when: Use functions, objects, conditions, and explicit success checks from phase 1.

  1. 2.1A tool needs a clear contractDefine a tool's purpose, argument schema, returned fields, and permitted effects.Learn · code · experiment
  2. 2.2Decide → act → observeDispatch an allowed tool request, feed its result back, and finish within a turn limit.Learn · code · experiment
  3. 2.3What should the agent remember?Separate current task state, an interaction's history, and deliberately retained memory.Learn · code · experiment
  4. 2.4Return something another program can useParse and validate a result, preserve its evidence fields, and handle an error without inventing success.Learn · code · experiment

Your practical outcomeA bounded controller and a result validator that distinguish missing data, unsupported answers, and failed reads.

03Intermediate · 4 interactive lessonsBuild answers on evidence.Where did the answer come from, and is that source enough?
04Intermediate · 4 interactive lessonsTest, debug, and control the work.What happens when a tool fails, a result is wrong, or an action needs permission?
05Advanced · 4 interactive lessonsDesign connected systems.Which architecture and tools fit the task—and which complexity can you avoid?

Start here when: Validate tool calls, enforce permissions, inspect traces, and run an evaluation set.

  1. 5.1Choose a workflow before adding a teamCompare fixed sequences, routing, parallel independent work, and a model-directed loop.Learn · code · experiment
  2. 5.2A proposal must earn acceptanceKeep proposal generation separate from independent verification and bounded revision.Learn · code · experiment
  3. 5.3Connect tools without giving away controlDistinguish local function calls, MCP tool interfaces, and A2A task delegation.Learn · code · experiment
  4. 5.4Run with real libraries and model limitsIdentify the framework, model, runtime, license, data destination, and limits in an actual SDK project.Learn · code · experiment

Your practical outcomeA routed checker, an independently verified proposal, and a permission-aware adapter; plus a downloadable local SDK project to extend.

06Advanced · 4 interactive lessonsMake a project you can explain.Can you show what your agent does, where it fails, and why its design fits your chosen field?
Put your skills to work.Choose a project for your major

The courses are your main path. Coding missions and visual explainers give you extra practice when you want it.

8 MAJOR PATHWAYS · GUIDED PROJECT JOURNEYS

What will you
try first?

Choose a field you are curious about.
Understand a problem, learn the tools, then build and test an agent for that field.

Each major has its own two projects. Choose a major to follow its demos, lessons, and builds together.

Major pathway · Two guided projects

Computer science

Build tools that inspect code and check their own results.

Major pathway · Two guided projects

Business & finance

Check a budget and support a campaign's claims with evidence.

Major pathway · Two guided projects

Engineering

Measure a system and test whether a plan fits its constraints.

1 / 8 · Healthcare

New to agents? Follow the foundations course. These are broad fields of interest; pre-med and pre-law do not require a particular college major.

SMALL LABS. SERIOUS IDEAS.

Curiosity, meet
real understanding.

This is your place to explore how agents work, what they can do, and where they need limits. Every lesson pairs an original explanation with something you can change and test.

Learn from ideas in research and official engineering guidance—including Google DeepMind, Anthropic, OpenAI, Meta, NVIDIA, Amazon, and the open-source community.

Source organizations are not affiliated with or endorsing AI Lab.

Research behind the curriculumOriginal teaching. Traceable ideas. Clear limits.

Research and official engineering guidance inform the mechanisms. We teach them here through original explanations and classroom exercises. Organization names identify sources, not affiliations or endorsements.

Microsoft Research

Defending Against Indirect Prompt Injection Attacks With Spotlighting

Research paper · March 2024

Separating the provenance of retrieved content and user instructions helps address indirect prompt injection.

How the classroom example differs

The paper evaluates particular mitigations and conditions. A classroom filter or trust flag neither implements the full method nor guarantees protection against all attacks.

Amazon Builders’ Library

Caching challenges and strategies

Engineering guidance · Reviewed 13 September 2026 · undated guidance

Reusing observations can reduce dependency calls; cache scope, freshness, and failure behavior need deliberate design.

How the classroom example differs

A room ID is a sufficient classroom cache key only while the task and room facts remain unchanged. Caching does not itself refresh stale information.

MDN Web Docs

JavaScript Guide

Official documentation · Updated 7 November 2025

Functions, objects, conditions, loops, and asynchronous code provide the programming foundations for an agent controller.

How the classroom example differs

Ordinary JavaScript rules do not imply that a language model is running. An execution environment may support only part of the language or its host APIs.

Anthropic

Building effective agents

Engineering guidance · 19 December 2024

Distinguish fixed workflows from model-directed actions; start simply, use tool observations as feedback, and set stopping conditions.

How the classroom example differs

The article notes that its tooling landscape has changed. Its patterns do not establish that a more autonomous or complex system is better for every task.

Yao et al. · ICLR

ReAct: Synergizing Reasoning and Acting in Language Models

Research paper · 2022 preprint · ICLR 2023

Interleave model-generated reasoning and actions with observations from tools or an environment.

How the classroom example differs

A classroom action trace is not private model reasoning. A deterministic teaching loop does not reproduce the paper's models, experiments, or results.

Lewis et al. · NeurIPS

Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks

Research paper · NeurIPS 2020

Combine information retrieval with generation so a model can use external passages while producing an answer.

How the classroom example differs

The paper uses a trained neural retrieval and generation architecture. A keyword lookup illustrates retrieval but neither reproduces that architecture nor proves a retrieved claim true.

Anthropic

Writing effective tools for agents — with agents

Engineering guidance · 11 September 2025

Design distinct tools with clear parameters, relevant returned information, and evaluations of how the agent actually uses them.

How the classroom example differs

A description or schema does not guarantee the right action. A live tool can return different data for the same arguments as its environment changes.

Meta research team

The Llama 3 Herd of Models

Research paper · 31 July 2024 · revised 23 November 2024

Tool definitions and descriptions guide proposed calls; executed results return to model context. The report covers sequential, nested, and parallel function calls.

How the classroom example differs

This historical model-training report is not a current SDK contract. Generating a call does not execute or authorize it, and benchmark results do not describe classroom performance.

Google · Agent Development Kit

Conversational Context: Session, State, and Memory

Official documentation · Reviewed 13 September 2026 · undated documentation

Separate the current interaction's events and state from searchable information that can span sessions. Choose services according to the required storage lifetime.

How the classroom example differs

In-memory stores lose data on restart. Stored or retrieved information is not automatically true, relevant, persistent, or safe to share between users.

Anthropic

Effective context engineering for AI agents

Engineering guidance · 29 September 2025

Curate limited context, retrieve relevant information, and distinguish compaction, external notes, and separate subagent contexts during longer tasks.

How the classroom example differs

Summaries can lose details. Persistent notes do not change model weights or establish truth, and a larger context window does not guarantee perfect recall.

OpenAI

Guardrails and human review

Official documentation · Reviewed 13 September 2026 · undated documentation

Distinguish automatic checks from approval decisions, pause sensitive tool requests, retain state, and resume after an application approves or rejects them.

How the classroom example differs

Model-generated approval text is not authorization. Resume examples that automatically approve a request do not establish that a person reviewed it.

AWS · Amazon Bedrock AgentCore

Policy in Amazon Bedrock AgentCore: Control Agent Interactions

Official documentation · Reviewed 13 September 2026 · undated documentation

Evaluate identity and tool inputs at a gateway before allowing a call. Treat policy authoring, review, enforcement, and decision logging as separate operations.

How the classroom example differs

The gateway governs capabilities routed through it. A classroom approval check is not an AgentCore integration or a complete production authorization system.

Meta

Llama Guard 4 Model Card

Official documentation · Reviewed 13 September 2026 · undated model card

Classify model inputs and responses under a content policy, including mixed text-and-image inputs; distinguish classification from other system controls.

How the classroom example differs

The classifier has training-data and knowledge limits and can face adversarial attacks. It does not replace permissions or a sandbox. Model weights have a separate community license.

Anthropic

Demystifying evals for AI agents

Engineering guidance · 9 January 2026

Define tasks, trials, and graders; inspect both execution records and final outcomes; repeat trials when model behavior varies.

How the classroom example differs

A score depends on its cases and grading rules. Repeating a deterministic classroom case does not measure the variability of a live model.

OpenAI

Evaluate agent workflows

Official documentation · Reviewed 13 September 2026 · undated documentation

Use traces to locate workflow failures, then apply structured graders and repeatable datasets to compare behavior across changes.

How the classroom example differs

Traces record observable execution, not private model reasoning. Passing selected criteria does not demonstrate correctness on every task or connect this lab to an evaluation service.

NVIDIA

Agent Evaluation in NVIDIA NeMo Agent Toolkit

Official documentation · Version 1.8 observed · reviewed 13 September 2026

Run curated cases, inspect generated answers and intermediate steps, retain effective configurations, and enable profiling when operational measurements are needed.

How the classroom example differs

Different artifacts require different configuration. Scores depend on cases and graders; timing measurements do not establish correctness, and model-based grading is fallible.

AWS · Amazon Bedrock AgentCore

Observe your agent applications on Amazon Bedrock AgentCore Observability

Official documentation · Reviewed 13 September 2026 · undated documentation

Use instrumented traces and operational measurements to inspect execution, intermediate outputs, duration, errors, and reported model usage.

How the classroom example differs

Monitoring does not enforce a budget or make an answer correct. Tool calls, tokens, elapsed time, and money are different quantities; simulated models provide no real token bill.

Amazon Builders’ Library · Marc Brooker

Timeouts, retries, and backoff with jitter

Engineering guidance · PDF copyright 2019 · reviewed 13 September 2026

Handle transient failures with timeouts and bounded retries, consider backoff and jitter, and establish whether repeating an operation is safe.

How the classroom example differs

Retries can amplify overload or duplicate side effects. Three immediate classroom attempts are an exercise rule, not a universal policy for real services.

LangChain

LangGraph Graph API quickstart

Official documentation · Reviewed 13 September 2026 · maintained documentation

Connect a model node, executable tools, returned messages, and a conditional route that continues the loop or ends the run.

How the classroom example differs

The graph library does not supply a model or guarantee correct calls. The optional local toolkit needs its own model runtime; this browser simulator does not execute LangGraph.

NVIDIA

NVIDIA NeMo Agent Toolkit Overview

Official documentation · Version 1.8 observed · reviewed 13 September 2026

Compose agent and tool components, inspect workflow measurements, connect MCP tools, and delegate tasks through A2A client/server integrations.

How the classroom example differs

Protocol support does not establish trust or permission. An open-source library does not make every connected model free, local, or available inside a browser.

Model Context Protocol

Tools

Official documentation · Specification revision 25 November 2025

Specify tool discovery, input schemas, invocation, and returned results across a client/server connection.

How the classroom example differs

Schemas and annotations do not authorize an action. Clients must not trust annotations from untrusted servers; transport and access controls need separate consideration.

Zhou et al. · Carnegie Mellon University

WebArena: A Realistic Web Environment for Building Autonomous Agents

Research paper · 2023 preprint · ICLR 2024

Evaluate browser agents in reproducible website environments, checking functional outcomes rather than requiring one exact sequence of actions.

How the classroom example differs

This research benchmark does not represent every website or permission boundary. Classroom examples are not WebArena results, and historical model scores are not current rankings.

Jimenez et al. · SWE-bench research team

SWE-bench: Can Language Models Resolve Real-World GitHub Issues?

Research paper · ICLR 2024 · original benchmark

Evaluate patches against repository issues and executable tests using a reproducible harness. Inspect the actual code change and its tested behavior.

How the classroom example differs

Benchmark variants cover different tasks. Passing a repair case does not establish general coding ability or that a patch meets every unstated requirement.

Google DeepMind

AlphaEvolve: A Gemini-powered coding agent for designing advanced algorithms

Engineering guidance · 14 May 2025 · research-system article

Propose programs, execute and score candidates, then use evaluation feedback and a program database to guide later proposals.

How the classroom example differs

This research-system description is not a classroom SDK. A bounded practice loop is an adaptation, not a reproduction of AlphaEvolve or its scientific results.

Schick et al. · Meta AI research

Toolformer: Language Models Can Teach Themselves to Use Tools

Research paper · 9 February 2023 · v1 reviewed 14 September 2026

Distinguish model training for selecting API calls and incorporating results from the application code that validates and executes those calls.

How the classroom example differs

Declaring a function does not perform Toolformer's training procedure. Tool-use training does not authorize a call or establish that every proposed argument is valid.

Shinn et al. · NeurIPS

Reflexion: Language Agents with Verbal Reinforcement Learning

Research paper · 20 March 2023 · v4 revised 10 October 2023 · reviewed 14 September 2026

Use feedback from an attempted task to form a textual note that can inform a later attempt, without updating model weights.

How the classroom example differs

The feedback or its interpretation can be wrong. A stored note neither guarantees improvement nor fixes a failed service; this lesson does not reproduce the paper's experiments.

Yao et al. · NeurIPS

Tree of Thoughts: Deliberate Problem Solving with Large Language Models

Research paper · 17 May 2023 · v2 revised 3 December 2023 · reviewed 14 September 2026

Generate and evaluate alternative intermediate candidates, then explore them with bounded search and optional backtracking.

How the classroom example differs

Model-generated evaluations are heuristics and can reject a useful branch. Results on the paper's tasks do not guarantee that broader search improves every task or makes a classroom controller a reasoning model.

Park et al. · UIST

Generative Agents: Interactive Simulacra of Human Behavior

Research paper · 7 April 2023 · v2 revised 6 August 2023 · reviewed 14 September 2026

Connect recorded observations, selected memories, generated reflections, and later plans in a simulated environment.

How the classroom example differs

Believable behavior by virtual characters does not validate claims about real students. A model-generated reflection is an inference, and the lesson's temporary store is not the research architecture.

Liu et al. · AgentBench research team

AgentBench: Evaluating LLMs as Agents

Research paper · 7 August 2023 · v3 revised 4 October 2025 · reviewed 14 September 2026

Evaluate agent behavior in distinct interactive environments and keep the task, environment, and evaluation procedure visible when interpreting a result.

How the classroom example differs

Its eight environments do not represent every deployment. Historical model results are not current rankings, and a classroom pass rate cannot be compared with AgentBench results.

Google DeepMind

SIMA 2: An Agent that Plays, Reasons, and Learns With You in Virtual 3D Worlds

Engineering guidance · 13 November 2025 · research-system article reviewed 14 September 2026

Show that agents can act in virtual 3D environments and still require observations, task checks, and explicit limits.

How the classroom example differs

The article identifies challenges in long tasks, memory, visual understanding, and precise actions. This lab does not run SIMA 2, reproduce its training, or establish real-world physical capability.

OpenAI

OpenAI Agents SDK for Python: introduction

Official documentation · Reviewed 14 September 2026 · maintained documentation

Identify the SDK's model-and-tool agent abstraction, execution loop, validation hooks, delegation, sessions, and tracing as separate application mechanisms.

How the classroom example differs

An SDK is not a model or an assurance of correct behavior. This browser JavaScript environment does not install or execute the Python SDK, and a real provider setup has its own requirements.

OpenAI

Agent orchestration — OpenAI Agents SDK

Official documentation · Reviewed 14 September 2026 · maintained documentation

Distinguish code-directed control from model-selected steps, a manager calling a specialist as a tool, and a handoff that changes the active agent.

How the classroom example differs

These patterns have different control flow and tradeoffs. Naming several roles does not establish independence, permission, or better results; the classroom routes are ordinary JavaScript.

LangChain Academy

Foundation: Introduction to LangGraph — Python

Official documentation · Reviewed 14 September 2026 · undated public syllabus

Identify state, reducers, human feedback, parallel work, and subgraphs as distinct concepts to learn when composing an agent workflow.

How the classroom example differs

Only the public syllabus was inspected; enrolled lectures and notebooks were not accessed. Our JavaScript lessons, order, code, and student exercises are original rather than copies of this course.

LangChain · LangGraph

Graph API overview

Official documentation · Reviewed 14 September 2026 · maintained documentation

Represent work as nodes and edges over state, and choose how each state key combines updates through a reducer.

How the classroom example differs

An update may replace a value rather than append to it unless the configured reducer says otherwise. Drawing a graph does not establish concurrency, correct state merging, or a model connection.

LangChain · LangGraph

Persistence

Official documentation · Reviewed 14 September 2026 · maintained documentation

Distinguish thread-scoped checkpoints from a store used across threads, and select storage according to the desired lifetime.

How the classroom example differs

An in-memory checkpointer is not durable across a process restart. The classroom fixture, the browser's saved draft, and a real framework checkpoint are different stores.

LlamaIndex

Querying

Official documentation · Reviewed 14 September 2026 · maintained documentation

Separate retrieval, postprocessing of retrieved candidates, and response synthesis rather than treating a search result as a completed answer.

How the classroom example differs

Retrieval or filtering can leave no useful source. A query engine does not establish that an answer is factually supported, and this browser lab does not run the Python framework.

Hugging Face · Agents Course

Introduction to Agentic Frameworks

Official documentation · Reviewed 14 September 2026 · undated public course page

Compare the roles of frameworks such as smolagents, LlamaIndex, and LangGraph after understanding the agent loop; simple tasks may use ordinary code.

How the classroom example differs

Framework examples are not interchangeable APIs or evidence that a framework is required. No course exercise, model-performance claim, or certification is reproduced here.

DeepLearning.AI · LangChain

AI Agents in LangGraph

Official documentation · Reviewed 14 September 2026 · undated public indexed course overview

Use a build-first, framework-second learning sequence to connect basic agent mechanics with graph-based orchestration.

How the classroom example differs

Direct course-page access failed during review; only the primary-domain indexed public overview was available. No enrolled lectures or notebooks were read, and our classroom exercise does not reproduce the course.

OpenAI Cookbook

Build an Agent Improvement Loop with Traces, Evals, and Codex

Engineering guidance · 12 May 2026 · reviewed 14 September 2026

Turn observed traces and reviewed feedback into reusable evaluation cases, then check a proposed change against recorded conditions.

How the classroom example differs

The live Python/API example was inspected, not executed. Our authored browser cases do not connect to its services, validate a live-model improvement, or establish educational effectiveness.

Optional practice library10 coding missions, 7 visual explainers, and 5 field simulations · Practice a course skill

Common essentials · Extra practice

Practice the shared coding skills

Short, general exercises in tools, evidence, and testing. Apply these skills in the major project you choose above.

Checking this browser’s progress…

Prefer to see an idea first?7 visual explainers · Read, change a simulation, and check your understanding
Take the idea into a field you care about5 guided simulations · Coding, research, law, business, and engineering

A few things before you start

What is an AI agent?

An AI agent is a system that uses a model to choose steps toward a goal, often by calling tools and using their results to decide what to do next. A fixed sequence of programmed steps is a workflow. The first lessons help you tell these apart.

Can I start without knowing how to code?

Yes. Start with the model–tool distinction, then learn JavaScript values, objects, functions, and conditions. Each lesson explains a small idea before you edit a working starter and compare test cases.

Is AI Lab free, and do I need an account?

The lessons and browser coding labs are free to explore without an account or an API key. Curriculum drafts and progress are saved in your current browser. The live workshops are separate programs.

Does the coding lab use a live AI model?

Your JavaScript executes in an isolated runtime. Model choices, school records, and tool responses are authored classroom simulations. A separate optional local SDK project shows real framework integration; it needs its own setup.

What will I be able to build?

You can build and test a bounded tool loop, retrieve evidence, handle errors, and check proposed actions. Then apply those skills to a guided student-life or career-interest project, such as a study planner, evidence helper, or patch reviewer.

Which learning path should I follow?

Start with course 1 if you are new to coding. The six short courses move through foundations, tools, evidence, reliability, agent systems, and a final build. Each course lists its prerequisites, four lessons, and a practical checkpoint. Choose a major project when you want to apply these skills to a field; extra coding missions and visual explainers are optional practice.

Your JavaScript really runs. The model decisions and school data are authored simulations, so you can learn without an API key. Every workspace also includes a separate real SDK example to explore next. Passing the lab’s cases is practice, not proof that an agent is ready for real-world use.