neuron-turn-kit
Planning and execution primitives for a single agent turn — focused on sequencing and concurrency only. These traits are intentionally narrow and do not bake in provider streaming, hooks, or operator concerns; those live at higher layers (e.g., operator implementations).
Contents:
- Concurrency and ConcurrencyDecider — classify tool calls as Shared vs Exclusive
- ToolExecutionPlanner and BarrierPlanner — sequence tool calls into batches
- SteeringSource — optional source of mid-loop steering messages
- BatchExecutor — run batches, with a simple sequential baseline executor
Example: planning with a barrier.
use ;
;
let calls = vec!;
let planner = BarrierPlanner;
let plan = planner.plan;
assert!;