Agentic factories in production: running AI age...

Agentic factories in production: running AI agents that write 100% of the code

How Theodo migrated Pernod Ricard's legacy marketing platform 10x faster, ahead of a hard SAP deadline, with an agentic factory: humans make the big architecture decisions, AI agents carry out the migration, and equivalence tests and a harness check every change. When an agent makes a mistake, the team fixes the factory, not the piece.

Speaker: Quentin Pleplé, CTO AI Modernisation @ Theodo

Cloud Native AI Summit @ FOST Paris 2026
https://www.joinfost.io/events/paris

FOST, powered by apidays PRO

December 03, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

23 slides
  1. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 01 Pernod Ricard is aiming for #1 worldwide Aquila Advertising & Promotion Internal marketing platform Affiliates using Aquila Today Target 9 77 4
  2. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER Obsolete stack forces a full migration Today Obsolete Frontend Spaghetti Backend Users 01 Database → SAP ERP JD Edwards Target Frontend Backend 5
  3. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 01 SAP migration program puts a hard deadline Hard deadline AI-assisted migration Manual migration 7 months 15 months time 6
  4. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER The code is the source of truth ✕ Documentation ✕ BPMN ✕ Expert interviews 02 Code 8
  5. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 It is often faster to migrate iso first and then make the changes wit e t i ewr an h ch ⏳R ges 2. Changes Target ⚡ Legacy ⚡ 1. Iso migration 9
  6. 02 01 · THE PERNOD RICARD CASE STUDY › 02

    · HOW WE MIGRATE 10X FASTER We measure complexity with COSMIC points Boundary Entry (E) Write (W) Software functional process Functional user Exit (X) Read (R) Persistent storage ISO/IEC 19761 10
  7. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 Tracer agents walk the whole call graph StockRepo.reserve R1 OrderService.place R1 W1 W1 OrderRepo.save exploring… AuditLog.write pending TOUCHPOINT POST /orders OrderController.create E1 X1 Mailer.sendConfirmation X1 TaxRules.apply pending PricingService.compute exploring… Discount.lookup pending 11
  8. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 We split the migration by value, into vertical slices 1 Log in, see the dashboard login.php dashboard.php 2 Set up the books accounts.php 3 journals.php Post entries, read the ledger entries/edit.php ledger.php 12
  9. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 Humans make the big decisions first, then agents do the migration on their own Groundwork (3 to 6 weeks) Autonomous migration Legacy analysis 1 slice Product vision Functional principles 3 slices Technical vision Technical principles 8 slices Validation harness 18 slices Migration planning 13
  10. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 The business sets the big functional principles once, every small choice follows from them Windows client Design system 14
  11. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 Client architects set the big technical principles once, every small choice follows from them 15
  12. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 The principles are set, so agents never stop to ask Groundwork (3 to 6 weeks) Autonomous migration Legacy analysis 1 slice Product vision Functional principles 3 slices Technical vision Technical principles 8 slices Validation harness 18 slices Migration planning 16
  13. 02 01 · THE PERNOD RICARD CASE STUDY › 02

    · HOW WE MIGRATE 10X FASTER Getting it right the first time makes us 10x faster Traditional code val rework Industry standard with AI c val rework c val rework c val val c rework c val code rework c val rework Theodo Autonomous Factory c val c val c val c val c val c val c val c val c val c val 17
  14. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 Equivalence tests let us do iso migrations quickly ONCE Legacy Results Identical End-to-end test scenarios Same? AFTER EVERY CHANGE Different New code Results AI agent fix and retry 18
  15. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 The harness lets the factory check its own work Groundwork (3 to 6 weeks) Autonomous migration Legacy analysis 1 slice Product vision Functional principles 3 slices Technical vision Technical principles 8 slices Validation harness 18 slices Migration planning 19
  16. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER We ramp up only once quality holds 02 112 96 72 60 36 18 24 8 2 4 Kick-off W1 W2 W3 W4 W5 W6 W7 W8 W9 Devs 2 2 2 3 3 3 4 4 4 4 × pieces per dev 1 1 2 2 2 3 3 3 4 4 × slices per piece 1 2 2 3 4 4 5 6 6 7 = slices delivered 2 4 8 18 24 36 60 72 96 112 20
  17. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER We fix the factory, not the piece Autonomous factory Reverse Engineering Plan Implement 02 Validate Launch Defect Validate Root cause 21
  18. 01 · THE PERNOD RICARD CASE STUDY › 02 ·

    HOW WE MIGRATE 10X FASTER 02 Every agent mistake becomes a factory fix • Kaizen analysis: 3 migration conversations I've analyzed 3 migration conversations from 2 developers. Here's what I found: Problems: | Problem | Migration step | Cost | |-------------------------------------------------|----------------|---------------------------------| | Edit mode ships 7 rows short, eligibility wrong | Parity fix | 3 defects found by the PO | | Feature judged "already built" | Slice scoping | 219 scenarios never implemented | | Equivalence run on stale recordings | Harness | 8 h of VM, 0 scenario passing | Root causes: • 1. "Out of scope" read as "absent": spec → prototype → code, and the parity gate passed • 2. "Route exists" read as "built": a guard admitting 0 rows does not fail • 3. Recordings not refreshed after a merge: the run started on a known blocker Proposed updates: 1. create-target-prototype/SKILL.md - an edit state renders every row of its read state 2. create-spec/SKILL.md - state "N of M legacy conditions", every deferral becomes a ticket 3. migrate/SKILL.md - check main and the backlog before sizing a feature 4. scope guard - admitting 0 rows fails loudly 5. equivalence harness - re-record stale recordings from the legacy before the gate Should I proceed with these updates? 22

More Decks by FOST, powered by apidays

Other Decks in Technology