feat: Update HowItWorks to show 5-agent consolidation pipeline flow"
#13
by MouleeswaranM - opened
landing/src/components/HowItWorks.tsx
CHANGED
|
@@ -3,25 +3,39 @@ import './HowItWorks.css'
|
|
| 3 |
const steps = [
|
| 4 |
{
|
| 5 |
step: '01',
|
| 6 |
-
title: '
|
| 7 |
-
desc: '
|
| 8 |
-
code: '
|
| 9 |
color: '#f97316',
|
| 10 |
},
|
| 11 |
{
|
| 12 |
step: '02',
|
| 13 |
-
title: '
|
| 14 |
-
desc: '
|
| 15 |
-
code: '
|
| 16 |
color: '#3b82f6',
|
| 17 |
},
|
| 18 |
{
|
| 19 |
step: '03',
|
| 20 |
-
title: '
|
| 21 |
-
desc: '
|
| 22 |
-
code: '
|
| 23 |
color: '#10b981',
|
| 24 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
]
|
| 26 |
|
| 27 |
export default function HowItWorks() {
|
|
@@ -29,10 +43,11 @@ export default function HowItWorks() {
|
|
| 29 |
<section className="hiw" id="how-it-works">
|
| 30 |
<div className="container">
|
| 31 |
<div className="section-header">
|
| 32 |
-
<div className="tag">
|
| 33 |
-
<h2 className="section-title">
|
| 34 |
<p className="section-sub">
|
| 35 |
-
|
|
|
|
| 36 |
</p>
|
| 37 |
</div>
|
| 38 |
|
|
|
|
| 3 |
const steps = [
|
| 4 |
{
|
| 5 |
step: '01',
|
| 6 |
+
title: 'Geographic Clustering Agent',
|
| 7 |
+
desc: 'scikit-learn KMeans clusters shipments by pickup/drop proximity (4D feature vectors). Silhouette-score selects optimal K. Groups nearby shipments heading the same direction.',
|
| 8 |
+
code: 'Agent 1: GeoClusteringAgent\nβ KMeans + Silhouette Score\nβ 15 shipments β 4 clusters',
|
| 9 |
color: '#f97316',
|
| 10 |
},
|
| 11 |
{
|
| 12 |
step: '02',
|
| 13 |
+
title: 'Time Window Compatibility Agent',
|
| 14 |
+
desc: 'Filters clusters by delivery time window overlap. Splits groups where shipments have incompatible schedules. Configurable tolerance (default: 120 min).',
|
| 15 |
+
code: 'Agent 2: TimeWindowAgent\nβ Temporal overlap filter\nβ 4 clusters β 5 time-valid groups',
|
| 16 |
color: '#3b82f6',
|
| 17 |
},
|
| 18 |
{
|
| 19 |
step: '03',
|
| 20 |
+
title: 'Capacity Optimization Agent',
|
| 21 |
+
desc: 'OR-Tools CP-SAT integer programming solver assigns shipments to trucks. Minimizes vehicles used while respecting weight + volume constraints. FFD heuristic fallback.',
|
| 22 |
+
code: 'Agent 3: CapacityOptimizationAgent\nβ OR-Tools CP-SAT solver (3s limit)\nβ 5 groups β 3 packed trucks',
|
| 23 |
color: '#10b981',
|
| 24 |
},
|
| 25 |
+
{
|
| 26 |
+
step: '04',
|
| 27 |
+
title: 'Scoring & Confidence Agent',
|
| 28 |
+
desc: 'Computes per-group AI confidence (capacity fit Γ geo proximity Γ time alignment). Calculates global metrics: utilization%, trips reduced, COβ saved, cost saved.',
|
| 29 |
+
code: 'Agent 4: ScoringConfidenceAgent\nβ Confidence: 78-95%\nβ Utilization: 27% β 82%',
|
| 30 |
+
color: '#f59e0b',
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
step: '05',
|
| 34 |
+
title: 'Continuous Learning Agent',
|
| 35 |
+
desc: 'Q-learning RL agent records (state, action, reward) per run. Builds Q-table over time to recommend optimal (radius, tolerance) parameters. Self-improves with every execution.',
|
| 36 |
+
code: 'Agent 5: RL Q-Learning\nβ Episodes: 47 | Reward: 73.2/100\nβ Optimal: radius=30km, tol=120min',
|
| 37 |
+
color: '#ec4899',
|
| 38 |
+
},
|
| 39 |
]
|
| 40 |
|
| 41 |
export default function HowItWorks() {
|
|
|
|
| 43 |
<section className="hiw" id="how-it-works">
|
| 44 |
<div className="container">
|
| 45 |
<div className="section-header">
|
| 46 |
+
<div className="tag">5-Agent Pipeline</div>
|
| 47 |
+
<h2 className="section-title">How the AI Consolidation Engine works</h2>
|
| 48 |
<p className="section-sub">
|
| 49 |
+
5 specialized AI agents orchestrated by LangGraph β each handles one aspect of the
|
| 50 |
+
consolidation problem, collaborating to maximize vehicle utilization.
|
| 51 |
</p>
|
| 52 |
</div>
|
| 53 |
|