Scaffold IPC
Scaffolds communicate through agent state - a formal IPC system with source tracking, type safety, and observability.The Problem
Direct scaffold access creates tight coupling:Agent State Solution
Use agent state for formal IPC:State API
Setting State
Getting State
Communication Patterns
Producer-Consumer
Event Broadcasting
State Aggregation
Best Practices
Use descriptive keys
Use descriptive keys
Always specify source
Always specify source
Provide defaults when reading
Provide defaults when reading
What’s Next?
Creating Scaffolds
Build custom scaffolds
Built-in Scaffolds
Explore InternalNotes, FileManager, Shell

