THRSP1157 · Theater

Building agents with Claude in Foundry: Choosing your stack

  • Tuesday 17 November
  • 23 min
  • Catalogue level: (200) Intermediate
  • Our depth rating: 200
  • Worth watching: 2/3

Speakers: Maya Nielan

Watch on Microsoft’s site from 10:28

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

What the session covers

Maya Nielan of Anthropic presents a three-layer framework (model, harness, infra) for choosing how to build Claude agents on Microsoft Foundry. She compares the Messages API, Claude Agent SDK, Claude Managed Agents, Microsoft Agent Framework, Foundry hosted agents and Copilot Studio along a control-versus-managed-hosting trade-off. The session explains the brain/hands split in Claude Managed Agents and mentions a fully self-hosted version in private beta. It also covers procurement and hosting differences between Claude in Foundry and direct Anthropic access. It closes with six personas mapped to stacks and advice to invest in portable MCP tools, skills and prompts.

Best for: Architects and developers deciding whether to build Claude agents with the Agent SDK, Managed Agents, Agent Framework, Foundry hosted agents or Copilot Studio.

Session timeline by chapter

New material starts at 10:28. After the intro, agent definition and overview of the Messages API and Agent SDK, the chapter on Claude Managed Agents' brain/hands architecture and the new self-hosted private beta starts at 10:28.

Where to skip: Skip to 07:39 for the developer surfaces; the core is Managed Agents at 10:28, the model-hosting constraints at 15:02, Foundry hosted agents at 17:46 and the persona mapping at 19:10. The first five minutes are intro and general agent history, and the wrap-up at 22:20 only restates the framework.

Chapters (11)

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

    Speaker intro and agenda: choosing a stack for Claude agents on Foundry

    Maya Nielan, an applied AI engineer at Anthropic, introduces the talk on building production-grade agents with Claude and Microsoft Foundry. She notes that prototyping an agent locally is quick, but moving it to production and choosing the platform is harder in a crowded market of Anthropic and Microsoft products. The agenda covers where agents are today, lessons from building Claude Code, Cowork and Tag, choosing the model, harness and infra, and example personas.

  2. 01:46 Recap Depth 100 · Novelty 1/3

    What an agent is and how models, tools and environments evolved 2024-2026

    An agent is defined as a model using tools in a loop until the task is done; the loop is unchanged since 2024, but models and environments improved. On SWE-bench Verified, Sonnet 3.5 scored about 50% in October 2024, while Anthropic's model Fable now exceeds 90%. Capabilities added over time include tool use, computer use, sandboxes, code execution, file systems, skills and memory. Citing Anthropic's RSI report, she describes the shift from chatbots to autonomous agents managing fleets of other Claude instances to develop Claude.

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

    Mental framework: the three layers of model, harness and infra

    The speaker presents a three-layer framework for agent decisions. For the model, choose the balance of intelligence, price and latency across Haiku, Sonnet, Opus and Fable, and decide where it is procured and hosted. The harness is compared to a new hire's laptop: take the loop, permissions, error recovery and context management off the shelf and invest in your own context, systems and use case. The infra layer covers running agents in the cloud, multiple instances and hardened sandboxes.

  4. 07:39 Deep dive Depth 300 · Novelty 1/3

    Anthropic developer surfaces: Messages API and Claude Agent SDK

    Anthropic offers three developer services: the Messages API, the Agent SDK and Claude Managed Agents, each moving further up the stack. The Messages API is the most bare-metal access, with tools such as the Files API and code execution, and is available on Azure via Claude in Foundry, but leaves loop, permissions, sessions, observability, credentials, hosting and sandboxing to the developer. The Claude Agent SDK packages the Claude Code harness as a Python and TypeScript library with file and code tools, context management, sub-agents and permissioning, usable with a human in the loop or headless, and is maintained by Anthropic as models improve.

  5. 10:28 New Depth 300 · Novelty 2/3

    Claude Managed Agents: brain/hands split and new self-hosted version

    For long-running agents such as Claude Tag and Claude Duet, Anthropic split the agent loop (the brain) from the sandbox (the hands) so a failed container does not break a task hours in. Claude Managed Agents runs the brain on Anthropic infrastructure, with sandboxes in Anthropic's cloud or self-hosted in your own Azure subscription; benefits include recovery, faster responses without code execution, credentials kept in vaults outside the sandbox, tools running in your network, parallel sessions and features like dreaming and graded outcomes. Managed Agents launched in the summer, and last week Anthropic released a fully self-hosted version in private beta where customers run both brain and hands.

  6. 13:39 Deep dive Depth 200 · Novelty 1/3

    Portable layer: MCP, skills and prompts, plus the build-versus-buy menu

    What transfers across all stacks is access to your systems and data via MCP and your ways of working captured in prompts and skills; the speaker recommends investing there because models and harnesses will change. She then shows the full menu of options from building your own loop to Copilot Studio: building more gives control but more maintenance, buying more gets to production faster at the cost of flexibility.

  7. 15:02 Deep dive Depth 300 · Novelty 1/3

    Model layer: procuring and hosting Claude via Foundry or Anthropic

    Choosing the model involves where Claude is procured and where it is hosted. Claude in Foundry gives Entra ID sign-in, billing on the Azure bill and Azure commit burn-down for eligible customers; hosted on Azure it is an Anthropic service on Azure infrastructure with a US-only option for supported models and is the recommended start for most Foundry workloads. Features like code execution or the Files API require Claude in Foundry hosted on Anthropic infrastructure, and Claude Managed Agents requires first-party access directly from Anthropic.

  8. 16:26 Deep dive Depth 200 · Novelty 1/3

    Harness layer: Agent Framework, Copilot Studio, Agent SDK or Managed Agents

    Microsoft Agent Framework is an open-source .NET and Python framework suited to multi-model agent or multi-agent workflows. Copilot Studio is low code with loop and hosting built in: an admin enables Claude, and a builder picks the model, describes the agent in plain language and gets drafted instructions and recommended connectors and triggers. For new Claude-based agents, especially long-running ones, she recommends the Agent SDK or Managed Agents, and the Messages API for total control.

  9. 17:46 Deep dive Depth 300 · Novelty 1/3

    Infra layer: Foundry hosted agents as managed runtime for your agent code

    With Claude Managed Agents or Copilot Studio, hosting is handled by Anthropic or Microsoft; with the Agent SDK or Microsoft Agent Framework you need a runtime, and the recommendation is Foundry hosted agents. Foundry runs your agent code as a container with security, scaling and logging, and returns an endpoint your app can call. Each session gets an isolated sandbox whose files persist if the user returns hours later, the agent gets its own Entra ID identity with controlled access, and observability comes via Application Insights.

  10. 19:10 Deep dive Depth 200 · Novelty 1/3

    Six personas mapped to stacks, from Managed Agents to the raw Claude API

    An education startup needing speed and memory should use Claude Managed Agents (public beta, directly from Anthropic); an insurer with regulatory requirements should use self-hosted Managed Agents at the cost of running servers, upgrades and a database. A CI pipeline coding agent fits the Claude Agent SDK with Claude in Foundry and a Foundry Agent Service hosted agent, which she calls the reasonable default but Claude-only and requiring wiring of sessions, credentials and monitoring. Multi-model apps fit Microsoft Agent Framework as a hosted agent, though not optimized for Claude; an M365-heavy HR team fits Copilot Studio; maximum control means the Messages API with your own harness on Microsoft infrastructure.

  11. 22:20 Closing Depth 100 · Novelty 0/3

    Wrap-up: MCP, skills and prompts stay portable across any stack

    The speaker recaps the three-layer framework of model, harness and infra for choosing a production stack. She stresses that access to tools via MCP, skills and prompts stay with you and translate across any stack, then thanks the audience.

Announcements (1)

  • 12:44 private-preview Claude Managed Agents

    Self-hosted Claude Managed Agents

    A fully self-hosted version of Claude Managed Agents in which the customer runs both the agent loop (brain) and the sandbox (hands) in their own environment.

    last week

    Speaker’s quote (at 12:44)
    „last week we came out with a fully self-hosted version of Cloud Managed Agents.“

Demos (0)

No demos.

Watch on Microsoft’s site: THRSP1157