← Back
AI Engineer August 29, 2026 12m

Tribal Dungeons of Global Shipping: AI Agents at Global Scale — Dmitry Buykin, Maersk

Read full transcript 10 segments
  1. Hello everyone. Um, this is a Hello everyone. Um, this is a practitioner report uh from real practitioner report uh from real practitioner report uh from real production work. So, let's get into it. production work. So, let's get into it. production work. So, let's get into it. Um, I'll skip the generic uh yet another Um, I'll skip the generic uh yet another Um, I'll skip the generic uh yet another loop agent intro. This is about the hard loop agent intro. This is about the hard loop agent intro. This is about the hard part most agent demos skip. part most agent demos skip. part most agent demos skip. and about turning messy operational and about turning messy operational and about turning messy operational knowledge into something an agent can knowledge into something an agent can knowledge into something an agent can execute safely. execute safely. execute safely. This comes from real work uh in my This comes from real work uh in my This comes from real work uh in my company I'm working for supporting company I'm working for supporting company I'm working for supporting global shipping operations and grounded global shipping operations and grounded global shipping operations and grounded in production. On paper it's uh one workflow usually On paper it's uh one workflow usually but uh in reality every shipment is an but uh in reality every shipment is an but uh in reality every shipment is an orchestration of many parallel state orchestration of many parallel state orchestration of many parallel state machines. While they agree the happy machines. While they agree the happy machines. While they agree the happy paths work the moment one drifts you get paths work the moment one drifts you get paths work the moment one drifts you get exception work. exception work. exception work. The easy majority is already automated The easy majority is already automated The easy majority is already automated in many companies. What's left is the in many companies. What's left is the in many companies. What's left is the long tail and more exceptions than long tail and more exceptions than long tail and more exceptions than system built uh to handle them. That system built uh to handle them. That system built uh to handle them. That tail is uh the expensive part.

  2. tail is uh the expensive part. tail is uh the expensive part. And then there's my favorite category. And then there's my favorite category. And then there's my favorite category. And it comes with a special uh plate And it comes with a special uh plate And it comes with a special uh plate here. See for EI builder dreams and here. See for EI builder dreams and here. See for EI builder dreams and their laptops. This what you can find their laptops. This what you can find their laptops. This what you can find outside of AI bubble in San Francisco. The signal process uh depends on many The signal process uh depends on many systems being coherent at once. If any systems being coherent at once. If any systems being coherent at once. If any step uh can't complete the happy path step uh can't complete the happy path step uh can't complete the happy path breaks and then it takes expert uh breaks and then it takes expert uh breaks and then it takes expert uh archist expert orchestration across uh archist expert orchestration across uh archist expert orchestration across uh multiple incomplete systems. multiple incomplete systems. multiple incomplete systems. All these uh variations um path pathways All these uh variations um path pathways All these uh variations um path pathways should be captured in SOPs. SOPs is a should be captured in SOPs. SOPs is a should be captured in SOPs. SOPs is a standard operating procedure common and standard operating procedure common and standard operating procedure common and regulated industries. So an expert and regulated industries. So an expert and regulated industries. So an expert and the model read them uh the same way. the model read them uh the same way. the model read them uh the same way. That gap is the hard part. Stable intent That gap is the hard part. Stable intent That gap is the hard part. Stable intent detection tool calls you can guarantee detection tool calls you can guarantee detection tool calls you can guarantee are safe integrating with legacy back are safe integrating with legacy back are safe integrating with legacy back ends and results evaluated with experts.

  3. Uh I call this uh tribal dungeons. Uh Uh I call this uh tribal dungeons. Uh the knowledge exists but not in a form the knowledge exists but not in a form the knowledge exists but not in a form uh agent can execute and you can safely uh agent can execute and you can safely uh agent can execute and you can safely run a process. You can't safely run a run a process. You can't safely run a run a process. You can't safely run a process. The organization cannot process. The organization cannot process. The organization cannot represent standard legacy SOPs [clears throat] standard legacy SOPs [clears throat] bunch of bunch of screenshots organized bunch of bunch of screenshots organized bunch of bunch of screenshots organized in sequence and but screenshots not uh a in sequence and but screenshots not uh a in sequence and but screenshots not uh a process. A legacy SOPs explain what a process. A legacy SOPs explain what a process. A legacy SOPs explain what a person sees and clicks. And an agent SOP person sees and clicks. And an agent SOP person sees and clicks. And an agent SOP needs a more complex uh setup, needs a more complex uh setup, needs a more complex uh setup, preconditions, uh decisions, preconditions, uh decisions, preconditions, uh decisions, identifiers, back end calls, validation, identifiers, back end calls, validation, identifiers, back end calls, validation, recovery, and evidence of uh successful recovery, and evidence of uh successful recovery, and evidence of uh successful execution. Experts own the what, agents own the Experts own the what, agents own the how. And exception becomes a guardrail. how. And exception becomes a guardrail. how. And exception becomes a guardrail. Most of the effort is the translation Most of the effort is the translation Most of the effort is the translation and negotiation between them to align on and negotiation between them to align on and negotiation between them to align on common sense.

  4. Three parts here um in this architecture Three parts here um in this architecture it's SOP memory uh organized as SOP it's SOP memory uh organized as SOP it's SOP memory uh organized as SOP corpus corpus corpus execution runtime and theme feedback execution runtime and theme feedback execution runtime and theme feedback capture. The agent loop is not the capture. The agent loop is not the capture. The agent loop is not the system. The refining loop around the system. The refining loop around the system. The refining loop around the agent is the system agent is the system agent is the system and it's the most complex part. Oh, and it's the most complex part. Oh, and it's the most complex part. Oh, sorry SAP is okay. It's this slide for sorry SAP is okay. It's this slide for sorry SAP is okay. It's this slide for UK. This is correct one. So and it's UK. This is correct one. So and it's UK. This is correct one. So and it's good illustration why the the same thing good illustration why the the same thing good illustration why the the same thing is means different and uh describing is means different and uh describing is means different and uh describing differently in different countries and differently in different countries and differently in different countries and it's creating a lot of variations it's creating a lot of variations it's creating a lot of variations between each country between each country between each country and that corpus is a asset the company and that corpus is a asset the company and that corpus is a asset the company company's process memory uh modified and company's process memory uh modified and company's process memory uh modified and aligned with every country um conditions aligned with every country um conditions aligned with every country um conditions and far bigger than than than runtime and far bigger than than than runtime and far bigger than than than runtime you could see the proportion 20 to1 you could see the proportion 20 to1 you could see the proportion 20 to1 So and this is concurrently operating So and this is concurrently operating So and this is concurrently operating system system system and this is the scale we run in and this is the scale we run in and this is the scale we run in production today production today production today over 200 instances and spikes and over 200 instances and spikes and over 200 instances and spikes and latencies deviates from few minutes to latencies deviates from few minutes to latencies deviates from few minutes to up to 10 minutes.

  5. Um and mainly yeah the mainly main Um and mainly yeah the mainly main reason for it that u we depending on reason for it that u we depending on reason for it that u we depending on many legacy system which is uh so cannot many legacy system which is uh so cannot many legacy system which is uh so cannot be faster than agent loop itself. Expert time is the bottleneck. So the Expert time is the bottleneck. So the theme bench uh does the triage for us. theme bench uh does the triage for us. theme bench uh does the triage for us. It clusters the failures and hands back It clusters the failures and hands back It clusters the failures and hands back something you can act on. Not just look something you can act on. Not just look something you can act on. Not just look at look at it. The trace is the shared evidence that The trace is the shared evidence that lets an expert and an engineer review lets an expert and an engineer review lets an expert and an engineer review the same case and agree on what the same case and agree on what the same case and agree on what happened. happened. happened. A correction only counts when it becomes A correction only counts when it becomes A correction only counts when it becomes an executable change. And that's the an executable change. And that's the an executable change. And that's the line between an opinion and a production line between an opinion and a production line between an opinion and a production fix. And and this is where quality comes And and this is where quality comes from. not from vibes uh not from a from. not from vibes uh not from a from. not from vibes uh not from a bigger model from replaying real bigger model from replaying real bigger model from replaying real examples with u disabled rights to uh examples with u disabled rights to uh examples with u disabled rights to uh protect the production systems and protect the production systems and protect the production systems and checking whether behavior improved.

  6. You can see here on the You can see here on the uh cognitive proportion u or this effort uh cognitive proportion u or this effort uh cognitive proportion u or this effort ratio uh between each activity in our ratio uh between each activity in our ratio uh between each activity in our project. So usually uh pipe coding ends project. So usually uh pipe coding ends project. So usually uh pipe coding ends here. here. here. Here there ends um Here there ends um Here there ends um specdriven development because it cannot specdriven development because it cannot specdriven development because it cannot uh grow improve accuracy more than this uh grow improve accuracy more than this uh grow improve accuracy more than this stage on this scale. And this is uh stage on this scale. And this is uh stage on this scale. And this is uh where the real work starts. Nothing where the real work starts. Nothing where the real work starts. Nothing exotic. It's engineering common exotic. It's engineering common exotic. It's engineering common engineering sense applied at scale. engineering sense applied at scale. engineering sense applied at scale. So if uh you don't know all this uh So if uh you don't know all this uh So if uh you don't know all this uh terminology which developed over lastuh terminology which developed over lastuh terminology which developed over lastuh 30 years in software development 30 years in software development 30 years in software development argument to check because this is what argument to check because this is what argument to check because this is what every AI agent uh AI coding agent should every AI agent uh AI coding agent should every AI agent uh AI coding agent should know uh to help you develop reliable know uh to help you develop reliable know uh to help you develop reliable production systems and accuracy it's uh wasn't designed uh and accuracy it's uh wasn't designed uh in one diagram up front it was earned in one diagram up front it was earned in one diagram up front it was earned one small correction at the time at the one small correction at the time at the one small correction at the time at the scale you see here. So we have over scale you see here. So we have over scale you see here. So we have over 100,000 100,000 100,000 corrections over last 9 months in the corrections over last 9 months in the corrections over last 9 months in the system when we developing it system when we developing it system when we developing it [clears throat] and this um heat maps uh turned and this um heat maps uh turned thousands of traces into priorities. is thousands of traces into priorities. is thousands of traces into priorities. is how we keep experts and engineers uh how we keep experts and engineers uh how we keep experts and engineers uh looking at the same problems and looking at the same problems and looking at the same problems and prioritize where the the most beneficial

  7. prioritize where the the most beneficial prioritize where the the most beneficial work for them. Every cell is a group of work for them. Every cell is a group of work for them. Every cell is a group of tracked scenarios we have and uh usually tracked scenarios we have and uh usually tracked scenarios we have and uh usually to turn one block in red it's around one to turn one block in red it's around one to turn one block in red it's around one two months of force for the whole team whole team of engineers and also AI whole team of engineers and also AI agents agents agents um the agent failed is uh where the um the agent failed is uh where the um the agent failed is uh where the investigation starts not where it ends investigation starts not where it ends investigation starts not where it ends each failure maps to a specific uh fix discovery needs agent freedom and discovery needs agent freedom and production needs a cage. Uh the harness production needs a cage. Uh the harness production needs a cage. Uh the harness isn't there to give the agent more room. isn't there to give the agent more room. isn't there to give the agent more room. It's there to make the dumb mistakes It's there to make the dumb mistakes It's there to make the dumb mistakes impossible. So on this scale please be careful is So on this scale please be careful is not a guard guard. Uh if we have wrong not a guard guard. Uh if we have wrong not a guard guard. Uh if we have wrong workflow then classifier eval. If it's workflow then classifier eval. If it's workflow then classifier eval. If it's wrong right then right gate. If it's wrong right then right gate. If it's wrong right then right gate. If it's wrong assumption then it's a mere view.

  8. wrong assumption then it's a mere view. wrong assumption then it's a mere view. A preventive measure eliminates the A preventive measure eliminates the A preventive measure eliminates the unsafe path on critical paths. U review and approval on critical paths. U review and approval stay in the loop. The engine engineering stay in the loop. The engine engineering stay in the loop. The engine engineering focus is uh to build safe hands offs and focus is uh to build safe hands offs and focus is uh to build safe hands offs and a trail you can trust. The real outcome The real outcome uh wasn't the agent in the system. It uh wasn't the agent in the system. It uh wasn't the agent in the system. It was the [clears throat] methodology we was the [clears throat] methodology we was the [clears throat] methodology we built around it. If you want the built around it. If you want the built around it. If you want the blueprint, then it's uh these five blueprint, then it's uh these five blueprint, then it's uh these five moves. Make work representable. Make exe moves. Make work representable. Make exe moves. Make work representable. Make exe execution bounded. Make behavior execution bounded. Make behavior execution bounded. Make behavior observable for every agent and make observable for every agent and make observable for every agent and make correction cheap. And last thing is make correction cheap. And last thing is make correction cheap. And last thing is make improvement compound. So gradually improvement compound. So gradually improvement compound. So gradually systematically improve the quality of systematically improve the quality of systematically improve the quality of the system. AI native um operation is more than AI native um operation is more than agents in workflow. It's a system that agents in workflow. It's a system that agents in workflow. It's a system that learns from what works and fold folds it learns from what works and fold folds it learns from what works and fold folds it back into code as new composite tools back into code as new composite tools back into code as new composite tools adapting to the applications and the adapting to the applications and the adapting to the applications and the people around it. The best AI models um people around it. The best AI models um people around it. The best AI models um oriented intelligence for us. The oriented intelligence for us. The oriented intelligence for us. The adaptive architecture we built is the adaptive architecture we built is the adaptive architecture we built is the asset, the final asset and and we aggregating all um repeatable we aggregating all um repeatable we aggregating all um repeatable sequences of steps successful scenarios sequences of steps successful scenarios sequences of steps successful scenarios and uh merging them into bigger tools

  9. and uh merging them into bigger tools and uh merging them into bigger tools which uh combine the disproven scenarios which uh combine the disproven scenarios which uh combine the disproven scenarios into the reusable snippets by other into the reusable snippets by other into the reusable snippets by other agents. So and then um it's possible to agents. So and then um it's possible to agents. So and then um it's possible to roll out them not only for one country roll out them not only for one country roll out them not only for one country but for hundreds country in one go. So this is um um all for the talk and So this is um um all for the talk and little time for questions and I'll be little time for questions and I'll be little time for questions and I'll be around afterwards. And the final around afterwards. And the final around afterwards. And the final reminder you know if you you know if you reminder you know if you you know if you reminder you know if you you know if you are AI builder if you emotionally are AI builder if you emotionally are AI builder if you emotionally attached to tools not MCPS attached to tools not MCPS attached to tools not MCPS we're not using MCPS because uh for us we're not using MCPS because uh for us we're not using MCPS because uh for us it's uh always not the best choice. So it's uh always not the best choice. So it's uh always not the best choice. So because all all systems usually really because all all systems usually really because all all systems usually really bloated and we have to distill responses bloated and we have to distill responses bloated and we have to distill responses and uh tune the tools through function and uh tune the tools through function and uh tune the tools through function calling uh to our agents then we can calling uh to our agents then we can calling uh to our agents then we can control quality of um our software and control quality of um our software and control quality of um our software and ensure that uh it's correctly ensure that uh it's correctly ensure that uh it's correctly processing assigned tasks.

  10. Okay, then um thanks for your attent u Okay, then um thanks for your attent u attention. Then I will be around so you attention. Then I will be around so you attention. Then I will be around so you can ask me questions if you want.

Summary

This report focuses on the challenge of translating complex, operational knowledge from standard operating procedures (SOPs) into a format that AI agents can safely execute. It highlights the gap between human understanding of processes, often represented in unstructured formats like screenshots, and the structured requirements of AI, including preconditions, decisions, and backend calls. The key takeaway is that successful AI agent implementation requires a robust system for capturing, organizing, and executing this operational knowledge, transforming exceptions into guardrails and establishing clear distinctions between expert knowledge and agent execution.

View original episode ↗