Skip to content

5 Lessons Running AI Agents in Production

July 1, 2026 · 56 min

Show notes

John Sexton and Aaron Tummon from Genesys join the show to share hard-won lessons from building and operating Cloud Copilot — an agentic AI layer serving 2 million users across 21+ AWS regions. Genesys powers customer experience for brands like Virgin Atlantic, Vodafone, and HSBC, and their copilot helps admins, supervisors, and agents work more efficiently through natural language. We cover the migration from Bedrock Inline Agents to Strands Agents, multi-agent orchestration with agents-as-tools, context management strategies, cost optimization, and the testing discipline required to keep agentic systems stable at scale. The 5 lessons: 1. Pick a framework that scales with you — Bedrock Inline Agents worked for 12–15 tools but became exponentially flakier beyond that. Strands Agents gave sensible defaults and room to grow without pinch points. 2. Separate orchestration from domain logic — Agents-as-tools creates a clean line between the orchestrator and sub-agents. You can pull functionality in and out per persona without destabilizing the system, and domain teams own their sub-agents independently. 3. Manage context aggressively — Long context windows for the orchestrator, stateless sub-agents, summarizing and sliding-window conversation managers, and strict control over what tools return. Every extra token in context degrades quality and increases cost. 4. Make prompt caching non-negotiable — System prompts, tool definitions, and conversation history rarely change between invocations. Enabling prompt caching delivered significant cost reductions with almost no effort. 5. Test relentlessly because prompt drift is invisible — One prompt change is never a breaking change; five accumulated changes are. A dedicated weekly Sentinel role investigates failures, and full test suites run on every single change.

With Aaron Tummon, Software Engineer at Genesys ; With John Sexton, Engineering Manager at Genesys

  • All episodes of The AWS Developers Podcast

    Settings

    Display

    Language

    Decides which stations you see first on the home page.

    History

    Recently played stations and episodes and your latest searches are only stored in this browser.

    Notifications

    A short notice when a podcast you follow has a new episode. Turn off single podcasts with the bell on their page.

    Account

    Save favorites – in the app and on the website.

    Keyboard shortcuts

    /
    Open search
    Space
    Play or pause
    ← →
    In the player: back 15 s, forward 30 s (episodes) · in a row: next tile
    ↑ ↓
    In a row: target within the tile
    Home / End
    In a row: first or last tile
    Esc
    Close window or menu
    ?
    This overview
    Now playing

    Go to station page

    Play next

      Add episodes with “Play next” – they play after the current episode.