Skip to main content

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

What’s Next?

Creating Scaffolds

Build custom scaffolds

Built-in Scaffolds

Explore InternalNotes, FileManager, Shell