deploying-scalable-agents
Skill by microsoft
Guides an assistant through taking a working agent prototype to a scalable, observable production deployment on Microsoft Foundry. Aimed at developers who already have an agent and want to ship it.
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/.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/.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 an AI assistant move a working agent prototype to a production deployment on Microsoft Foundry. It covers three deployment patterns: client-hosted, hosted agents through Foundry Agent Service, and agent workflows. It also covers model routing, response caching, evaluation gates, human-in-the-loop approval, OpenTelemetry tracing, cost levers, and smoke tests with the AI Smoke Test action.
The skill is based on Lesson 16 of AI Agents for Beginners. It points to the lesson notebook for code patterns such as a request handler, an evaluation gate, and a tool that requires approval. It is aimed at developers who already have a working agent. It is not for building a first agent, running agents on-device, or non-Foundry deployment targets.
Written from the project's SKILL.md and checked against it.
What it can do
- Deployment pattern guidanceHelps choose between client-hosted, hosted agent, and agent workflow deployment patterns.
- Model routing and cachingRoutes requests by complexity and serves near-duplicate requests from a cache.
- Evaluation gateScores an offline test set and deploys only when the pass rate meets the threshold.
- Human approvalUses approval_mode="always_require" for high-risk actions such as large refunds.
- OpenTelemetry tracingWraps each request in a span and sets attributes such as routed.model and customer.id.
- Cost optimisationCovers right-sizing the model, routing, caching, and bounded concurrency with retries.
- Post-deploy smoke testingRuns the AI Smoke Test action against the deployed agent endpoint after each deploy.
- Enterprise controlsCovers managed identity with least-privilege RBAC and guidance for running MCP servers in production.
What you need
- A Microsoft Foundry project
- Azure AI User role at Foundry project scope
- Python, for the lesson notebook code samples
- GitHub Actions, for the smoke test workflow
Try asking
- Add an evaluation gate so a bad agent version cannot ship to Foundry.
- Show me how to require human approval for large refunds in my agent.
- Help me add OpenTelemetry tracing to my deployed Foundry agent.
Good to know
- Recommendations should be grounded in the lesson content and notebook, not invented Foundry APIs.
- The assistant should not promise live Azure results it has not verified.
- Not for building a first agent, which the source says to start with Lesson 01.
- Not for running agents locally on-device or for non-Foundry deployment targets.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .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.md6 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
Which deployment patterns does it cover?
It covers client-hosted agents, hosted agents through Foundry Agent Service, and agent workflows with branching, approval nodes, and durable checkpoints.
How does the smoke test work?
After deploy, the AI Smoke Test action POSTs each prompt to the agent's Foundry endpoint and asserts on the reply text. The identity needs the Azure AI User role at project scope.
Is this skill for building a first agent?
No. The source says to start with Lesson 01 for building a first agent, and it does not cover running agents locally on-device.
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 90 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.
