Search⌘ K
AI Features

System Design: Multi-Agent System

Explore the design of a multi-agent system for managing logistics disruptions. Learn how to create specialized agents aligned with architectural constraints, connect data sources, and coordinate agent workflows through orchestration. Understand how to build an auditable, scalable system that integrates with existing logistics infrastructure and evaluate its performance across precision, accuracy, and compliance.

The decomposition gave us six subproblems, three architectural constraints, and a clear boundary between what the system can automate and what requires a coordinator to decide. In this lesson, we design the actual system. Each agent maps to one subproblem, and every major design decision we make connects back to a constraint the case study surfaced. The system has two layers.

  • A set of specialized agents, each responsible for one subproblem.

  • An orchestration layer that coordinates how those agents are triggered, sequenced, and run in parallel.

Before we design individual agents, we establish what data is available to the system.

Data sources

There are five data sources ...

Source

Role

Access Pattern

Tomorrow.io

FleetIQ

Route-level weather risk scores and severe-event alerts

REST API, scheduled polling

Portcast Port Congestion API

Berth wait times, vessel queue depth, and terminal-level congestion scores for contracted ports

REST API, scheduled polling

project44

Carrier exception signals from EDI (Electronic Data Interchange, the standard protocol carriers use for structured status updates) feeds; also exposes carrier slot availability and rate quotes

REST API, polled and on-demand

SAP TM REST API

System of record for all active shipments; supports read for shipment lookup and write for rerouting execution

REST API; write operations require a human approval signal

Approved-carrier database

Approved carrier lists per shipment type, maintained by the operations team

Relational database, read-only

The SAP TM write is ...