Skip to main content

Module shared_state

Module shared_state 

Source
Expand description

Thread-safe shared state for parallel agent coordination.

SharedState is a concurrent key-value store scoped to a single ParallelAgent::run() invocation. Sub-agents use SharedState::set_shared, SharedState::get_shared, and SharedState::wait_for_key to exchange data and coordinate.

Structs§

SharedState
Thread-safe key-value store for parallel agent coordination.

Enums§

SharedStateError
Errors from SharedState operations.