Table of Contents
Microsoft Foundry (ai.azure.com) is Microsoft's studio for building AI applications. From a single place you deploy models, create agents, connect your own data, add tools, and ship to production - no separate infrastructure to wire up.
The key choice is how you create the agent. Foundry offers two paths: Build an agent (the Prompt Agent) and Code an agent (the Hosted Agent). This post covers both - and how to set each one up.
Prompt Agent - you configure everything in the portal: instructions, tools, and knowledge.
Hosted Agent - your own Python code runs as a container inside Foundry.
Which one should you pick? Here is the short version:
Before building any agent, you create a project - the workspace that holds your agents, models, tools, and knowledge. Give it a name and, under advanced options, choose the region. We picked East US 2, since hosted agents are region-limited and not available everywhere.
Once the project is created, its home screen gives you the two paths - Build an agent and Code an agent - along with the project endpoint and model selection.
You can configure everything through the portal.
Here you write code and deploy it as a container. Foundry handles the hosting; you use the Azure Developer CLI (azd).
Here is a sample hosted agent that combines RAG, custom tools, and memory - running on the gpt-5.4-mini model. A single user message can trigger several tools at once.
The trace shows exactly what ran: file search over the MDP document, exchange_rate, and get_weather each appear as a separate step before the model writes the final answer.
Foundry has a built-in Evaluations feature to test the agent automatically - quality, tool use, and safety - with no separate test harness. You pick the target agent, the test data (synthetic, an existing dataset, or real traces), and the evaluators; it then runs and reports a pass rate per metric.
Every resource lives in an Azure resource group, the Monitor dashboard reports agent runs, token usage, and estimated cost out of the box.
Azure Cost Management then breaks the spend down by service and resource - set a budget on the resource group to catch surprises early.
Microsoft Foundry makes building AI agents approachable from both ends. If you just need a quick assistant, a Prompt Agent gives you knowledge, memory, and tools in a few clicks. When you outgrow that and need your own code, custom tools, or tailored RAG, a Hosted Agent gives you full control on the same platform - with hosting, identity, evaluations, and cost tracking handled for you.
Data Scientist Hıdır Bozkurt conducts R&D across various areas of data science, primarily focusing on NLP and computer vision.
Are Distillation Attacks the New Industrial-Scale Threat to LLMs?
Introduction How are adversaries stealing the essence of proprietary models through clever prompting, and what can we do about it? Distillation...
What is SAP Quality Management (SAP QM)?
SAP Quality Management (SAP QM) is the SAP module that helps businesses plan, control, and assure product quality across the entire production and...
Extensibility of Standard OData Services in SAP
In today’s fast-paced business environment, adapting existing solutions to meet specific needs is the key. SAP’s standard OData services offer a...
Multiple Payload Downloader for SAP PO/PI
Hello All,Wishing you a Happy New Year. Sometimes we need to look at more than one message log. As this number increases, the workload starts to...
Transformation in Modern Supply Chain: The Strategic Role of SAP MM and Fiori
In the era of digital transformation, moving SAP Materials Management (MM) processes from the complexity of SAP...
B2B CRM&SRM Portal Solutions for SAP Users
B2B CRM and SRM portal solutions are SAP-integrated platforms that let businesses manage their customer and supplier relationships digitally, end to...
What is SAP Signavio Process Explorer?
SAP Signavio Process Explorer is part of the SAP Signavio Process Transformation Suite, a suite of tools that helps businesses improve their business...
Understanding IDoc in SAP: Overview, Structure, and Types
SAP’s robust enterprise resource planning (ERP) solutions streamline business operations across various industries. At the heart of SAP’s data...
Integration of SAP Cloud for Customer with S/4HANA Cloud
SAP S/4HANA is one of SAP's next-generation business solutions, built on the SAP HANA database technology. This platform enables businesses to...
Your mail has been sent successfully. You will be contacted as soon as possible.
Your message could not be delivered! Please try again later.