0.5×← Perlahan · Cepat →
💬Tekan Play Demo untuk lihat bagaimana Inventory Stock Monitoring Agent mengurus stok gudang.
Demo Complete — All Stages Generated
01 WhatsApp Command
02 Stock Analysis
Menunggu Sedang aktif Selesai
03 Python Script Generation
1
📥
Ambil data inventoriAPI gudang — SKU, kuantiti, lokasi
2
🧮
Klasifikasi stokLow, normal, overstock, dead stock
3
🔍
Analisis trendKadar putaran stok dan corak permintaan
4
📊
Laporan & notifikasiAlert stok kritikal + cadangan pembelian
import requests, json, pandas as pd
API_INV = "https://api.warehouse.com/v2/inventory"
def fetch_inventory(warehouse_id):
resp = requests.get(API_INV, params={"wh": warehouse_id})
return resp.json().get("items", [])
def categorize_stock(items):
df = pd.DataFrame(items)
df["status"] = df["qty"].apply(
lambda q: "Low Stock" if q < 20
else "Overstock" if q > 400
else "OK")
alerts = df[df["status"] == "Low Stock"]
return {
"total_sku": len(df),
"low_stock": len(alerts),
"overstock": len(df[df["status"] == "Overstock"]),
"alerts": alerts.to_dict("records")
}
report = categorize_stock(fetch_inventory("WH-01"))
print(json.dumps(report))
04 Block Diagram
Menunggu Sedang aktif Selesai
05 System Schematic
Menunggu Sedang aktif Selesai
⚠️ Always verify stock data before making procurement decisions.
06 Simulasi Stok Inventori
Mula Imbasan
SKU-001Kemeja Cotton120OK
SKU-002Kasut Sukan8Low Stock
SKU-003Beg Tangan450Overstock
SKU-004Jam Tangan0Out of Stock
OVERALLOverall Stock578Monitoring
07 Inventory Report
Terminal Log
[SISTEM] Inventory Stock Monitoring Agent sedia
System Architecture
🤖 Agent Layer
Inventory fetcher
Stock classifier
Trend analyzer
Alert generator
🏭 Warehouse Layer
WMS API
Stock data
Movement logs
Procurement
Safety Notes
- Always verify stock data before making procurement decisions.
- Configure role-based access for inventory dashboards.
- Set reorder thresholds per SKU based on lead time.
- Browser demo does not touch real warehouse APIs.