Editorial mode All demos are local and illustrative — nothing is executed
// Agent Lab · 6 modules + field notes

The Agent Lab

A hands-on workbench for understanding autonomous AI. Every module runs entirely in your browser with fixed example data. No models are called, no accounts are connected and no actions leave this page.

Streams of green digital characters cascading on a dark screen, evoking an experimental computing lab
Editorial stock imagery · illustrative
Module 01 / 06Educational · non-executing
// Agent Workflow Simulator

From goal to verified result

Step through a typical agent loop — goal intake, planning, tool selection, execution, evaluation, and completion or escalation. Toggle the escalation branch to see a responsible stop.

What this demonstrates

The conceptual stages common to many agent designs and where checks fit.

What it does not establish

How any specific product works internally, or how often real agents succeed.

Module 02 / 06Educational framework
// Autonomy Level Explorer

Four levels of delegation

Compare permissions, supervision, failure modes and suitable use cases across levels. Use arrow keys to move between tabs.

What this demonstrates

A practical vocabulary for deciding how much to delegate.

What it does not establish

A universal industry standard. Vendors and researchers use different taxonomies.

Module 03 / 06Simulated · no tools called
// Tool Selection Playground

Which tools would a task need?

Pick a hypothetical task to see the tool categories an agent might require, the access level each implies, and which ones warrant approval.

What this demonstrates

How tool scope and access level shape risk.

What it does not establish

That any agent would choose these tools; real selection is model-driven and variable.

Module 04 / 06Illustrative workflow
// Human-in-the-Loop Explorer

Where should a person step in?

A support-operations workflow with seven steps. Toggle human gates — approval, review, cancellation or escalation — and watch unguarded high-risk actions update.

What this demonstrates

Risk-proportionate placement of human checkpoints.

What it does not establish

That gates alone make a system safe — reviewers need time, context and authority.

Module 05 / 06Hypothetical scenarios
// Agent Failure Lab

Six ways agents go wrong

Composite scenarios based on documented failure categories. Reveal safeguards and recovery strategies for each.

What this demonstrates

Common failure patterns and layered mitigations.

What it does not establish

That these incidents happened with a particular product, or their frequency.

Module 06 / 06Documented information only
// Agent Comparison Explorer

Side by side, no scores

Choose any two Agent Index entries to compare type, execution model, supervision, deployment, pricing notes, integrations and limitations.

What this demonstrates

Structural differences drawn from provider documentation.

What it does not establish

Which system is “better”. Fit depends on your task, data and risk tolerance.

// Field notes

Twelve explainers

Concise, sourced notes on how agents work and how to deploy them responsibly. Claims are scoped to the strength of the evidence.

FN-01Agents vs chatbots vs scripts

A chatbot answers; a script follows fixed steps; an agent lets the model choose the next action in a loop using tools. Many production systems blend these: deterministic workflows with model-driven steps inside. Anthropic recommends starting with the simplest pattern that works.

Source: Anthropic, Building effective agents (Dec 2024)

FN-02How agents decompose goals

Agents may write an explicit plan up front or reason step by step, interleaving thoughts and actions (the ReAct pattern). Explicit plans are easier to review; interleaved reasoning adapts better to surprises. Both can omit steps or invent resources.

Source: Yao et al., ReAct (2022)

FN-03How tool calling works

The model doesn't execute anything itself. It emits a structured request — a function name and arguments matching a schema — and the surrounding application runs it and returns results. Standards such as the Model Context Protocol aim to make tools reusable across applications.

Sources: OpenAI function calling guide · Model Context Protocol

FN-04Memory and retrieval

Context windows are finite. Longer tasks rely on summaries, scratchpads, persisted state and retrieval-augmented generation, which fetches relevant documents at query time. Retrieval improves grounding but can surface outdated or malicious content.

Source: Lewis et al., Retrieval-Augmented Generation (2020)

FN-05Multi-agent coordination

Frameworks such as AutoGen, CrewAI and LangGraph support patterns where agents delegate to specialists or a supervisor routes work. Benefits include separation of concerns; costs include more model calls, latency and new failure modes like loops.

Source: Wu et al., AutoGen (2023)

FN-06How coding agents work

Coding agents read repositories, edit files, run tests and iterate on failures, typically inside a sandbox or with per-command approval. Their output should be treated as a proposed change requiring review and CI.

See: OpenAI Codex · Claude Code

FN-07How browser agents work

Browser and computer-use agents interpret screenshots or page structure, then click, type and scroll. They're flexible but slower and more brittle than direct APIs, and every page they read is a potential injection vector.

See: ChatGPT agent · OSWorld (2024)

FN-08Measuring agents

Useful metrics include task completion against clear criteria, correctness on spot checks, steps per task, latency, cost per completed task and intervention rate. Public benchmarks are useful signals but rarely mirror your data, tools or stakes — build task-specific evaluations.

See: SWE-bench · GAIA (2023)

FN-09Why agents fail or stop early

Errors compound across steps: an early misreading propagates. Models can hallucinate tool results, misjudge completion, loop or give up when tools return unexpected formats. Self-reflection techniques help in some settings but do not eliminate these issues.

Source: Shinn et al., Reflexion (2023)

FN-10Agent security risks

Key risks: prompt injection (direct and indirect), excessive agency, sensitive information disclosure and improper output handling. Mitigations combine least privilege, input/output validation, isolation and human approval for high-impact actions.

Sources: OWASP Top 10 for LLM Applications · Greshake et al. (2023)

FN-11Gates, limits, logs and rollback

Approval gates before irreversible actions; budgets on steps, time and spend; complete logs of prompts, tool calls and results; and rollback via versioning, staging environments or reversible operations. Together these make failures recoverable rather than catastrophic.

Framework: NIST AI Risk Management Framework (Jan 2023)

FN-12Deploying agents safely

Start with low-risk, reversible, well-defined tasks. Pilot at L1–L2, measure intervention rates, then widen scope only where evidence supports it. Assign a human owner, document permissions, red-team for injection and keep an off-switch.

Further reading: OWASP, Agentic AI – Threats and Mitigations (2025)