The Hallway Track
Engineering Insights

How do AI agents actually learn?

Apple Developer (WWDC) · Jun 12, 2026 · Engineering Insights

Apple explains agents learn via notes and tools, and Xcode's agent MD file is injected into every query so keep it short.

“You wouldn't want to put like your entire style guide in there every single time. You'll be eating up a lot of tokens.”

An Apple WWDC session describes how AI coding agents in Xcode learn by documenting their work and using auto-included agent MD files injected into every query. The practical takeaway is to keep these files short to avoid wasting tokens, a useful but fairly generic engineering insight rather than a major industry signal.

ai-agents xcode context-management agent-memory wwdc

Watch / read the original source →