Markdown source

Slides: Teaching Coding Agents to do Spreadsheets - Nuno Campos, Witan Labs

Source Video

Teaching Coding Agents to do Spreadsheets - Nuno Campos, Witan Labs

Relationship To World's Fair 2026

These slides are extracted from a public AI Engineer YouTube video connected to World's Fair 2026. Speaker-matched clips are supporting context unless later confirmed as exact session recordings; official livestream recordings are day-level/event-level source material.

Related Scheduled Sessions

Extracted Slides

slide-002.jpg

Slide text:

50% → 92%

- 4 months, multiple architectures, and many dead ends

- What mattered most: replacing 15 discrete tools with one REPL

slide-003.jpg

Slide text:

The problem

slide-004.jpg

Slide text:

One dead end

Three specialized agents:

1. Block discovery – identifies workbook structure

2. Edit agent – 5-step process: disambiguate, define end state, plan, execute, verify

3. Question agent – answers questions

Key finding: Rigid architectures don't win

slide-005.jpg

Slide text:

More dead ends

slide-006.jpg

Slide text:

Before vs. After

slide-007.jpg

Slide text:

Code mode vs. REPL

slide-008.jpg

Slide text:

The verification loop

slide-009.jpg

Slide text:

Interface vs. engines

The REPL is an interface — the best one today, because coding is where models are strongest.

The engines — formula calculation, rendering, linting — are the more durable part. They're what close the verification loop, and they compound with each new model.

If for instance agents become as capable at computer use as they are at coding, the interface might change. The engines won't.

slide-010.jpg

Slide text:

Domain knowledge outlived every tool

— We changed tools four times in four months

— The financial domain knowledge improved results on every one of them

Structured as a composable prompt component:

— How to interpret margins, profitability, revenue cascades

— Model type recognition (DCF, LBO, three-statement)

— Communication conventions ($1.2M not $1,234,567.89)

— "Never calculate in your head what the spreadsheet can calculate for you"

It was the most reused component in the system.

slide-011.jpg

Hidden Non-Slide Evidence

Classification audit: raw/sources/slide-ai-classification/slides/HEFSExa0xl0/audit.json

Slide-Derived Subjects To Review

Subject extraction uses video title, related session titles/descriptions, transcript context, and OCR text when available. OCR is best-effort and should be reviewed against the embedded slide images.