Markdown source

Slides: Your Agent Is Wasting Tokens and You Don't Know It - Erik Hanchett, AWS

Source Video

Your Agent Is Wasting Tokens and You Don't Know It - Erik Hanchett, AWS

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-001.jpg

Slide text:

Costing Too Much

slide-002.jpg

Slide text:

FIX 01 Cache the System Prompt

000 agent = Agent( model=BedrockModel( model_id="claude-sonnet" cache prompt-+default". # cache static prefix

System-prompt=BIG-SYSTEM PROMPT

04 0 86

slide-003.jpg

Slide text:

pix 03 Ofload Big Tool Results

Otool. def fetch-report(id: str) stre 00O Geturn summarize(data, key) data e api-get(id) key store:put(data) 0 10k tokens. B summary + ref # offLoad

slide-004.jpg

Slide text:

Same Agent. Smaller Bill.

Cache the System Prompt

Route by Difficulty

Offload Big Tool Results

Cap Your Tool Loops

Trim the History

slide-005.jpg

Slide text:

Thanks!

Go Deeper

Erik Hanchett

Social Media

ErikCH

Site

programwitherik.com

Classification audit: raw/sources/slide-ai-classification/slides/uiP88SpCi1Q/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.