CHMARL Project

The World's Ports Are Choking.

Maritime transport moves 80% of global trade. Yet the systems coordinating it were designed for a world that no longer exists.

Emissions

AI Optimization

Modern container cargo ship
Explore
Congested port with pollution and traffic

The Problem

A system built for the 20th century, collapsing under 21st century demand.

Every day, thousands of vessels idle outside the world's busiest ports. Trucks queue for hours. Containers sit untouched. Diesel engines run around the clock, pumping carbon into coastal communities.

The global shipping industry accounts for nearly 3% of all greenhouse gas emissions — more than the entire aviation sector. The International Maritime Organization projects these emissions could rise by 50% by 2050 if nothing changes.

Port scheduling today relies on static timetables, manual coordination, and fragmented systems that cannot adapt to real-time conditions. Berth allocation is done days in advance with no mechanism to respond when a storm delays a vessel or a crane breaks down. The result is cascading inefficiency: ships burn fuel waiting for berths, trucks circle terminals for hours, and yard equipment sits idle while containers pile up in the wrong locations.

In Saudi Arabia alone, MAWANI operates 9 commercial ports handling millions of TEUs annually. As the Kingdom accelerates its Vision 2030 logistics transformation, the gap between current port capacity and future demand is widening. Traditional optimization — centralized, rigid, reactive — cannot bridge that gap.

0%

of global trade by sea

0%

of global GHG emissions

0%

projected emission rise by 2050

0

MAWANI commercial ports

What if ports could think?
Ocean horizon at dawn

The Vision

Ports that coordinate themselves.

Imagine a port where every vessel, truck, crane, and piece of yard equipment operates as an intelligent agent — aware of its surroundings, communicating with its peers, and making decisions that benefit the entire system. Not through a single central brain, but through a network of collaborative AI agents that learn, adapt, and optimize together.

This is CHMARL — Constrained Hierarchical Multi-Agent Reinforcement Learning. A decentralized AI framework where a high-level strategic planner sets system-wide objectives (emission budgets, throughput targets, fairness constraints), while individual agents at the operational level execute real-time decisions within those boundaries.

The result is a port that breathes. Ships arrive when berths are ready. Trucks are dispatched when containers are staged. Equipment moves before bottlenecks form. Emissions drop because idling stops. And when conditions change — a delayed vessel, a sudden storm, a crane malfunction — the system recalibrates in real time without human intervention.

And critically, humans remain in control. CHMARL recommends. Operators decide. The AI serves the people who run the port, not the other way around. Every recommendation is explainable, every decision is auditable.

Isometric port: congested pollution on the left, AI-optimized clean operations on the right

Congestion & Emissions

AI-Optimized Flow

Congestion & Emissions

Today

Ports as they are.

AI-Optimized Flow

Tomorrow

Ports as they should be.

The Approach

Going beyond centralized control.

Traditional port optimization attempts to solve everything from a single point — one algorithm, one model, one decision-maker. This approach breaks down at scale. Real ports are too dynamic, too complex, and too distributed for any single system to manage effectively. When a centralized optimizer encounters unexpected conditions, the entire plan collapses.

CHMARL takes a fundamentally different path. Using cooperative hierarchical multi-agent reinforcement learning, the system operates on two tiers. At the strategic level, a high-level planner sets emission budgets, throughput targets, and fairness constraints using a primal-dual optimization framework that provably bounds cumulative emissions. At the operational level, each entity in the port — every vessel, every truck, every crane — is represented by its own AI agent that makes real-time decisions within those constraints.

These agents learn to cooperate, negotiate, and optimize collectively — much like a flock of birds that moves in perfect formation without a leader. A fairness-aware reward transformer with dynamically scheduled penalties ensures that no single operator is disadvantaged, achieving max-min cost equity across heterogeneous fleets.

And because the intelligence is distributed, the system is resilient. If one agent fails, the others adapt. If conditions change suddenly, the network recalibrates. The two-tier architecture enables linear scaling in agent count — meaning CHMARL can grow from a single terminal to an entire national port network without fundamental redesign.

AI-Coordinated Port Operations

Ships dock at optimized berths, gantry cranes coordinate loading sequences, and autonomous vehicles shuttle cargo — all orchestrated by CHMARL's decentralized AI agents communicating in real time.

AI-Coordinated Port Operations

01

Efficiency

+12%

throughput improvement

Reduce vessel turnaround times and increase container throughput through intelligent scheduling and real-time coordination across all port operations.

02

Sustainability

-15%

emission reduction per TEU

Cut port-related emissions by eliminating unnecessary idling, optimizing routes, and enforcing real-time emission budgets with provable guarantees.

03

Fairness

45%

fair-cost improvement

Ensure equitable resource allocation across all port stakeholders through a fairness-aware reward mechanism — no single operator is disadvantaged by the system.

Vessel
Crane
Truck
Planner
Hub
Yard

How It Works

Two tiers. One system.

01

Strategic Planner

The high-level tier ingests system-wide data — weather forecasts, demand projections, emission budgets, and fairness constraints. It computes optimal resource allocation plans and distributes them as boundary conditions to the operational agents below.

Emission BudgetsThroughput TargetsFairness ConstraintsDemand Forecasting
02

Operational Agents

Each vessel, truck, crane, and piece of yard equipment runs its own lightweight AI agent. These agents observe local conditions, communicate with nearby peers, and make real-time decisions — berth selection, route adjustment, task sequencing — all within the strategic boundaries set above.

Real-Time DecisionsPeer CommunicationLocal OptimizationAdaptive Routing

"The AI recommends. The human decides. Every recommendation is explainable, every decision is auditable. CHMARL is a tool for port operators — not a replacement."

Strategic Alignment

Built for the mandates that define our decade.

CHMARL is designed to directly support Saudi Vision 2030's logistics transformation goals, the Saudi Green Initiative's emission reduction targets, and the International Maritime Organization's 2050 decarbonization mandate.

Saudi Vision 2030

Logistics hub transformation and economic diversification

Saudi Green Initiative

Net-zero emissions and environmental sustainability

IMO 2050

International maritime decarbonization mandate

Interactive Demo

Live Port Simulation

See how CHMARL's AI agents coordinate vessel arrivals, berth assignments, and cargo operations in real time.

Throughput

0.0

vessels/min

Emissions

0

tons CO₂

Avg Wait

0

sec

Fairness

0.64

index

Vessels
Emissions
AI Signals
Trucks

The Team

Born in research. Built for the real world.

CHMARL was created by the AI and Sustainability Research Group at Al-Baha University, Saudi Arabia, led by Dr. Saad Alqithami. The project emerged from years of research into multi-agent systems, reinforcement learning, and sustainable transportation — and a conviction that these technologies should serve the places that need them most.

The project is developed in partnership with IBM through the IBM Sustainability Accelerator program, which provides cloud infrastructure, AI tooling, and mentorship to scale solutions that address environmental and social challenges.

Get in Touch

Let's build the future of maritime logistics.

Whether you are a port authority, a logistics operator, a researcher, or simply curious — we would love to hear from you.

Prefer email? Reach us directly:

Email Us