tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Generative AI > Google Gemini API > Packaging Optimisation Agent

Packaging Optimisation Agent

Author: Venkata Sudhakar

Shipping carriers charge by dimensional weight, which is calculated from box volume. Selecting an oversized box wastes material and inflates shipping costs. For ShopMax India, which ships thousands of electronics orders daily, even small improvements in box selection yield significant savings.

This tutorial builds a Gemini ADK agent that accepts order item dimensions and weights, selects the most space-efficient standard box from ShopMax's packaging catalogue, and reports void fill required and estimated shipping weight.

The below example shows a packaging selection agent for ShopMax India in a business context.


It gives the following output,

Packaging Recommendation - ShopMax India

Product       : Sony Headphones
Item Dims     : 25 x 18 x 12 cm
Recommended Box: S (30 x 20 x 15 cm)

Void Fill     : 37.5%  (cushioning material needed)
Actual Weight : 0.9 kg
Dim Weight    : 0.18 kg
Chargeable    : 0.9 kg  (actual wins)

Box S is the smallest standard box that fits with safety clearance.

ShopMax India can run this agent at the picking station - warehouse staff scan the product, the agent recommends the right box instantly. Over a month, selecting correctly-sized boxes reduces void fill material cost and eliminates dimensional weight surcharges on lightweight but bulky items such as headphone boxes and laptop bags.


 
  


  
bl  br