Skip to main content
02/04/2024

AI agents at scale: why pair Microsoft Foundry with Copilot agents

nico-virtanen-scaled.jpg

Introduction

What do you do when you need more from AI: deeper customization, stronger cost control, stricter security, or seamless integration with business‑critical systems? 

Many organizations already use Copilot Studio to build AI agents. It’s a strong fit for a wide range of scenarios. However, when you start to hit its limits, it makes sense to look at Microsoft Foundry (previously referred to as Azure AI Foundry and Azure OpenAI). Foundry gives developers deeper control and the flexibility needed to build truly demanding, production‑grade agents. 

The same rule applies here as in any successful digital initiative: a clear plan does most of the heavy lifting. Before selecting the tools, define the problems and processes where AI is expected to create measurable value. Once the operating environment and use case are clear, choosing the right toolset becomes easier, and the best answer is often a combination of technologies. Start small, learn quickly, and scale with confidence. Now, back to the technology. 

 

Microsoft Copilot Studio is a low‑code tool akin to Microsoft Power Platform that enables both citizen developers and professional developers to build custom agents through a graphical interface. Rather than coding everything from scratch, you assemble agents from pre-built components and capabilities. The solutions can also leverage traditionally coded components under certain conditions, making Copilot Studio suitable for a wide range of use cases. 

Microsoft Foundry, in contrast, is built primarily for technical application developers and offers detailed control over how AI behaves. Developers can manage every stage at the code level—AI models, tools, data sources, and integrations—and build agents that are tailored precisely to business requirements. Foundry is often the right choice for specialized, multi‑component solutions that need to communicate across several systems, but it can just as well power simpler AI assistants. 

So what benefits do Microsoft Foundry-based agents offer, and when should they be used? 

1. Long‑term cost efficiency

One of Foundry’s most tangible advantages is cost efficiency in specific agent scenarios. To see why, it helps to compare the underlying pricing models. 

Copilot Studio uses a credit‑based model: credits are consumed when the agent is used. Each AI‑powered action performed by a user without an M365 Copilot license consumes a defined number of credits—and the more advanced the agent, the higher the consumption. Adding tools, capabilities, or data sources can also increase credit usage per message. If an action runs, say, 1,000 times per day, monthly costs can scale quickly. Autonomous agents always consume credits, even when users have M365 Copilot licenses. 

With Microsoft Foundry, costs are driven by how much data the model processes. Tools and workflows executed by the AI and the data sources and capabilities they rely on aren’t billed as separate line items. In practice, you pay for consumption (the tokens processed), regardless of the user’s license. This is one reason agents embedded on public websites can remain inexpensive to run. 

In Foundry, consumption is measured in tokens. Before the model processes input, the content is tokenized, and billing is based on the number of tokens used. Pricing is typically expressed as euros per million tokens. As a rule of thumb, processing text roughly the length of this article would cost only a fraction of a cent with a standard AI model. 

In most cases, Foundry’s cost advantages are realized over time. Compared with Copilot Studio, building on Foundry typically requires deeper engineering expertise, and key capabilities often need to be implemented before the AI can use them effectively. After that initial investment, the solution can pay for itself: operating costs are often low, and ongoing maintenance is usually limited once the foundations are in place. Naturally, ROI depends heavily on the nature of the problem the agent is designed to solve. 

2. Security

Foundry‑based agents are a strong fit for environments with strict security requirements. You can precisely scope what data and actions an agent is allowed to access, reducing the risk of it processing anything outside explicitly permitted boundaries. 

You can deploy the AI and its capabilities inside a company’s private Azure virtual network. This allows user and AI traffic to be routed in a controlled way, through existing security tooling and monitoring, for example. In this model, data in transit stays within a managed private environment and isn’t exposed to the public internet. The result is controlled AI use even in business‑critical or regulated contexts, while still leveraging the organization’s existing security architecture. 

Copilot Studio agents are secure by default. They typically operate under user permissions, so with sound access management in place, the most common risks can be mitigated. In both approaches, communication between the user and the agent is encrypted. Where required, Foundry implementations can add the additional security layer described above. If you’d like to discuss AI security in your environment, feel free to reach out! We’re more than happy to review your requirements together.

These controls provide security and peace of mind especially when agents handle sensitive or confidential data. You can configure safety filters and rules to prevent certain types of content from being processed or generated, ensuring the AI operates within clearly defined boundaries. Additionally, it’s worth establishing an explicit set of rules for AI and agent usage—for example through an AI policy or governance model—so adoption is guided by shared, reviewed principles. 

 

3. Deep integration with operations and analytics

Foundry’s AI capabilities can be integrated directly into existing solutions precisely where they create the most value. They can leverage the organization’s data for automation and analytics, turning it into insights, analyses, and summaries that are available in the systems and tools people already use. 

For example, agents can automatically analyze incoming customer feedback, detect recurring themes and outliers, and produce a consolidated analysis with recommended next steps. That summary can then be delivered directly to leadership or other accountable stakeholders without manual work stages. 

This kind of behind‑the‑scenes automation is often where AI delivers the highest impact: information is generated and refined at the right time without anyone having to prompt an assistant or trigger a separate agent query. 

Copilot Studio can also sit at the center of business processes, but Foundry typically provides broader options for customization and integration. In many cases, existing applications can be made materially “smarter” by embedding Foundry’s AI capabilities directly into their core workflows. 

A simple example is a button in an application that invokes AI to complete a task using available data. That task could be as lightweight as generating an analysis, or as complex as triggering end‑to‑end automation. Copilot Studio agents can also be extended with selected Foundry capabilities: For example, an agent can route certain questions to a specialized model hosted in Foundry. In these hybrid setups, however, it’s important to note that usage is billed under both Copilot Studio’s and Foundry’s pricing models. 

4. Building larger AI systems

Because Foundry agents are fully customizable, you can orchestrate them to work together alongside other Microsoft AI and cloud services. This makes it possible to build larger, interconnected AI systems. For example, AI could: 

  • Transcribe and analyze every customer service call from the day 

  • Analyze and classify large volumes of images or documents 

  • Combine multiple data sources and produce automated situation briefs for leadership 

  • Trigger follow‑up actions via automation based on the analysis 

In practice, these systems are always tailored to the organization to maximize business value. 

Summary

Microsoft Foundry doesn’t replace Copilot Studio—it complements it when you need more from your AI solution. When deciding between models, weigh factors such as scalability, cost efficiency, security, and how deeply the solution needs to integrate with core business systems. 

When done well, Foundry‑based agents support genuinely production‑grade AI: running in the background, automated, and governed. As always, start by identifying the problems and processes where AI can deliver real value and then choose the tools that best fit the requirements. 

Looking to see if Microsoft Foundry fits your organization? We can help assess use cases, design the architecture, and bring the solution to life. 

Read more

icon
Blog

Meet Agentic AI - Your New Digital Coworker

icon
Blog

The Biggest Concern for Companies Getting Started with Copilot: Data!

icon
Blog

AI agents and a thinner application layer

icon
Blog

The two sides of AI: How Machine Learning and Generative AI complement each other