Avoiding Prompt Debt & Other Context Failures

QCon San Francisco 2026

Session AI/ML

Avoiding Prompt Debt & Other Context Failures

Wednesday Nov 18 / 03:55PM PST (50 minutes), Ballroom BC at Hyatt Regency, San Francisco

Register

$2,995, Conference (3 days)
Current pricing ends November 10th

Abstract

As agents evolve, prompts get unruly. Edge cases are patched with one-line hotfixes, or with stacked instructions of escalating severity when an issue proves stubborn. Over time, those instructions pile up into a brittle artifact, overfit to an aging model. This is prompt debt, and it’s common.

The problem gets worse when agents start managing their own contexts, accruing history through tool calls, user input, and more. Million-token windows aren’t a panacea: they leave more room for bad information as well as good, and quality degrades long before the window fills.

This talk starts with a deliberately simple agent that patches a bug in a repository, then breaks it in four predictable ways: context distraction, confusion, clash, and poisoning. For each one, we add a small, concrete fix: compacting history, selecting only the tools a task needs, and offloading context to a code environment the agent can explore on demand. You’ll see what each fix changes, what it costs, and when it isn’t worth it. You’ll leave with a way to diagnose context failures in your own agents and coding tools, a vocabulary for naming them, and a repo with the code to get started.

Register

$2,995, Conference (3 days). Current pricing ends November 10th. All pass options.

76% senior dev or higher
1:11 speaker ratio
60+ practitioners

QCon San Francisco 2026 is a three day conference for senior software engineers, architects and team leads. An international program committee of working engineers selects every session. Patterns and practices, not products and pitches.

Share

From the same track

Wednesday 18 November

10:35 Ballroom BC Session AI How Netflix Retrofitted Its SDLC for AI Coding Agents Mark Khuzam Senior Software Engineer @Netflix, Previously Led the Consumer Web Platform Team @OpenTable 11:45 Ballroom BC Session Making Production Legible to Agents: Lessons From Building an Observability MCP Liz Fong-Jones Technical Fellow @honeycomb.io, Developer Advocate, Labor and Ethics Organizer, and Site Reliability Engineer (SRE), Over Two Decades of Experience 13:35 Ballroom BC Session Efficient GPU Agents: Infra for Autonomous LLM Perf Optimization Ben Segal Software Engineer @Parasail 14:45 Ballroom BC Session Dreams on Paper: How Agents Learn from Experience Brian Douglas Co-Founder & CEO @Paper Compute Co., Previously Founded Open Sauced and Led Developer Advocacy @GitHub 15:55 Ballroom BC Session AI/ML Avoiding Prompt Debt & Other Context Failures Drew Breunig CEO & Cofounder CMPND, Editor of O'Reilly's "Context Management Handbook", Writer on AI & Data at dbreunig.com, Previously Data Science & Product Lead PlaceIQ

Current pricing ends November 10th
$2,995, Conference (3 days)

Register