AI Engineer World's Fair 2026
Tribal Dungeons of Global Shipping: AI Agents at Global Scale — Dmitry Buykin, Maersk
Read the talk
Tribal Dungeons of Global Shipping: AI Agents at Global Scale
Dmitry Buykin explains why the difficult part of production agents is not the agent loop, but translating local operational knowledge into executable procedures, constraining consequential actions, and turning expert corrections into reusable software.
From a talk by Dmitry Buykin
At a glance
Ideas worth remembering
A human-readable screenshot sequence is not an executable SOP. Agents need explicit preconditions, branches, identifiers, backend operations, validation, recovery, and evidence of success.
The agent loop is only one component. The larger system combines localized process memory, bounded execution, expert feedback, traces, and replay-based verification.
A correction becomes a production fix only when it changes executable behavior and is checked against real examples with writes disabled.
Production safety requires mechanism-specific controls: evaluate bad routing, gate unsafe writes, and retain expert review for unsupported assumptions and critical paths.
Improvement compounds when successful, corrected sequences become reusable composite tools instead of being rediscovered by every agent.
The expensive long tail begins when systems disagree
A shipment may look like one workflow on paper, but Buykin describes it as an orchestration of many parallel state machines. The happy path holds only while the participating systems remain coherent. When one step cannot complete, the job becomes exception work: an expert must coordinate across several incomplete systems to recover the process.
Many companies have already automated the easy majority. What remains is a long tail containing more exceptions than the existing systems were designed to handle, which makes that tail disproportionately expensive. This is the production reality behind Buykin’s contrast with tidy agent demonstrations: the agent is entering an environment where failures cross system boundaries and local exceptions dominate the remaining work.
Standard operating procedures, or SOPs, are supposed to preserve those pathways so an expert and a model can interpret the work consistently. Getting there requires more than natural-language instructions. Buykin names stable intent detection, safe tool calls, legacy-backend integration, and expert evaluation as parts of the gap between knowing a process and executing it safely.
He calls the inaccessible knowledge “tribal dungeons”: the organization knows how to handle the case, but has not represented that knowledge in a form an agent can execute. The operational consequence is blunt. If an organization cannot represent a process—including its exceptional paths—it cannot safely delegate that process to an agent.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
A screenshot sequence is not an agent procedure
Buykin’s concrete example is a legacy SOP made from screenshots arranged in order. That is a useful record of what a person sees and clicks, but it leaves the execution rules implicit. A person may infer which record is being edited, whether the current state permits the action, how to recognize success, and what to do when the screen differs. An agent cannot safely rely on those unstated assumptions.
An agent-ready SOP must make the missing execution contract explicit:
- Preconditions: what must already be true before work starts.
- Decisions: which branch applies to the current case.
- Identifiers: which shipment, record, or other entity the action concerns.
- Backend calls: which operation performs the work.
- Validation: how the system checks the resulting state.
- Recovery: what happens when execution fails or returns an unexpected result.
- Evidence: what establishes that the operation actually succeeded.
Buykin summarizes the division of labor as experts owning the what and agents owning the how. The hard work lies in translating and negotiating between those sides until their assumed “common sense” becomes explicit. Once a recurring exception has been understood, it can become a guardrail for future executions rather than remaining knowledge available only through expert intervention.
The resulting architecture has three parts: an SOP corpus that stores process memory, an execution runtime, and subject-matter-expert feedback capture. Buykin’s main architectural judgment is that the agent loop is only one component. The more complex system is the refinement loop that surrounds it and continually updates what the runtime knows how to do.
Country variation makes the corpus much larger than a single generic workflow. The same operational step may mean something different—or be described differently—under different local conditions. Buykin gives the corpus-to-runtime proportion as 20 to 1, but does not define whether that ratio measures code, storage, engineering effort, or another unit. The defensible point is the relative one: localized process memory outweighs the runtime that executes it.
Company process memory adapted to country-specific conditions.
Execution depends on localized process memory and a feedback path that turns expert findings into future behavior.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Production scale is limited by backends and expert attention
Buykin reports more than 200 production instances, with individual latencies ranging from a few minutes to as much as 10 minutes. He attributes much of that delay to dependencies on legacy systems. Running many instances concurrently does not make each case fast: the agent still has to wait for the backends participating in the workflow.
Expert time becomes another bottleneck. The subject-matter-expert bench therefore triages and clusters failures before handing them back to engineering. Clustering turns a stream of individual incidents into groups that can be prioritized, while the underlying trace preserves the details needed to diagnose a particular case.
The trace is shared evidence: an expert and an engineer can inspect the same execution and agree on what happened. That shared view matters because a verbal correction is not yet a production improvement. Buykin counts a correction only when it becomes an executable change that alters system behavior.
The team verifies changes by replaying real examples with writes disabled, protecting production systems while checking whether behavior improves. This closes the loop between diagnosis and verification: inspect an observed case, implement a change, replay the case without production side effects, and compare the resulting behavior.
Records what happened in a real execution.
A correction becomes valuable only after it changes executable behavior and survives replay against a real case.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Accuracy accumulates through small corrections
Buykin argues that both vibe coding and specification-driven development reach a limit in this system. A specification can define intended behavior, but it cannot anticipate every country-specific exception or interaction with incomplete legacy systems. Beyond that point, reliability comes from established engineering practice applied repeatedly at production scale.
Accuracy was not designed completely in an initial diagram. Buykin reports more than 100,000 corrections over nine months of development, each addressing some observed gap. The figure shows the scale of refinement, but the talk does not define the counting unit or provide a corresponding accuracy rate. It should not be read as proof of a particular success percentage.
Heat maps turn thousands of traces into priorities. Each cell groups tracked scenarios so experts and engineers can focus on the same failure class and decide where work would be most beneficial. Buykin says the work represented by a single block can require roughly one to two months from the whole team, including engineers and AI agents. A compact red cell can therefore hide a substantial investigation and implementation effort.
This changes the meaning of “the agent failed.” It is not a sufficient diagnosis or the end of the process. It is the starting signal for an investigation that must connect the observed failure to a specific fix. Without that mapping, a failure dashboard records pain but does not improve the system.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Production needs a cage, not a request to be careful
Buykin draws a sharp distinction between discovery and production. Discovery benefits from freedom because the agent needs room to explore possible methods. Production needs a cage: a harness whose job is to make avoidable mistakes impossible, rather than merely giving the model more room to act.
“Please be careful” cannot enforce a safety property. Buykin maps different failure mechanisms to different controls:
- Wrong workflow → classifier evaluation: test and improve the routing mechanism that selected the procedure.
- Wrong write → write gate: block an unsafe mutation before it reaches the backend.
- Wrong assumption → SME review: send domain judgment back to a qualified expert.
The goal is preventive control: remove the unsafe path instead of hoping the model declines to take it.
Critical paths retain review and approval. Engineering then concentrates on safe handoffs and a trustworthy trail of actions and decisions. The agent may propose or prepare work, but consequential execution remains bounded by controls outside the model and, where necessary, by human approval.
Buykin presents the methodology—not the agent itself—as the project’s main outcome. Its five moves are to make work representable, make execution bounded, make every agent’s behavior observable, make correction cheap, and make improvement compound. These moves form a sequence: explicit procedures enable controlled execution; traces expose failures; cheaper corrections let the organization repeat the loop; repeated improvements can then accumulate.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Successful sequences become composite tools
Compounding improvement means folding successful behavior back into code. Buykin describes an AI-native operation as a system that learns what works and turns those lessons into new composite tools adapted to the surrounding applications and people. The lasting asset, in his framing, is the adaptive architecture rather than any rented model capability.
The team aggregates repeatable step sequences and successful scenarios into larger reusable tools that other agents can call. This reduces repeated improvisation: once a sequence has been observed, corrected, and proven useful, later agents can invoke the packaged behavior instead of reconstructing every step. Buykin says this makes rollout across hundreds of countries possible in one go, though the talk does not document a completed rollout to that many countries.
The closing integration decision is deliberately system-specific. Buykin says the team does not use MCP for this system because the connected systems produce responses the team considers too bloated. Instead, it distills those responses and tunes tools for agents through function calling, seeking tighter control over the information returned and the software’s task processing.
That is not a comparative benchmark or a general proof that MCP is unsuitable. It is an architectural tradeoff for this production environment: the team prefers tailored function-call interfaces when they offer greater control over tool responses and execution quality. The final point fits the rest of the talk. Production reliability comes from shaping the environment around the model, not from emotional attachment to a protocol or tool.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Resources
From the talk
The official recording page includes the video, timestamped transcript, chapter navigation, and a concise reading version of the presentation.
Further reading
Conference profile and session information for Dmitry Buykin, identified there as Applied AI Lead and Staff Software Engineer at Maersk.
The conference session description situates the talk within AI-native enterprise operations and summarizes its focus on SOPs-as-code, evaluation, replay, guardrails, and expert refinement.
Related talks
- 12-Factor Agents: Patterns of reliable LLM applications
A complementary production-oriented account of keeping agent applications modular, controlling orchestration, and retaining humans in consequential workflows.
- Agents Need Feature Flags
Extends Buykin’s production-cage argument with segmented rollout, canaries, rollback, kill switches, and independent controls over agent behavior.
- Continual Learning for AI Agents: From Failures to Durable Improvements - Soheil Feizi, RELAI
Develops the same failure-to-improvement loop through replayable environments, regression checks, and reviewable changes across model, harness, and memory layers.
Read the complete timestamped transcript
- 0:01
[music]
- 0:13
Hello everyone. Um, this is a
- 0:15
practitioner report uh from real
- 0:17
production work. So, let's get into it.
- 0:21
Um, I'll skip the generic uh yet another
- 0:24
loop agent intro. This is about the hard
- 0:26
part most agent demos skip.
- 0:30
and about turning messy operational
- 0:32
knowledge into something an agent can
- 0:35
execute safely.
- 0:37
This comes from real work uh in my
- 0:39
company I'm working for supporting
- 0:42
global shipping operations and grounded
- 0:44
in production.
- 0:48
On paper it's uh one workflow usually
- 0:50
but uh in reality every shipment is an
- 0:53
orchestration of many parallel state
- 0:55
machines. While they agree the happy
- 0:59
paths work the moment one drifts you get
- 1:02
exception work.
- 1:06
The easy majority is already automated
- 1:09
in many companies. What's left is the
- 1:12
long tail and more exceptions than
- 1:15
system built uh to handle them. That
- 1:18
tail is uh the expensive part.
- 1:23
And then there's my favorite category.
- 1:25
And it comes with a special uh plate
- 1:29
here. See for EI builder dreams and
- 1:33
their laptops. This what you can find
- 1:36
outside of AI bubble in San Francisco.
- 1:42
The signal process uh depends on many
- 1:44
systems being coherent at once. If any
- 1:47
step uh can't complete the happy path
- 1:50
breaks and then it takes expert uh
- 1:53
archist expert orchestration across uh
- 1:56
multiple incomplete systems.
- 2:00
All these uh variations um path pathways
- 2:04
should be captured in SOPs. SOPs is a
- 2:07
standard operating procedure common and
- 2:09
regulated industries. So an expert and
- 2:11
the model read them uh the same way.
- 2:16
That gap is the hard part. Stable intent
- 2:20
detection tool calls you can guarantee
- 2:23
are safe integrating with legacy back
- 2:26
ends and results evaluated with experts.
- 2:32
Uh I call this uh tribal dungeons. Uh
- 2:35
the knowledge exists but not in a form
- 2:38
uh agent can execute and you can safely
- 2:41
run a process. You can't safely run a
- 2:44
process. The organization cannot
- 2:45
represent
- 2:49
standard legacy SOPs [clears throat]
- 2:51
bunch of bunch of screenshots organized
- 2:55
in sequence and but screenshots not uh a
- 2:58
process. A legacy SOPs explain what a
- 3:01
person sees and clicks. And an agent SOP
- 3:05
needs a more complex uh setup,
- 3:08
preconditions, uh decisions,
- 3:10
identifiers, back end calls, validation,
- 3:13
recovery, and evidence of uh successful
- 3:16
execution.
- 3:21
Experts own the what, agents own the
- 3:24
how. And exception becomes a guardrail.
- 3:28
Most of the effort is the translation
- 3:30
and negotiation between them to align on
- 3:34
common sense.
- 3:38
Three parts here um in this architecture
- 3:41
it's SOP memory uh organized as SOP
- 3:44
corpus
- 3:46
execution runtime and theme feedback
- 3:48
capture. The agent loop is not the
- 3:51
system. The refining loop around the
- 3:53
agent is the system
- 3:56
and it's the most complex part. Oh,
- 3:58
sorry SAP is okay. It's this slide for
- 4:02
UK. This is correct one. So and it's
- 4:06
good illustration why the the same thing
- 4:09
is means different and uh describing
- 4:12
differently in different countries and
- 4:15
it's creating a lot of variations
- 4:16
between each country
- 4:19
and that corpus is a asset the company
- 4:22
company's process memory uh modified and
- 4:25
aligned with every country um conditions
- 4:30
and far bigger than than than runtime
- 4:32
you could see the proportion 20 to1
- 4:36
So and this is concurrently operating
- 4:38
system
- 4:41
and this is the scale we run in
- 4:43
production today
- 4:46
over 200 instances and spikes and
- 4:50
latencies deviates from few minutes to
- 4:53
up to 10 minutes.
- 4:56
Um and mainly yeah the mainly main
- 5:00
reason for it that u we depending on
- 5:02
many legacy system which is uh so cannot
- 5:05
be faster than agent loop itself.
- 5:11
Expert time is the bottleneck. So the
- 5:15
theme bench uh does the triage for us.
- 5:19
It clusters the failures and hands back
- 5:22
something you can act on. Not just look
- 5:24
at look at it.
- 5:28
The trace is the shared evidence that
- 5:31
lets an expert and an engineer review
- 5:34
the same case and agree on what
- 5:36
happened.
- 5:39
A correction only counts when it becomes
- 5:41
an executable change. And that's the
- 5:45
line between an opinion and a production
- 5:47
fix.
- 5:52
And and this is where quality comes
- 5:55
from. not from vibes uh not from a
- 5:59
bigger model from replaying real
- 6:01
examples with u disabled rights to uh
- 6:06
protect the production systems and
- 6:08
checking whether behavior improved.
- 6:13
You can see here on the
- 6:16
uh cognitive proportion u or this effort
- 6:19
ratio uh between each activity in our
- 6:21
project. So usually uh pipe coding ends
- 6:25
here.
- 6:27
Here there ends um
- 6:30
specdriven development because it cannot
- 6:33
uh grow improve accuracy more than this
- 6:37
stage on this scale. And this is uh
- 6:40
where the real work starts. Nothing
- 6:44
exotic. It's engineering common
- 6:46
engineering sense applied at scale.
- 6:50
So if uh you don't know all this uh
- 6:53
terminology which developed over lastuh
- 6:57
30 years in software development
- 6:58
argument to check because this is what
- 7:01
every AI agent uh AI coding agent should
- 7:03
know uh to help you develop reliable
- 7:07
production systems
- 7:12
and accuracy it's uh wasn't designed uh
- 7:15
in one diagram up front it was earned
- 7:19
one small correction at the time at the
- 7:21
scale you see here. So we have over
- 7:24
100,000
- 7:26
corrections over last 9 months in the
- 7:29
system when we developing it
- 7:33
[clears throat]
- 7:35
and this um heat maps uh turned
- 7:39
thousands of traces into priorities. is
- 7:41
how we keep experts and engineers uh
- 7:44
looking at the same problems and
- 7:46
prioritize where the the most beneficial
- 7:49
work for them. Every cell is a group of
- 7:53
tracked scenarios we have and uh usually
- 7:57
to turn one block in red it's around one
- 8:02
two months of force for the whole team
- 8:06
whole team of engineers and also AI
- 8:09
agents
- 8:11
um the agent failed is uh where the
- 8:13
investigation starts not where it ends
- 8:16
each failure maps to a specific uh fix
- 8:22
discovery needs agent freedom and
- 8:25
production needs a cage. Uh the harness
- 8:28
isn't there to give the agent more room.
- 8:30
It's there to make the dumb mistakes
- 8:32
impossible.
- 8:36
So on this scale please be careful is
- 8:38
not a guard guard. Uh if we have wrong
- 8:41
workflow then classifier eval. If it's
- 8:44
wrong right then right gate. If it's
- 8:47
wrong assumption then it's a mere view.
- 8:49
A preventive measure eliminates the
- 8:51
unsafe path
- 8:55
on critical paths. U review and approval
- 8:58
stay in the loop. The engine engineering
- 9:00
focus is uh to build safe hands offs and
- 9:03
a trail you can trust.
- 9:08
The real outcome
- 9:11
uh wasn't the agent in the system. It
- 9:13
was the [clears throat] methodology we
- 9:15
built around it. If you want the
- 9:18
blueprint, then it's uh these five
- 9:20
moves. Make work representable. Make exe
- 9:24
execution bounded. Make behavior
- 9:26
observable for every agent and make
- 9:29
correction cheap. And last thing is make
- 9:32
improvement compound. So gradually
- 9:35
systematically improve the quality of
- 9:37
the system.
- 9:41
AI native um operation is more than
- 9:45
agents in workflow. It's a system that
- 9:48
learns from what works and fold folds it
- 9:51
back into code as new composite tools
- 9:54
adapting to the applications and the
- 9:56
people around it. The best AI models um
- 10:00
oriented intelligence for us. The
- 10:03
adaptive architecture we built is the
- 10:05
asset, the final asset
- 10:10
and
- 10:12
we aggregating all um repeatable
- 10:16
sequences of steps successful scenarios
- 10:18
and uh merging them into bigger tools
- 10:22
which uh combine the disproven scenarios
- 10:25
into the reusable snippets by other
- 10:27
agents. So and then um it's possible to
- 10:31
roll out them not only for one country
- 10:33
but for hundreds country in one go.
- 10:38
So this is um um all for the talk and
- 10:43
little time for questions and I'll be
- 10:44
around afterwards. And the final
- 10:47
reminder you know if you you know if you
- 10:50
are AI builder if you emotionally
- 10:54
attached to tools not MCPS
- 10:57
we're not using MCPS because uh for us
- 10:59
it's uh always not the best choice. So
- 11:02
because all all systems usually really
- 11:05
bloated and we have to distill responses
- 11:08
and uh tune the tools through function
- 11:12
calling uh to our agents then we can
- 11:15
control quality of um our software and
- 11:19
ensure that uh it's correctly
- 11:22
processing assigned tasks.
- 11:27
Thank you. Any questions?
- 11:33
Okay, then um thanks for your attent u
- 11:37
attention. Then I will be around so you
- 11:39
can ask me questions if you want.
- 11:44
[applause]
- 12:00
>> [music]