BRK448 · Breakout

Run secure agent loops in production with isolated sandboxes at scale

  • Thursday 19 November
  • 45 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 200
  • Worth watching: 2/3

Speakers: Devanshi Joshi, Jan Kalis, Christian Flasshoff, Jeffrey Quesnelle

Watch on Microsoft’s site from 19:20

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

The session presents Azure Container Apps Sandboxes, managed hardware-isolated microVMs positioned as the foundation layer for Foundry Agent Service, GitHub Copilot experiences, Copilot Studio and SRE Agent; the slide labels them Generally Available. Nous Research describes running Hermes Cloud with about 20,000 active instances on sandboxes, including scale to zero and a Spend Intelligence control plane. Jan Kalis demos sandbox creation from the portal, CLI and VS Code, custom images, snapshots, an ingress proxy with Entra authentication, and an egress proxy with deny-all policies and secretless credential injection. He also covers storage, managed triggers and connectors, including a Work IQ calendar connector used by GitHub Copilot inside a sandbox. Cognite closes with its Atlas AI architecture and an industrial demo that generates isolation boundaries for a refinery heat exchanger.

Best for: Platform and cloud architects who need to host agents (including custom coding agents) securely with isolation, egress control and secretless access to systems.

Session timeline by chapter

New material starts at 19:20. Before 19:20 come the intro, the microVM positioning, the Nous Research story and a basic portal demo; at 19:20 the CLI and newly announced VS Code Azure Resources extension support for sandboxes begin.

Where to skip: Watch 02:31–04:18 for the positioning, then jump to 21:16; the snapshot/orchestrator demo at 22:35, the egress proxy with secret injection at 25:24 and the Work IQ connector demo at 31:14 are the core. Optionally view 08:00 for the Nous Research architecture and 37:46 for Cognite's sandbox requirements; skip the Cognite company background at 34:47 and the wrap-up at 42:58.

Chapters (15)

  1. 00:06 Recap Depth 100 · Novelty 0/3

    Session intro, agenda and the agent attack-surface problem

    Devanshi Joshi introduces the speakers from Microsoft, Nous Research and Cognite and the agenda. An audience poll asks who runs agents in production securely, and she frames the trade-off: agents need access to files, systems and code to be useful, while removing permissions makes them safe but less valuable. She cites that 74% of IT application leaders see agents as an attack vector, but only 13% have governance in place.

  2. 02:31 Deep dive Depth 200 · Novelty 1/3

    Why microVM sandboxes: Azure Container Apps Sandboxes as agent backend

    Sandboxes are positioned as the production-grade infrastructure pattern for agentic workloads rather than test playgrounds. VMs isolate strongly but are heavy and slow, containers are fast but share a kernel, and hardware-isolated microVMs offer a kernel boundary, fast starts and no idle cost. Azure Container Apps Sandboxes are described as managed microVMs with networking and identity guardrails built in, supporting short-lived and long-running agents; the slide labels them Generally Available. They are said to be the foundation layer for Foundry Agent Service, GitHub Copilot experiences, Copilot Studio and SRE Agent.

  3. 04:18 Customer story Depth 200 · Novelty 1/3

    Nous Research: Hermes Agent's self-improvement loop and its enterprise risks

    Jeffrey Quesnelle of Nous Research explains that Hermes Agent began as an internal research tool, was open-sourced about a year ago and reached #1 on GitHub within two weeks. Its key feature is a background self-improvement loop that builds skill files and deterministic workflows automatically, spreading the learnings of the best employees across a team. Moving to enterprises raised risks: trust boundaries beyond a single laptop, personal content leaking into shared skill files, and the need for a governance layer to inspect what is distributed.

  4. 08:00 Customer story Depth 300 · Novelty 1/3

    Hermes Agent architecture on ACA Sandboxes: surfaces, control plane, Spend Intelligence

    Nous Research chose Azure Container Apps Sandboxes to distribute skill files, control token spend and stay model-agnostic while keeping governance and data provenance. The architecture has three entry surfaces (desktop client, API, messaging platforms such as Teams and Slack) plus a mobile app in beta that runs fully on sandboxes. An enterprise control plane handles SAML/Microsoft Entra ID and a Spend Intelligence feature for tuning model mix per user class. Stateful agents were hard to decompose into serverless primitives, so a microVM that behaves like a VM without its downsides fit the need for potentially millions of agents.

  5. 12:19 Customer story Depth 200 · Novelty 1/3

    Hermes Cloud in production: 20,000 instances, scale to zero and lessons learned

    Hermes Cloud moved from another cloud provider to Azure Container Apps Sandboxes and runs about 20,000 active instances, used by hundreds of large companies. Bursty agent workloads needed the illusion of an always-on stateful VM with instant startup so it can scale to zero; otherwise the economics would not work. His lessons: enforce security at the hardware VM kernel level, pay only for what you use, and treat the accumulated AI IP as the differentiator, while planning for rising CPU and RAM costs.

  6. 15:55 Demo Depth 200 · Novelty 1/3

    ACA Sandboxes deep dive: creating a sandbox in the Azure portal

    Jan Kalis reports over 2 million daily sandboxes across 44 regions and demonstrates creating a sandbox in a sandbox group in the Azure portal using a Microsoft-built base image and a size from a quarter core to 16 cores. The running sandbox shows a bash console, egress traffic, resource statistics, log stream, processes, file system, and options for volumes, connectors and triggers. He lists other creation options: Python and .NET SDKs (more coming), the CLI, Bicep, Terraform, and agent skills that let an agent create, deploy to and debug a sandbox.

  7. 19:20 Demo Depth 200 · Novelty 2/3

    Creating sandboxes via CLI and the VS Code Azure Resources extension

    Jan creates a sandbox from the CLI after setting subscription, resource group and sandbox group, and it appears in the portal. He announces that the Azure Resources extension for VS Code now natively supports sandboxes, creates one there, opens a remote sandbox shell and shows the OS release file proving it runs Ubuntu.

  8. 21:16 Deep dive Depth 300 · Novelty 1/3

    Sandbox states, custom disk images, snapshots and the ingress proxy

    Jan explains that sandboxes can be running or stopped and that, based on lessons from ACA Dynamic Sessions, customers can bring custom disk images with their dependencies and agent harnesses. Sandboxes can be snapshotted for long-running tasks. An ingress proxy outside the sandbox, not controllable by the code inside, maps external ports to sandbox ports and can enforce authentication.

  9. 22:35 Demo Depth 300 · Novelty 1/3

    Demo: orchestrator sandbox spawning 25 snapshot-able worker sandboxes

    Using two custom images (Orchestrator and Metrics) converted from OCI images, Jan exposes an app in a sandbox via the ingress URL with a port, wake-on-traffic and Entra authentication by tenant or user ID. The app spawns 25 worker sandboxes from the Metrics image that count to 1,000,000; stopping them creates snapshots and starting them resumes where they left off. The sandbox group shows 26 sandboxes on different schedules, which are then deleted.

  10. 25:24 Demo Depth 300 · Novelty 2/3

    Egress proxy with deny-all policy and secretless credential injection

    The egress proxy sits outside the sandbox so agent code cannot change its per-sandbox policy, and it enables secretless sandboxes. In the demo a deny-all policy with allow rules for github.com and a custom endpoint shows allowed and denied calls (Devanshi types the curl command). A ping.sh script sends a plain secret visible in a traffic-inspector sandbox; after storing a key-value secret under Security and turning the allow rule into a transform rule that injects the X-API-Key header, the proxy injects the secret.

  11. 31:14 Demo Depth 300 · Novelty 2/3

    Agent storage, triggers and connectors: GitHub Copilot sandbox with Work IQ calendar

    Because sandboxes are ephemeral, data can be persisted to managed data disks, managed Blob or your own Blob storage, with SQL and Postgres database support to be announced very soon. Managed triggers can wake sandboxes and connectors reach third-party systems without secrets; more than 1,700 Logic Apps connectors, including a Work IQ calendar connector with on-behalf-of authentication, are offered. Jan creates a GitHub Copilot sandbox with preset allow and transform rules injecting a GitHub token and asks Copilot to summarise his calendar. He recaps the segment and points to hands-on Lab 722.

  12. 34:47 Customer story Depth 200 · Novelty 0/3

    Cognite: industrial data problem, Cognite Data Fusion and Atlas AI

    Christian Flasshoff explains that Cognite, founded 10 years ago for heavy-asset industries, first had to solve fragmented data: one refinery pump has pressure data, work orders, P&ID diagrams and 3D models in different systems with different identifiers. Cognite Data Fusion connects sources once and builds a contextualised knowledge graph behind a single API, holding over 100 trillion data points, 5 billion graph nodes and 400 million documents. Its agentic offering Atlas AI launched about three years ago on top of that API.

  13. 37:46 Customer story Depth 300 · Novelty 1/3

    Atlas AI agent architecture: giving agents a computer via ACA Sandboxes

    Atlas AI agents have a system prompt, LLMs, tools in a harness, skills and sub-agents; the breakthrough was giving them a computer in the form of sandboxes so they can write and run code against sensitive operational data. Requirements were kernel-level isolation per user conversation, egress control without secrets in the sandbox, private network connectivity, custom disk images with dependencies, and observability. The first sandbox-enabled agent was built in days and reached production within weeks.

  14. 39:39 Demo Depth 200 · Novelty 1/3

    Cognite demo: agent creates heat-exchanger isolation boundaries, plus learnings

    For a maintenance engineer working on a refinery heat exchanger, the Atlas AI agent searches the knowledge graph for the engineering diagram, downloads and inspects it in its sandbox and presents it for validation. Asked to create isolation boundaries, it runs code on the files, queries more graph data, proposes a plan and highlights the equipment and valves to close. Cognite's learnings: design for security with kernel isolation, hide sandbox complexity from users, and partner with Microsoft rather than building sandbox plumbing.

  15. 42:58 Closing Depth 100 · Novelty 0/3

    Wrap-up, resources and hands-on Lab 722

    Devanshi summarises that agents need isolation by default and that Azure Container Apps Sandboxes provide managed, secure microVMs for workloads from industrial agents to SaaS agent platforms, as shown by Nous Research and Cognite. She shares the product blog and documentation links, points to Lab 722 with two more runs, and asks for session feedback.

Announcements (4)

  • 03:25 not stated Azure Container Apps

    Azure Container Apps Sandboxes

    Managed, hardware-isolated microVM sandboxes with built-in networking and identity guardrails for short-lived and long-running agent workloads with no idle compute cost.

    Speaker’s quote (at 03:25)
    „Azure Container App Sandboxes are that secure, managed micro VMs offering with hardware isolation. plus networking, identity guardrails, all of that built in.“
  • 20:20 not stated Azure Container Apps

    Sandbox support in Azure Resources extension for VS Code

    The VS Code Azure Resources extension can create sandboxes and open a remote shell into them.

    Speaker’s quote (at 20:20)
    „it is our pleasure to announce that the Azure Resources extension for VS Code now natively supports sandboxes.“
  • 31:42 roadmap Azure Container Apps

    Database storage (SQL, Postgres) for ACA Sandboxes

    Saving sandbox data into SQL or Postgres databases using secretless principles.

    Speaker’s quote (at 31:42)
    „very soon we'll be announcing saving your data into a database, either SQL or Postgres.“
  • 32:47 not stated Azure Container Apps

    Managed connectors and triggers for ACA Sandboxes

    More than 1,700 Logic Apps connectors, such as the Work IQ calendar connector, can be attached to sandboxes to reach external systems without secrets.

    Speaker’s quote (at 32:47)
    „here is a work IQ calendar connector or other more than 1700 connectors from the Logic Apps team who recently announced this as container namespace.“

Demos (6)

  • 16:24 Not stated Azure Container Apps Sandboxes

    A developer creates and inspects a sandbox through the Azure portal.

    Steps (6)
    1. In the Azure portal, search for 'sandbox' or open Container Apps sandbox groups.
    2. Open an existing sandbox group (the entity in which sandboxes live).
    3. Click Create sandbox and choose a Microsoft-built base image (here a Python image).
    4. Choose the size, from 1/4 core up to 16 cores, and optionally add a label.
    5. Click Create; after validation the sandbox is running.
    6. Use the bash console to run ls, and review egress, resource statistics, log stream, processes, file system, volumes, connectors and triggers.

    Prerequisites: Azure subscription with an existing Container Apps sandbox group.

  • 19:51 Not stated Azure Container Apps Sandboxes

    A developer creates sandboxes from the CLI and from VS Code and connects to a sandbox shell.

    Steps (6)
    1. In the CLI, set the subscription, resource group and sandbox group.
    2. Run the sandbox create command (captioned as 'ACS sandbox create') with the name CLI.
    3. Check in the Azure portal that the new sandbox appears in the group.
    4. In VS Code, use the Azure Resources extension to create a sandbox with the same parameters.
    5. Open a sandbox shell from VS Code and run ls.
    6. Display the OS release file to confirm the sandbox runs Ubuntu.

    Prerequisites: Azure subscription, resource group and sandbox group; the ACA CLI; VS Code with the Azure Resources extension.

  • 22:35 Not stated Azure Container Apps Sandboxes

    Run an orchestrator app in a sandbox that fans out to many worker sandboxes, exposed securely and resumable via snapshots.

    Steps (6)
    1. Prepare two custom disk images (Orchestrator and Metrics) converted from container/OCI images.
    2. On the orchestrator sandbox, configure the ingress: assign a port, enable wake when traffic comes in, and add authentication with a tenant ID or a user ID.
    3. Open the ingress URL to reach the app running inside the sandbox.
    4. Let the app spawn 25 sandboxes from the Metrics image, each counting from 1 to 1,000,000.
    5. Stop the workers to create snapshots, then start them to resume from where they stopped.
    6. Review the sandbox group (26 sandboxes) and delete the workers when no longer needed.

    Prerequisites: Sandbox group, custom images built from OCI images, and an orchestrator application.

  • 26:25 Not stated Azure Container Apps Sandboxes

    Restrict an agent sandbox's outbound traffic and let it authenticate to an endpoint without holding the secret.

    Steps (7)
    1. Open a running sandbox and view the egress traffic log with allowed and denied calls.
    2. Configure a deny-all policy with allow rules for github.com and a custom endpoint.
    3. Run curl to www.github.com and confirm the call appears as allowed.
    4. Run a ping.sh script that calls the custom endpoint with an embedded secret and check it in a traffic-inspector sandbox.
    5. Under Security, define a key-value pair holding the secret.
    6. Change the endpoint rule from an allow rule to a transform rule that sets the X-API-Key header from the stored secret, and save.
    7. Rerun the call and confirm in the inspector that the proxy injected the key.

    Prerequisites: Running sandbox, a target endpoint, and a second sandbox running a traffic inspector.

  • 32:19 Not stated Azure Container Apps Sandboxes

    Run GitHub Copilot inside a sandbox that can securely read the user's calendar through a Work IQ connector.

    Steps (5)
    1. In the sandbox group, click Create and select the GitHub Copilot sandbox image.
    2. Review the preset allow and transform rules that inject the GitHub token.
    3. Add the Work IQ calendar connector and authenticate it during creation (on-behalf-of is also supported).
    4. Start the sandbox and run Copilot.
    5. Ask Copilot to summarise this week's calendar and review the answer.

    Prerequisites: GitHub account, a Work IQ calendar connector authenticated at creation, and a sandbox group.

  • 40:32 Not easy to reproduce Cognite Atlas AI on Azure Container Apps Sandboxes

    A refinery maintenance engineer gets an agent-generated isolation plan for safely maintaining a heat exchanger.

    Steps (5)
    1. The user asks the agent to find the engineering diagram for the heat exchanger.
    2. The agent searches the knowledge graph, downloads and inspects the document in its sandbox and presents it for validation.
    3. The user asks the agent to create isolation boundaries.
    4. The agent runs code on the files, queries additional knowledge-graph data and proposes a plan.
    5. The agent returns the drawing with highlighted equipment and the valves to close; the user validates the plan.

    Prerequisites: Cognite Data Fusion knowledge graph and Cognite Atlas AI.

Watch on Microsoft’s site: BRK448