plan abstract method

Future<AiPlan> plan(
  1. AiRunContext context
)

Produces an execution plan for the current run context.

Use context.goal for the submitted task and context.metadata for request-level data. Return tool steps when the agent needs controlled side effects.

Implementation

Future<AiPlan> plan(AiRunContext context);