Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    Flexport's AI agents process 21 million tasks a year

    Flexport, the San Francisco freight forwarder, runs a fleet of AI agents that quote and book freight and audit customs entries, with licensed brokers reviewing every AI-suggested tariff code.

    • 40%Growth in freight volume, against 5% growth in headcount1Measured
    • 0.2%Error rate on U.S. customs filings1, 4Measured
    FlexportUnited States (Customs work covers U.S. entries; the agents serve Flexport's freight platform)Freight and logisticsIn production since Feb 2026Who built it Built in-houseHuman oversight People review exceptionsUse case Agentic process automationScale 21 million tasks a yearScenario Freight forwarding quoting, booking and customs agentsBusiness function Supply chain and logisticsOrganization EnterpriseAI types Generative AI, Agentic AI, Document AIPeople served more than 13,000 companiesSites 47 offices worldwide
    Who built it
    Built in-house
    Human oversight
    People review exceptions
    Scale
    21 million tasks a year
    Scenario
    Freight forwarding quoting, booking and customs agents
    Business function
    Supply chain and logistics
    Organization
    Enterprise
    AI types
    Generative AI, Agentic AI, Document AI
    People served
    more than 13,000 companies
    Sites
    47 offices worldwide

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. FreightWaves

    2. Flexport

    tl;drFreight volume rose 40% in a year as headcount grew 5%, a gap Flexport's CEO credits to AI.See the results

    View the solutionBuild this solution yourself

    Flexport, the San Francisco freight forwarder and customs broker, runs a fleet of AI agents that quote and book shipments and check customs entries for errors2, 3. The agents process 21 million tasks a year2.

    In November 2026, founder and CEO Ryan Petersen told FreightWaves that Flexport’s freight volumes were up 40% from a year earlier while its headcount grew 5%1. He credits the gap to the AI tools the company runs across customs, routing and its own engineering teams1. Flexport puts its error rate on U.S. customs filings in 2025 at 0.2%1, 4.

    Before the deployment

    Flexport both moves freight and builds its own software, and more than 13,000 companies use it2, 4. Its customs and freight teams worked under these conditions:

    • Tariff churn: In 2025, U.S. tariff policies changed every one and a half weeks4.
    • Filing errors: Errors in customs filings were at an all-time high while government enforcement increased4.
    • Classification: The Harmonized Tariff Schedule (HTS) runs more than 18,000 ten-digit codes deep, with thousands of rulings on top3. Petersen calls classification “the hardest problem in customs”1.
    • Customer rules: Customers set their own delivery rules, such as notice 10 days ahead for one warehouse and three days ahead for another1. Petersen called them “a spaghetti web of business logic”1.
    • Unwritten procedures: Customs procedures that live only in someone’s head get reinterpreted depending on who catches the exception3.

    What was built

    Flexport’s agents read freight requests and customs entries, act on the routine cases and pass exceptions to staff2. Deterministic code and licensed brokers stand between the AI and a customs filing1, 3.

    • Quoting and booking agents: Read an email with booking information and an attached shipping document. They send back a quote for review or execute the booking on the spot3.
    • Customs audit agent: “Audit Your Customs Broker” checks past customs entries for mistakes and compliance errors. Flexport first piloted it on its own entries, then offered it free to any company4.
    • AI Customs Classification: Turns the choice of a 10-digit HTS code into a guided conversation. It returns a recommended code in seconds, with linked CBP rulings and its reasoning2.
    • AI Business Rules Engine: The AI turns customer procedures into deterministic code. Once tested and signed off, the code checks every entry and flags anything wrong before filing3.
    • Brokers and experts: A licensed broker on Flexport’s team reviews by hand any AI-suggested code a customer wants to use1. Every exception from the agents routes to a human expert2.

    “Because we execute the freight, our AI can actually automate it. And our team of experts can create the right guardrails to prevent mistakes.”

    Ryan Petersen, founder and CEO at Flexport4

    Rollout

    Figure 1Flexport's agent releases in 2026
    Flexport's agent releases in 2026In February 2026, Flexport's winter release launched a fleet of AI agents led by a customs audit agent. In September 2026, the fall release added the MCP server, AI Customs Classification and customer audit rules. In October 2026, Time listed the Customs Technology Suite among its Best Inventions of 2026. In November 2026, Petersen reported 40% volume growth on 5% more staff.26 Feb 202626 Feb 2026 · Agent fleet and customs audit agent · Documented in source [4]Agent fleet and customs audit agent29 Sep 202629 Sep 2026 · MCP server, classification, audit rules · Documented in sources [2] [3]MCP server, classification, audit rules15 Oct 202615 Oct 2026 · Time Best Inventions of 2026 listing · Documented in source [1]Time Best Inventions of 2026 listing2 Nov 20262 Nov 2026 · Volume up 40%, headcount up 5% · Documented in source [1]Volume up 40%, headcount up 5%Flexport's agent releases in 2026In February 2026, Flexport's winter release launched a fleet of AI agents led by a customs audit agent. In September 2026, the fall release added the MCP server, AI Customs Classification and customer audit rules. In October 2026, Time listed the Customs Technology Suite among its Best Inventions of 2026. In November 2026, Petersen reported 40% volume growth on 5% more staff.26 Feb 202626 Feb 2026 · Agent fleet and customs audit agent · Documented in source [4]Agent fleet andcustoms audit agent7 mo29 Sep 202629 Sep 2026 · MCP server, classification, audit rules · Documented in sources [2] [3]MCP server,classification,audit rules1 mo15 Oct 202615 Oct 2026 · Time Best Inventions of 2026 listing · Documented in source [1]Time Best Inventionsof 2026 listing1 mo2 Nov 20262 Nov 2026 · Volume up 40%, headcount up 5% · Documented in source [1]Volume up 40%,headcount up 5%
    • Key milestone
    Sources [1][2][3][4]
    Flexport added customs and booking agents in two releases, seven months apart.

    The fall release opened the agents to shippers’ own AI assistants and moved tariff classification into a guided tool2. The customer audit rules are live for U.S. entries, and Flexport plans the Netherlands and the U.K. next2.

    Technology and architecture

    Figure 2Where Flexport's AI agents sit between shippers and customs
    Where Flexport's AI agents sit between shippers and customsShippers send rate and booking requests by email or the Flexport platform to the quoting and booking agents. Shippers' own AI assistants send requests through the MCP server, which passes them to the same agents. Flexport Atlas supplies routes and carriers to the agents. The agents hand exceptions to Flexport's experts. AI Customs Classification hands a suggested tariff code to a licensed customs broker, who files with U.S. Customs and Border Protection. The entry audit rules check entries before filing and flag issues to staff.rate and booking requests (data) · Documented in sources [2] [3]plain-language requests (data) · Documented in source [2]requests (data) · Documented in source [2]routes and carriers (data) · Documented in source [3]exceptions (handoff to people) · Documented in source [2]suggested HTS code (handoff to people) · Documented in sources [1] [2]flagged entries (handoff to people) · Documented in source [2]reviewed filing (handoff to people) · Documented in source [1]SHIPPERSFLEXPORT AGENTS AND RULESFLEXPORT STAFFShipper email or platform · External · Documented in sources [2] [3]EXTERNALShipper emailor platformShipper's AI assistant · External · Documented in source [2]EXTERNALShipper'sAI assistantFlexport MCP server · System · Documented in source [2]SYSTEMFlexportMCP serverFlexport Atlas · Data · Documented in sources [3] [4]DATAFlexport AtlasQuoting and booking agents · AI model · Documented in sources [2] [3]AI MODELQuoting andbookingagentsAI Customs Classification · AI model · Documented in source [2]AI MODELAI CustomsClassificationEntry audit rules · System · Documented in sources [2] [3]SYSTEMEntryaudit rulesExperts and operations staff · Team · Documented in source [2]TEAMExperts andoperationsstaffLicensed customs broker · Person · Documented in source [1]PERSONLicensedcustomsbrokerU.S. Customs (CBP) · External · Documented in source [1]EXTERNALU.S. Customs(CBP)rate andbookingrequestsplain-languagerequestsrequestsroutes andcarriersexceptionssuggestedHTS codeflagged entriesreviewed filingWhere Flexport's AI agents sit between shippers and customsShippers send rate and booking requests by email or the Flexport platform to the quoting and booking agents. Shippers' own AI assistants send requests through the MCP server, which passes them to the same agents. Flexport Atlas supplies routes and carriers to the agents. The agents hand exceptions to Flexport's experts. AI Customs Classification hands a suggested tariff code to a licensed customs broker, who files with U.S. Customs and Border Protection. The entry audit rules check entries before filing and flag issues to staff.rate and booking requests (data) · Documented in sources [2] [3]plain-language requests (data) · Documented in source [2]requests (data) · Documented in source [2]routes and carriers (data) · Documented in source [3]exceptions (handoff to people) · Documented in source [2]suggested HTS code (handoff to people) · Documented in sources [1] [2]flagged entries (handoff to people) · Documented in source [2]reviewed filing (handoff to people) · Documented in source [1]SHIPPERSFLEXPORT AGENTS AND RULESFLEXPORT STAFFShipper email or platform · External · Documented in sources [2] [3]EXTERNALShipper emailor platformShipper's AI assistant · External · Documented in source [2]EXTERNALShipper's AI assistantFlexport MCP server · System · Documented in source [2]SYSTEMFlexport MCP serverFlexport Atlas · Data · Documented in sources [3] [4]DATAFlexport AtlasQuoting and booking agents · AI model · Documented in sources [2] [3]AI MODELQuoting andbooking agentsAI Customs Classification · AI model · Documented in source [2]AI MODELAI CustomsClassificationEntry audit rules · System · Documented in sources [2] [3]SYSTEMEntry audit rulesExperts and operations staff · Team · Documented in source [2]TEAMExperts andoperations staffLicensed customs broker · Person · Documented in source [1]PERSONLicensedcustoms brokerU.S. Customs (CBP) · External · Documented in source [1]EXTERNALU.S. Customs (CBP)rate and booking requestsplain-language requestsrequestsroutes and carriersexceptionssuggested HTS codeflagged entriesreviewed filing
    • AI component
    • Data
    • Handoff to people
    Sources [1][2][3][4]
    Agents quote and book freight, while rule code and licensed brokers stand between the AI and a customs filing.

    Each agent runs with guardrails set through a custom evaluation platform built for governance and traceability2. Flexport Atlas maps every vessel, port and carrier service as one connected system, and the agents reason against the same map that users see3.

    Layer What they used Role
    Agent orchestration Flexport AI agents Fleet of agents that quote, book and troubleshoot shipments and process 21 million tasks a year2, 3
    Task agent Quoting agent Turns rate requests from email, MCP or the platform into custom quotes, or executes the booking2, 3
    Task agent Audit Your Customs Broker Audits past customs entries for mistakes, compliance errors and refund opportunities4
    Language model AI Customs Classification Recommends a 10-digit HTS code in a guided conversation, with linked CBP rulings and its reasoning1, 2, 3
    Rules and decision logic AI Business Rules Engine AI writes deterministic code from customer procedures that checks every entry before filing1, 3
    Solution platform Customs Technology Suite Audits entries against hundreds of rules before they reach government agencies1, 2
    Guardrails Custom evaluation platform Sets the guardrails each agent runs with, for governance and traceability2
    Reference data Flexport Atlas Map of vessels, ports and carrier services that the agents reason against3, 4
    Tools and actions Flexport MCP server Lets shippers’ AI assistants track, quote and book, and passes their requests to Flexport’s agents2

    Data inputs

    • Requests: Rate requests by email, through MCP or inside the platform, and booking emails with a shipping document attached2, 3.
    • Customs entries: Checked before filing by the audit rules, and after filing by the audit agent2, 4.
    • CBP rulings: Linked to each recommended tariff code2.
    • Customer procedures: Standard operating procedures that the rules engine turns into code2, 3.
    • Network data: Sailing schedules, service routings, carrier reliability metrics and contract prices in Atlas4.

    Integrations

    • Shippers’ AI assistants: Claude, ChatGPT, Microsoft Copilot or a shipper’s own agents connect to the MCP server and make requests in plain language2.
    • Email: The agent reads booking emails and replies with a quote or a booking3.
    • U.S. Customs and Border Protection: Receives entries after the rules audit and, for AI-suggested codes, a broker’s review1, 2.

    How one tariff code reaches a filing

    1. A user answers a few guided questions in AI Customs Classification and compares candidate classifications side by side3.
    2. The tool returns a recommended 10-digit code in seconds, with the linked CBP rulings and its reasoning2.
    3. The user sends the code to one of Flexport’s licensed customs brokers for validation2.
    4. The broker reviews the code by hand before filing1.
    5. The Customs Technology Suite checks the entry against hundreds of rules and the customer’s own procedures, and flags issues to operations staff2.
    6. Flexport files the entry with U.S. Customs and Border Protection1.

    Results

    Flexport’s freight volume grew 40% in the year to November 2026, while its headcount grew 5%1.

    Metric After Scope and timeframe
    Freight volume growth 40%1 Year to November 2026, while headcount grew 5%
    Error rate on U.S. customs filings 0.2%1, 4 Flexport’s U.S. customs filings, 2025
    • Classification time: A classification that took hours now takes minutes to draft3.
    • Booking time: A booking email gets freight moving in minutes instead of waiting in an inbox3.

    Lessons learned

    Flexport keeps the AI away from the final step of a customs filing. Brokers review AI-suggested codes by hand, and AI-written rule code runs only after an expert signs it off1, 3. Petersen’s reason for the code is that AI alone can’t be trusted to follow customer rules consistently: “If it misses, the misses are worth too much.”1

    The broker review answers a weakness of the models. Petersen said AI models hallucinate often in customs work, partly because CBP leaves superseded rulings posted, so a model can cite an outdated ruling that an experienced broker would ignore1. U.S. law also reserves customs business for another party to licensed brokers, and CBP applied that rule to a foreign platform’s AI tool in a January 16 ruling1.

    The headline figure compares growth in demand with growth in staff. Petersen credits AI for the gap, and in the same interview he tied the surge in ocean demand since April to tariff refunds1.

    Flexport’s comparisons with other brokers have changed over time. The February release estimated the 0.2% error rate at a 10X improvement, based on what Flexport knows of other brokers4. In November, Petersen put it at about 100 times better, and FreightWaves described the February estimate as 100X1. The 20% average error rate for competing brokers comes from Flexport’s own audits1.

    Every figure is Flexport’s own, from its releases and its CEO’s interview with FreightWaves1, 2, 4.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    • Execution you control: Flexport’s agents act on real shipments, customs filings and carrier contracts because Flexport operates the freight itself4. Check that your agents can complete a booking or a filing, not only recommend one.
    • Licensed brokers in the loop: U.S. law limits customs business for another party to licensed brokers, so every AI-suggested code a customer uses needs a broker’s review1.
    • Procedures written down: The rules engine turns customer procedures into code that an expert signs off, so you need those procedures in a form you can hand to it3.
    • Network data for the agents: Atlas gives the agents sailing schedules, routings, carrier reliability and contract prices to reason against4.

    Reference architecture

    Agentic process automation

    Hands the routine steps of a business process to AI agents that carry each case through your business systems.

    Open the reference architecture

    Others who built it

    Cite this case study

    Enterprise AI Case Studies. "Flexport's AI agents process 21 million tasks a year." Updated Dec 2, 2026. https://case-studies.ai/case-studies/supply-chain-and-logistics/SC-094-freight-forwarding-ai-agents-flexport/

    @misc{csai-sc-094,
      author = {{Enterprise AI Case Studies}},
      title = {{Flexport's AI agents process 21 million tasks a year}},
      year = {2026},
      note = {Updated 2026-12-02},
      url = {https://case-studies.ai/case-studies/supply-chain-and-logistics/SC-094-freight-forwarding-ai-agents-flexport/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      Flexport forwarding volumes up 40% as headcount grows only 5%

      IndependentFreightWaves, Nov 2, 20262 Nov 2026By Thomas WassonAccessed Dec 2, 20262 Dec 2026

      Supporting excerpts (20)
      • Flexport's freight volumes are up 40% from a year ago while its headcount has grown 5%, founder and CEO Ryan Petersen told FreightWaves.
      • He credits the gap to artificial intelligence tools the company now runs across customs, routing and its own engineering teams.
      • There, an AI-generated tariff code still has to pass a licensed broker before it can legally reach U.S. Customs and Border Protection.
      • Our volumes are up 40% annually. And headcount's only up 5%, so you can see the AI's working,
      • Time magazine named Flexport's Customs Technology Suite to its Best Inventions of 2026 list on Oct. 15.
      • Classifying goods under the Harmonized Tariff Schedule is "the hardest problem in customs," Petersen said. Flexport's new tool suggests a 10-digit code and links the CBP rulings behind it.
      • In a Jan. 16 ruling, CBP found that a foreign online platform was conducting customs business when its AI tool derived tariff subheadings beyond the six-digit level for goods that would be entered. Under 19 U.S.C. 1641, only a licensed customs broker can conduct customs business on behalf of another party.
      • Any AI-suggested code a customer wants to use goes to a licensed customs broker on Flexport's team, who reviews it by hand before filing.
      • AI models hallucinate often in customs work, he said, partly because CBP leaves its binding rulings on specific products posted after newer ones supersede them.
      • An AI model can cite the outdated ruling, he said, where an experienced broker would know to ignore it.
      • Audits of entries filed by competing brokers found an average error rate of 20%, he said.
      • Flexport's own error rate on U.S. customs filings last year was 0.2%, which Petersen put at about 100 times better.
      • That comparison has grown since February, when Petersen estimated the 0.2% rate was a 100X improvement over any other broker.
      • Logistics customers set their own delivery rules, Petersen said, such as notice 10 days ahead for one warehouse and three days ahead for another.
      • Petersen called the rules "a spaghetti web of business logic."
      • AI alone can't be trusted to follow those rules consistently, he said. "If it misses, the misses are worth too much."
      • So Flexport has AI write code for those rules. Once an expert signs off, the code runs the same way every time.
      • Basically since April, we've been just ripping.
      • Petersen has a theory for the demand that he said he hasn't seen written anywhere: tariff refunds.
      • the 20% error rate it cites for competitors comes from its own audits.
    2. Source 2:

      Flexport launches MCP Server for AI agents to book freight

      IndependentFreightWaves, Sep 29, 202629 Sep 2026By Thomas WassonAccessed Dec 2, 20262 Dec 2026

      Supporting excerpts (11)
      • Flexport launched a Model Context Protocol server on Tuesday that lets shippers' AI agents track, quote, and book freight on its platform. Businesses can connect Claude, ChatGPT, Microsoft Copilot, or their own internal agents and make requests in plain language.
      • which says more than 13,000 companies use it.
      • Requests that come through the MCP server land on Flexport's own AI agents, which the company said process 21 million tasks a year.
      • A quoting agent converts rate requests into custom quotes whether they arrive by email, through MCP, or inside the platform.
      • Flexport said each agent runs with guardrails set through a custom evaluation platform built for governance and traceability, and that every exception routes to a human expert.
      • Flexport extended its Customs Technology Suite, which it said audits entries against hundreds of rules before they reach government agencies.
      • Customers can now build audit rules around their own standard operating procedures. Those rules run against every entry in real time and flag issues to operations staff before filing.
      • The feature is live for U.S. entries. The Netherlands and the U.K. are next.
      • A new classification tool turns the assignment of 10-digit Harmonized Tariff Schedule codes into a guided conversation.
      • Flexport said it returns a recommended code in seconds, with linked U.S. Customs and Border Protection rulings and its reasoning shown in real time. Users can then send the code to one of Flexport's licensed customs brokers for validation before filing.
      • It now runs 47 offices worldwide.
    3. Source 3:

      Fall Release 2026

      OrganizationFlexport, Sep 29, 202629 Sep 2026Accessed Dec 2, 20262 Dec 2026

      Supporting excerpts (9)
      • AI agents that quote, book, and troubleshoot shipments around the clock, so your team can focus on what only humans can do.
      • Send an email with booking information and a shipping document attached. The agent reads it, and either sends back a quote for review or executes the booking on the spot, getting your freight moving in minutes instead of waiting in someone's inbox.
      • Every vessel, port, and carrier service on earth, mapped as one connected system.
      • Our agents reason against the same map you're looking at.
      • The Harmonized Tariff Schedule runs more than 18,000 ten-digit codes deep, with thousands of rulings on top.
      • Answer a few guided questions and you can compare candidate classifications side by side, with the Customs and Border Protection rulings linked as you go. What took hours now takes minutes to draft.
      • Customs standard operating procedures shouldn't live only in someone's head, where they get reinterpreted differently depending on who catches the exception.
      • The AI Business Rules Engine turns those procedures into custom, deterministic code that checks every entry against your exact rules and flags anything that looks wrong before we file it.
      • AI writes the code, but once it's tested and signed off, it runs the same way every time, so you can trust it with compliance.
    4. Source 4:

      Flexport Launches Technology to Automate Tariff Refunds

      OrganizationFlexport, Feb 26, 202626 Feb 2026Accessed Dec 2, 20262 Dec 2026

      Supporting excerpts (11)
      • Today, Flexport announced a new fleet of AI agents to manage customs and prepare for potential refunds
      • In 2025, U.S. tariff policies changed every one and a half weeks.
      • Errors in customs filings are at an all-time high, while government enforcement is increasing.
      • Flexport launched an AI agent to 'Audit Your Customs Broker' by conducting a compliance audit on all past customs entries to identify mistakes and compliance errors.
      • We first piloted the agent on our own entries,
      • We have reduced our error rate on U.S. customs filings to 0.2%. Based on what we know of other customs brokers, we estimate this to be a 10X improvement to any other broker in the world,
      • This technology is now available for free to any company who wants to check their own broker's work
      • This data platform allows Flexport's AI to optimize container-routing based on actual sailing schedules, service routings, carrier reliability metrics, and contract prices.
      • Our AI agents aren't theoretical, they're plugged directly into real shipments, real customs filings, and real carrier contracts.
      • Because we execute the freight, our AI can actually automate it. And our team of experts can create the right guardrails to prevent mistakes.
      • Flexport is different. We operate the supply chain and we build the technology.