Dmitry Boyko's presentation, 'Tribal Dungeons of Global Shipping: How I Learned to Stop Worrying and Love the SOPs,' focuses on the practical challenges of deploying AI agents in the complex domain of global logistics, particularly within Maersk. He highlights that while 80% of logistics processes are already automated, the remaining 20% represent a 'long tail tax' of semi-automated edge cases handled across incomplete systems, relying on PDFs, spreadsheets, emails, legacy systems, local rules, and specialist judgment. This results in exception work where parallel state machines, such as booking, vessel, equipment, customs, and billing, become incoherent, requiring expert orchestration to resolve.
Boyko introduces the concept of a 'tribal dungeon': a process that exists but not as executable knowledge. This knowledge is spread across people, documents, screenshots, legacy systems, local variants, and exception rules. The core problem is that an agent cannot safely execute a process that the organization cannot represent reliably. To address this, he proposes turning this tribal knowledge into executable SOPs (Standard Operating Procedures). Unlike traditional 'legacy SOPs' which are collections of screenshots and comments instructing human actions, 'Agent SOPs' must include preconditions, a decision tree, verified identifiers, distilled backend calls + validation, a recovery path, and an evidence trail of successful execution.
He draws a clear distinction between prototype thinking (LLM -> tool call -> done) and production thinking (request -> country -> scenario -> identifiers -> dynamic tools -> guardrails -> evidence -> eval). The gap between these two is the hard part, requiring stable intent detection, safe tool calls, integration with legacy backends, and expert evaluation of results. The solution lies in a three-component architecture:
1. SOP Corpus: Executable process memory.
2. Agent Runtime: Classifier + execution loop + traces + dynamic tools.
3. SME Bench: Clustering traces + evaluation + correction + replay.
The critical insight is that 'the agent loop is not the system; the refinement loop around the agent is the system.' This involves a continuous cycle of observation, diagnosis, change, replay, deployment, and measurement.
Boyko emphasizes that SOP-as-code beats prompt engineering. While prompt engineering relies on 'one big instruction,' SOP-as-code is versioned, tool-scoped, replayed, reviewed, deployed, measured, country-aware, and linted. The SOPs are the asset: a living knowledge base adapted to the company's processes, becoming its process memory. For Maersk, this has resulted in an SOP corpus that is 20:1 ratio to runtime code, covers 110 countries and 25+ languages, and manages ~10K process intents/scenarios.
He demonstrates the system's operational scale with metrics showing over 200 active container instances handling requests with varying latency (from minutes to over 10 minutes, mainly due to legacy system dependencies). The Evaluation UX focuses on transforming 'noise to patterns' by clustering failed/rejected traces to provide SME correction and generate SOP change requests. The 'trace is the evidence object,' carrying details like intent, routing, SOP branch, verified facts, tools called, decision, output, and failure reason, enabling experts and engineers to agree on 'what happened.'
Corrections become executable changes, moving from generic responses to specific, rule-based actions with readiness checks and fallback templates. This leads to replayable results where real examples are replayed (with writes disabled) to verify that behavior improved. This process ensures production quality came from iteration, not initial design. With 100K+ incremental corrections over nine months, coverage and accuracy are 'earned, not designed.'
The cognitive effort ratio highlights that AI coding is only 10% of the effort, specs/SOP refinement is 20%, and evaluation/replay/testing/trace review is a significant 80%. This includes practices like TDD/BDD, linters, pairwise testing, data analysis, simulations, and SME feedback loops. The core idea is that 'AI coding made it viable. The work is everything around the code.'
Finally, Boyko concludes that 'discovery needs flexibility. Production needs a cage.' This harness doesn't give the agent more freedom but 'makes dumb mistakes structurally impossible' through mechanisms like verified identifiers, tool scoping, write gates, loop breakers, approvals, and replay before deploy. Each failure type (wrong shipment, workflow, tool, write, loop, SOP edit, assumption) is mapped to a structural prevention. Critical paths stay supervised through runtime gates and specialist reviews, ensuring safe handoffs and evidence trails.
The overall outcome is a methodology, not a bot:
1. Make work representable: Collect data & tribal knowledge into executable SOPs.
2. Make execution bounded: Tools -> scopes -> gates -> approvals.
3. Make behavior observable: Every run produces a trace.
4. Make correction cheap: SME feedback -> SOP diff -> replay.
5. Make improvement compound: Daily refinements -> reusable workflows as tools.
This methodology applies anywhere an enterprise has long-tail exceptions across systems, documents, and local rules. The AI agent is 'rented intelligence'; the adaptive architecture is the asset.