How AI Agents can optimize Dynamic Table Spend