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.
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-agentsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install deploying-scalable-agents in Claude Code
git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners /tmp/ai-agents-for-beginners && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-agents-for-beginners/translations/ms/.agents/skills/deploying-scalable-agents ~/.gemini/antigravity-cli/skills/deploying-scalable-agentsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install deploying-scalable-agents in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
