Decision-making agent for the ReAct pattern.
This agent evaluates the current context and decides on the next action to take, including whether to plan, act with a tool, or finish and summarize.
Summary
Functions
Receives and processes an InvokeDecisioning event.
Functions
Receives and processes an InvokeDecisioning event.
Evaluates the current context and determines the next action (PLAN, ACT, FINISH).
Parameters
broker: LLM broker for making decisionsevent: InvokeDecisioning event containing current context
Returns
{:ok, [event]}where event is one of: InvokeToolCall, FinishAndSummarize, InvokeThinking, or FailureOccurred