This skill should be used when designing Microsoft Foundry Hosted Agents and managed agent runtimes: production endpoints, runtime boundaries, sandboxing, scaling, tool execution, runtime state, deployment environments, and operational controls.
Ships in context-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Foundry Hosted Agents are the Microsoft-native managed runtime for production agent execution. Use them when the agent should run as a governed service with managed endpoints, tool access, identity, observability, and release controls instead of as a local script or ungoverned orchestration process.
Activate this skill when:
Do not activate this skill for adjacent work owned by other skills:
agent-publishing.foundry-tool-governance.azure-identity-for-agents.hosted-agents.A hosted agent is a runtime boundary. It owns where the agent executes, how requests enter, how tools are reached, what state survives, and which operational controls apply.
Use the shallowest runtime that satisfies control requirements:
| Runtime need | Default |
|---|---|
| Managed Foundry agent with platform tools and stable endpoint | Foundry Hosted Agent |
| Custom code-first orchestration with more runtime control | Azure Container Apps or App Service |
| Event-driven tool or narrow action surface | Azure Functions |
| Declarative multi-step process and approvals | Foundry Workflow Agent when preview risk is acceptable |
| Local experimentation | Foundry playground or local framework before promotion |
The runtime choice should follow the agent's operational contract: identity, network access, tool execution, state, observability, latency, scale, and rollback.
Example: internal knowledge assistant
Runtime: Foundry Hosted Agent.
Knowledge: Foundry IQ knowledge base plus Azure AI Search for one custom index.
Tools: Curated through Foundry Toolbox.
Identity: Managed identity for platform operations, OBO for user-permissioned data.
State: Cosmos DB for session metadata and durable user preferences.
Release: staging hosted agent, evaluation gate, then production endpoint.
Example: when not to use hosted runtime first
Need: bespoke long-running workflow with custom scheduler, complex external workers, and advanced queue control.
Prefer: code-first orchestration on Azure Container Apps, with Foundry Agent Service for model and tool surfaces where useful.
Still use: agent-publishing for release governance and responsible-ai-guardrails for safety gates.
Created: 2026-05-24 Last Updated: 2026-05-24 Author: Agent Skills for Context Engineering Contributors Version: azure-0.1.0
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/context-engineering:foundry-hosted-agentsfrom context-engineering
npx claudepluginhub fvossebeld/agent-skills-for-context-engineering --plugin context-engineering24 skills in this plugin
/advanced-evaluationThis skill should be used for advanced LLM evaluation: LLM-as-judge systems, direct scoring, pairwise comparison, rubric calibration, evaluator bias mitigation, confidence scoring, and automated quality assessment./agent-publishingThis skill should be used when publishing Microsoft-native agents: Foundry agent versions, stable endpoints, Teams and Microsoft 365 Copilot distribution, Entra Agent Registry, environment promotion, rollout, and rollback./azure-agentic-retrievalThis skill should be used when implementing private grounded retrieval on Azure: Azure AI Search, agentic retrieval, knowledge sources, File Search, SharePoint grounding, citations, access-controlled indexes, and retrieval traces./azure-identity-for-agentsThis skill should be used when binding agent access to Microsoft Entra identity: managed identities, RBAC scopes, on-behalf-of access, tenant boundaries, credential-free SDK use, and per-user authorization for tools and grounding sources./azure-memory-stateThis skill should be used when implementing Microsoft-native agent memory and state: Cosmos DB, Blob or ADLS scratchpads, Azure Cache for Redis, session stores, episodic memory, entity state, vector memory, and append-only logs./bdi-mental-statesThis skill should be used when modeling agent mental states with BDI concepts: beliefs, desires, intentions, RDF-to-belief transformations, rational agency traces, cognitive agents, BDI ontologies, and neuro-symbolic AI integration.