Glossary · Term

Monte Carlo simulation

← all terms

Definition

Plain language

Running a process thousands of times with random inputs to learn the shape of its outcomes.

As stated in the literature

A computational technique that samples random inputs from learned or assumed distributions to estimate properties of a system; in Agent JIT, used to choose execution strategies by simulating per-element latency draws.

Also called: Monte Carlo

Why it matters: It's the go-to way to reason about systems where the math is intractable but you can simulate the underlying randomness cheaply.

For example, to estimate how long a batch job will take, you draw thousands of random per-item latencies and add them up.

Heard on the show

“The search is Monte Carlo Tree Search — MCTS — the algorithm famous from Go engines.”
Episode 177 — Why Raw Profiler Data Made an AI Worse at Writing GPU Code

Mentioned in 8 episodes

  1. 177
    Why Raw Profiler Data Made an AI Worse at Writing GPU Code
  2. 173
    The Free Step-Level Grader Hiding in Every RL Training Run
  3. 139
    When Optimizing One GPU Kernel Quietly Breaks the Whole System
  4. 068
    The OS Trick That Makes Tree Search Practical for Coding Agents
  5. 064
    When Agent Memory Stops Being a Database and Starts Being a Skill
  6. 063
    Why Web Agents Are Slow: A Compiler-Style Fix for Computer-Use Latency
  7. 013
    Why Search Keeps Rediscovering the Same Workflow, and What That Means
  8. 008
    Why Long-Horizon AI Agents Get Stuck, and a Milestone-Based Fix That Helps

Related concepts

Related terms