deploying-scalable-agents
Skill by microsoft
Guides an assistant in taking a working agent prototype to a scalable, observable deployment on Microsoft Foundry. Covers deployment patterns, model routing, response caching, evaluation gates, human approval, OpenTelemetry tracing and smoke testing. Written as a companion to course lesson 16.
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/pt-PT/.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/pt-PT/.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 helps a learner move an AI agent from a working prototype to a production deployment on Microsoft Foundry. It explains three deployment patterns: client-hosted, hosted agent on Foundry Agent Service, and agent workflow. It also covers the agent lifecycle of create, version, evaluate, deploy, observe and repeat, with offline evaluation acting as a release gate.
The skill lists scalability and cost levers in priority order: right-sizing the model, routing by complexity, caching, and stateless design with rate-limited concurrency. It points to patterns in a companion Python notebook, including a request handler, an evaluation gate, a human approval tool and OpenTelemetry spans. It also describes an AI smoke test for deployed endpoints. The skill is aimed at learners following the Microsoft course lesson on scalable agent deployment.
Written from the project's SKILL.md and checked against it.
What it can do
- Deployment pattern choiceHelps choose between client-hosted, hosted agent and agent workflow deployment patterns.
- Evaluation gateRuns an offline test set and only deploys a version if the pass rate meets the threshold.
- Model routing and cachingRoutes requests by complexity to smaller or larger models and serves near-identical requests from cache.
- Human approvalShows how to require approval for high-risk actions such as large refunds.
- OpenTelemetry tracingWraps each request in a tracing span and sets attributes such as the routed model.
- Smoke testingChecks that a deployed agent endpoint responds, using the AI Smoke Test action and a test catalogue.
- Enterprise controlsAdvises least-privilege managed identities per hosted agent and treats MCP servers as untrusted boundaries.
What you need
- Microsoft Foundry project
- Azure AI User role on the Foundry project scope (for smoke tests)
- Azure login identity
Try asking
- Help me choose a deployment pattern for my agent on Microsoft Foundry.
- Add an evaluation gate that blocks deploying an agent below a pass rate.
- Set up a smoke test for my deployed Foundry agent endpoint.
Good to know
- Guidance is based on the lesson content and companion notebook, and the skill does not invent Foundry APIs.
- The assistant is told not to promise live Azure results it has not verified.
- Smoke tests need the Azure AI User role and the https://ai.azure.com/ token audience.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: translations/pt-PT/.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 →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
deploying-scalable-agents: common questions
What is the difference between a client-hosted and a hosted Foundry agent?
A client-hosted agent runs its reasoning loop in your own process, giving more control but requiring you to manage scaling and state. A hosted agent on Foundry Agent Service lets Foundry host the loop, store threads and apply RBAC and content safety, with a much smaller operational surface.
Why is offline evaluation treated as a gate?
The skill says a version is not released unless it passes the threshold, so evaluation comes before deployment rather than after. Online observability then feeds real failures back into the offline test set.
What does the smoke test check?
It checks that the deployed endpoint responds. It sends each test prompt by POST to the agent's Foundry endpoint and verifies the text of the response.
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: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
