# Sam Witteveen — 'The Latency Budget - 3 Agent Patterns'

> A hands-on video on how faster inference changes what an AI agent can do within a fixed time limit.

- Org: Sam Witteveen
- Date: 2026-12-04
- Category: video, tutorial
- Source: https://www.youtube.com/watch?v=ggIiousIwMo
- Canonical page: https://ai-tldr.dev/releases/sam-witteveen-latency-budget-agent-patterns-dec04/

## In short

Sam Witteveen explains the latency budget of an AI agent and builds three patterns on SambaNova's SambaCloud: best-of-8 with tests, an agent loop, and fan-out with sub-agents. The video is sponsored by SambaNova.

## What it is

The Latency Budget is a Sam Witteveen video about one idea: every agent has a fixed amount of time to answer, and the speed of the model decides how much work fits inside it. He builds three patterns to show this, running on SambaNova's SambaCloud, which sponsors the video.

## How it works

The first pattern generates eight answers and keeps the one that passes tests (best-of-8). The second is a standard agent loop that calls tools over several turns. The third fans a task out to sub-agents that work in parallel. Witteveen closes with a section on where SambaCloud's speed comes from.

## Why it matters

Agent builders usually trade quality for response time. Witteveen's framing shows that fast inference lets one request afford extra tries, more loop turns or parallel sub-agents without making the user wait longer.

## Who it's for

developers building LLM agents

## Links

- [Watch on YouTube](https://www.youtube.com/watch?v=ggIiousIwMo)
- [SambaCloud](https://cloud.sambanova.ai/)
