Skip to main content

Crate neuron_op_react

Crate neuron_op_react 

Source
Expand description

ReAct operator — model + tools in a reasoning loop.

Implements layer0::Operator by running the Reason-Act-Observe cycle: assemble context → call model → execute tools → repeat until done.

Structs§

BarrierPlanner
Barrier planner: batches shared tools; flushes on exclusive.
ReactConfig
Static configuration for a ReactOperator instance.
ReactOperator
A full-featured Operator implementation with a ReAct loop.

Enums§

BatchItem
Planned batches for a turn.
Concurrency
Concurrency hint for tool scheduling (strategy-defined).

Traits§

ConcurrencyDecider
Decide concurrency for a tool by name.
SteeringSource
Optional source of steering messages to inject mid-loop (provider-formatted).
ToolExecutionPlanner
Plan how to execute tool calls this turn (sequencing only).