Variable: DEFAULT\_AGENT\_MAX\_STEPS
constDEFAULT_AGENT_MAX_STEPS:25=25
Default per-turn step ceiling applied to every registered agent
when MastraPluginConfig.agentMaxSteps is unset. Sized to
fit a decomposed Genie turn (grounding + several ask_genie
calls + prepare_chart per dataset + the final-text reply) with
headroom for the model to chain a couple of follow-ups before
answering - well above Mastra’s own agent.generate default of
5, which would cut multi-step orchestration off mid-loop.