How AI Works — Interactive Visual Guide to AI & Agents
Learn how modern AI models, diffusion, reasoning & test-time compute, RAG, MCP tools, guardrails, multi-agent A2A systems, realtime voice, and autonomous coding agents work step by step in 6 languages.
Interactive Lessons
What Is AI? — From 1950s Rules to 2020s Prediction — Artificial Intelligence is software that performs tasks normally requiring human judgment. Over 70 years, it evolved through four breakthroughs: hand-coded if/e
Autoregressive LLMs: Tokens & Next-Token Probability — Large Language Models do not look up answers in a fact table. They break text into chunks called tokens and predict the most probable next piece, one step at a
Diffusion & Flow Models — And the Universal Agent Wrapper — Autoregressive LLMs are not the only generative engine at Layer 1. Diffusion and Flow Matching models start from random noise and iteratively sculpt entire imag
Reasoning Models & Test-Time Compute — Instead of blurting out the first likely continuation, reasoning models spend internal "thinking tokens" at inference time—exploring candidate branches, checkin
From Chatbot to Agent: The Think–Act–Observe Loop — A plain AI answers in a single guess. An AI Agent runs in a loop: it thinks about a goal, calls an external tool, reads the real-world observation, and repeats
Context Engineering Over Raw Prompting — As tool counts, memory stores, and multi-step traces grow, dumping everything into one giant prompt degrades accuracy and explodes token bills. Modern systems d
Searching a Clean Library Before Answering — Instead of relying on stale training memories, Retrieval-Augmented Generation (RAG) looks up exact company docs first—mixing meaning search with keyword precisi
Giving Agents Safe, Reliable Hands — Great tools are small, clearly described, protected by strict JSON schemas so malformed arguments fail cleanly, and stamped with unique keys so retries never do
Deterministic Harnesses, State Machines & Crash Recovery — LLMs are probabilistic, while production business workflows demand deterministic guarantees. Wrap reasoning inside explicit state machines, dry-runs, durable ch
Firewalls, Glass Boxes & Human Approval Gates — Production agents operate in a messy world filled with private data and hidden prompt traps. Defense-in-depth combines input/output guardrails, sanitization, is
Respecting Privacy & Least-Privilege Keys — An agent acting for an intern must never read executive payroll. Filter documents by user permissions BEFORE retrieval, and issue tiny, short-lived tool tokens
Fast, Budget-Capped & Unbreakable in Production — Real-world traffic brings runaway loops, slow APIs, sudden outages, and random phrasing. Combine hard spend caps, streaming + parallel tools, circuit breakers,
Multi-Agent Systems & Agent-to-Agent (A2A) Coordination — Single general-purpose agents hit context, permission, and reliability ceilings on complex work. Modern architectures split work across specialized agents—Plann
Computer-Use, Browser & Environment Agents — Where clean APIs or MCP servers do not exist, agents increasingly operate directly through GUIs, web browsers, terminals, and OS desktops—reading accessibility
Realtime Multimodal & Voice Agents — Native Live models stream bidirectional audio and video over WebSockets or WebRTC—bypassing slow Speech-to-Text → LLM → Text-to-Speech cascades and allowing use
Autonomous Coding Agents & Sandboxed Self-Repair — Modern coding agents do far more than autocomplete snippets: they explore repositories, plan multi-file changes, edit code, run real compilers and unit tests in
Local, Small & Sovereign Execution — Rather than routing every token to one expensive cloud frontier model, production systems route routine classification, extraction, retrieval, and tool parsing
Evals, Trajectory Drift, Tracing & Safe Rollouts — Shipping an agent is only day one. Modern evals measure multi-step trajectory drift and tool failure modes—not just single-turn answers—backed by self-verificat
Radical Transparency, Citations & Audit Trails — Users trust AI when they can verify every claim via inline citations and inspect an immutable audit trail. Explore the interactive verifier below, then test you
AI & Agent Engineering Knowledge Check · Verify Certificate · Privacy & Cookies