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.
What Is Olmo 3? A Deep Dive into the Fully Open-Source LLM
Is Olmo 3 Truly Fully Open Source? In the fast-moving, hype-filled world of Large Language Models (LLMs), the term "Open Source" has faced a severe...
What is the Industrial Internet of Things (IIoT)? Complete Guide
The Industrial Internet of Things (IIoT) consists of internet-connected industrial machines and advanced analytical platforms that process the data...
Importance of B2B Customer Relationships: Key Strategies
In today's business world, where competition is getting fiercer, organizations must establish good relations with their customers and ensure customer...
What is iPaaS?
In today's age of digitalization, companies use multiple applications and software to manage their business processes. For more efficient processes,...
Managing Multiple Processes with Process Direct in SAP Integration Suite
On the Integration Suite platform, it may be necessary to manage multiple integration processes simultaneously. In this article, we will cover the...
What is Software Asset Management (SAM)? Complete Guide
Today, all businesses use various software to manage their daily operations according to their business needs. The increasing number of software for...
e-Reconciliation Turkey: Guideline and SAP Integration
What is Reconciliation?Reconciliation is mostly the communication established between accounting units in order to mutually confirm the debit and...
What is SAP GTS?
Today, factors such as changing trade regulations, legal compliance, foreign policies and special rules complicate the management of companies...
SPL (Sanctioned Party List) Screening in SAP GTS
SAP Global Trade Services (GTS) is a comprehensive solution suite that helps companies automate international trade processes, comply with changing...
Your mail has been sent successfully. You will be contacted as soon as possible.
Your message could not be delivered! Please try again later.