Skip to main content
StateOwnership controls which agents can write to which parts of shared state. Prevents agents from overwriting each other’s work.

Basic Usage

Pattern Matching

Use glob patterns for paths:

Multiple Owners

Sometimes multiple agents need write access:

Ownership Modes

Transferring Ownership

Checking Ownership

Integration with SharedState

Best Practices

Set up all ownership rules before the workflow starts.
research.*, content.*, review.* - clear who owns what.
Better to be too restrictive than too permissive.
Even in advisory mode, violations indicate design issues.