๐Ÿš€ Everything is free โ€” help us improve! Submit feedback and shape the platform.
โšกOptimizationยทadvancedยทโฑ๏ธ 40โ€“55mยทโญ 225 XP

M-044Optimize the Multi-Step Agent Plan

Description

Nebula Corp's AI agent planner is generating bloated, inefficient plans for user requests. A simple task like 'Book a flight and hotel for next Friday' produces 12 steps when 5 would do โ€” redundant lookups, unnecessary confirmations, and repeated tool calls are burning through tokens and latency. Refactor the planning function to produce leaner plans that eliminate redundant steps while still completing every required action.

Targets

Cost Target
โ‰ค 50
Quality Target
โ‰ฅ 70
Current Cost
100
Current Quality
90

Related Lessons

Click Run / Check to validate your solution