Create and administer Foundry resources
Use these prompts when you need a Foundry project, a model deployment, or role assignments before building agents.Create a Foundry project
This scenario creates the Foundry account, project, Application Insights resource, managed identity, and role assignments required for basic Foundry development.Deploy a model with SKU, version, and quota validation
This scenario deploys a specific model to a Foundry project and asks the skill to validate regional availability, model version, SKU support, and quota before deployment.Assign project access to users
This scenario grants the Foundry User role at project scope so team members can use the project and deployed models.Build and deploy hosted agents
Use these prompts to create hosted agents from samples or from your own Python code, then deploy and validate them in Foundry Agent Service.Build a toolbox-backed hosted agent
This scenario creates a Python hosted agent that uses a Foundry toolbox containing web search and the public Microsoft Learn MCP server. It asks the coding agent to verify the environment, initialize the sample, create the toolbox, test locally, and stop before deployment.Deploy and remotely validate a toolbox-backed hosted agent
This scenario continues the toolbox workflow after local tests succeed. It stores the toolbox MCP endpoint, deploys the hosted agent, invokes it remotely, and confirms that the deployed agent can discover and use toolbox tools.Add the required skill marker to an existing project
This scenario adds the project guidance file that helps coding agent hosts reload the Microsoft Foundry Skill for an existing hosted-agent project.Initialize existing Python code as a hosted agent
This scenario uses the brownfield hosted-agent workflow to initialize existing Python code withazd ai agent init --src, preserve your current agent logic, run available tests, and smoke test locally before deployment.
Deploy and invoke a hosted agent from existing code
This scenario deploys the initialized hosted agent, shows deployment details, and branches validation based on whether your agent uses the Responses protocol or the Invocations protocol.Create and validate Prompt Agents
Use these prompts when you want the Microsoft Foundry Skill to create a Prompt Agent and validate multi-turn conversation state.Create a Prompt Agent
This scenario creates a Prompt Agent with a deployed model. It asks the coding agent to fetch the prompt-agent schema, check for an existing agent with the same name, and stop before updating an existing agent.Invoke a Prompt Agent across two turns
This scenario verifies that a Prompt Agent retains context by reusing the sameconversationId across two agent_invoke calls.
Evaluate and observe hosted agents
Use these prompts to inspect a deployed hosted agent, prepare and run evaluations, review row-level results, and find traces.Inspect a deployed hosted agent
This scenario confirms the deployed hosted agent name, version, project endpoint, and container status, then performs a simple invocation without editing or redeploying the agent.Prepare a smoke evaluation suite
This scenario prepares an evaluation suite for a deployed hosted agent using a known query, expected behavior, and built-in intent resolution and task adherence evaluators.Run a smoke evaluation and summarize results
This scenario runs the selected evaluation, waits for a terminal state, downloads row-level results, clusters failures, and reports evaluation details without changing the agent.Review one row-level evaluation result
This scenario inspects the result for a specific evaluation query, including the agent response and evaluator pass or fail details.Trace a hosted agent invocation
This scenario invokes a deployed hosted agent, finds the resulting trace in Application Insights, and reports telemetry details without changing application or Azure resources.Optimize hosted agents
Use these prompts when you have a deployed Python hosted agent with a baseline agent configuration and want to run Agent Optimizer before applying a candidate.Run an optimization job
This scenario resolves Foundry project context, verifies baseline and model deployment prerequisites, generates or updates evaluation configuration, runs optimization with two candidates, and stops before applying any candidate.Apply an approved optimization candidate
This scenario applies a selected optimization candidate, reviews the diff, deploys the optimized agent, and validates the deployed response.Automate deployment with CI/CD
Use this prompt when you want the Microsoft Foundry Skill to adapt the hosted-agent GitHub Actions workflow to your repository.Create a GitHub Actions workflow for a hosted agent
This scenario generates.github/workflows/hosted-agent-cd.yml from the quickstart template, fills in project-specific values from the deployed azd environment, and lists the repository variables you must create.