Back to Talks
Type Errors for Better Agent-Assisted Development

Type Errors for Better Agent-Assisted Development

Kyle Into

Date
Tuesday, April 14, 2026
Time
5:10 PM - 5:40 PM
Room
Platinum [2nd Floor]
Talk PyCon: Programming & Software Engineering & Testing
Transcription

As AI coding agents take on larger Python tasks, a practical question emerges: what's the best way to catch the bugs they introduce? Tests are thorough but slow. Linting is fast but shallow. Type checking occupies an interesting middle ground: deep enough to catch semantic errors, fast enough to run on every edit, and concrete enough to tell the agent exactly what to fix.

In this talk, I explore connecting Pyrefly, a Python type checker built at Meta, to Claude Code. I'll walk through integration options and discuss practical considerations like token costs and setup complexity. Whether you're building tools for AI agents or using them in your daily work, you'll leave with a clearer picture of where type checking fits in the agentic development loop.