Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

deploying-scalable-agents

Skill by microsoft

Takes a working agent prototype to a scalable, observable production deployment on Microsoft Foundry. It is a companion skill to Lesson 16 of AI Agents for Beginners.

  • Score 89
  • 82k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install deploying-scalable-agents

Built from the published package, never by AI.

git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners /tmp/ai-agents-for-beginners && mkdir -p ~/.claude/skills && cp -r /tmp/ai-agents-for-beginners/translations/ms/.agents/skills/deploying-scalable-agents ~/.claude/skills/deploying-scalable-agents

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install deploying-scalable-agents in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides a developer from a working agent prototype to a scalable, observable production deployment on Microsoft Foundry. It covers three deployment patterns: client-hosted, hosted agent, and agent workflow. It also covers the agent lifecycle, model routing, response caching, evaluation gates, human approval in the loop, OpenTelemetry tracing, cost optimisation, and smoke testing with the AI Smoke Test action.

It is a companion to Lesson 16 of AI Agents for Beginners and points to a runnable notebook with patterns such as request handling, evaluation gating, approval modes, and tracing. It is meant for teams deploying agents to production, such as a production customer support agent. The source says not to use it to build a first agent, which points to Lesson 01, or to run agents locally, which points to local-ai-agents and Lesson 17.

Written from the project's SKILL.md and checked against it.

What it can do

  • Deployment patternsCompares client-hosted, hosted agent on Foundry Agent Service, and agent workflow options.
  • Model routingSends simple requests to a smaller model and complex reasoning to a larger one.
  • Response cachingServes near-identical requests from cache without a model call.
  • Evaluation gateScores an offline test set and deploys only when the pass rate meets the threshold.
  • Human approvalRequires human approval for high-risk actions such as large refunds.
  • OpenTelemetry tracingWraps requests in spans and sets attributes such as routed model and customer ID.
  • Smoke testingChecks that a deployed agent endpoint responds, using the AI Smoke Test GitHub action.

What you need

  • Microsoft Foundry project
  • Azure AI User role on the Foundry project scope
  • AI Smoke Test GitHub action for smoke tests

Try asking

  • Help me add an evaluation gate before deploying my agent to Foundry.
  • Show me how to add human approval to a refund tool in my agent.
  • Set up a smoke test that checks my hosted Foundry agent responds.

Good to know

  • Not for building a first agent; the source points to Lesson 01 for that.
  • Not for running agents locally; the source points to local-ai-agents and Lesson 17.
  • Covers Microsoft Foundry targets only, not non-Foundry deployments.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: translations/ms/.agents/skills/deploying-scalable-agents/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to deploying-scalable-agents

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

deploying-scalable-agents: common questions

What is the difference between client-hosted and hosted agent deployment?

In client-hosted deployment the reasoning loop runs in your own process, giving maximum control. In hosted agent deployment Foundry hosts the loop and stores threads, with less control and far less operational surface.

How does the smoke test check a deployed agent?

The runner sends each prompt via POST to the agent's Foundry responses endpoint and asserts the reply text. The source notes that a green deployment can still be silent, so the test confirms the endpoint actually answers.

Which role is needed for the smoke test identity?

The identity needs the Azure AI User role on the Foundry project scope, and the token audience must be https://ai.azure.com/.

How do I install deploying-scalable-agents?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is deploying-scalable-agents free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is deploying-scalable-agents safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to deploying-scalable-agents?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

deploying-scalable-agents Install

Add to stack

Loading.