2026-07-23 · Season 3
Microsoft Agent Framework - Simply Explained

Show notes
Welcome to another episode of Knowledge Nuggets with Mirko Peters. Today we're exploring the Microsoft Agent Framework, Microsoft's unified development framework for building enterprise-ready https://www.m365.fm/ai-agents-simply-explained/. If you've been following AI over the last year, you've almost certainly heard the word agent. It's everywhere. Blog posts, conference sessions, LinkedIn discussions, Microsoft announcements, and product launches all seem to revolve around AI agents. But ask ten people what an agent actually is, and you'll probably receive ten different answers. Many people assume an agent is simply a chatbot with a more impressive name. In reality, they're fundamentally different. Microsoft created the Agent Framework to solve another growing problem. Developers were forced to choose between multiple AI frameworks, each with different capabilities, APIs, and programming models. Rather than continuing this fragmented approach, Microsoft combined its best technologies into one production-ready framework that makes building intelligent, secure, and enterprise-scale AI agents significantly easier. In https://www.m365.fm/microsoft-agent-framework-simply-explained/, we'll explain what an AI agent really is, why Microsoft built the Agent Framework, how it works, and why it will likely become one of the most important development platforms for the future of enterprise AI. WHAT IS AN AI AGENT? Before discussing the framework itself, it's important to understand what actually makes something an AI agent. A traditional chatbot is reactive. You ask a question, it generates an answer, and then waits for the next prompt. Every interaction is largely independent, with the user guiding every step of the conversation. An AI agent works very differently. Instead of simply responding, an agent receives a goal. It reasons about what needs to happen, creates a plan, chooses the appropriate tools, performs the required actions, and only returns once the work has been completed or additional information is required. A useful way to think about the difference is comparing a library receptionist with a personal assistant. A receptionist tells you where a book is located. A personal assistant finds the information, organizes it, prepares a summary, and hands you exactly what you need. Three capabilities separate an AI agent from a chatbot: reasoning, tools, and memory. The language model provides reasoning, tools allow the agent to interact with external systems, and memory enables it to remember previous conversations, preferences, and ongoing work. Together, these capabilities allow agents to complete tasks instead of merely answering questions. WHY MICROSOFT CREATED THE AGENT FRAMEWORK Building intelligent agents wasn't always straightforward. Microsoft originally provided https://www.m365.fm/semantic-kernel-simply-explained/, which offered enterprise-grade AI integration capabilities, and AutoGen, an experimental framework developed by Microsoft Research for coordinating multiple collaborating agents. Both frameworks were powerful, but they solved different problems. Semantic Kernel focused on stability and enterprise development, while AutoGen explored advanced orchestration and multi-agent collaboration. Developers often had to choose between them while also evaluating numerous third-party frameworks such as LangChain and CrewAI. This fragmented landscape created unnecessary complexity. Every framework introduced different concepts, APIs, programming models, and communities. Microsoft's answer was simple. Rather than maintaining separate frameworks, the company merged Semantic Kernel and AutoGen into one unified development platform known as the Microsoft Agent Framework, providing developers with one consistent way to build production-ready AI agents. This dramatically simplifies learning while giving organizations confidence that they're building upon Microsoft's long-term strategic platform. WHAT IS THE MICROSOFT AGENT FRAMEWORK? The Microsoft Agent Framework is an open-source SDK for building intelligent AI agents using enterprise-ready architecture. Released as a production platform after combining Microsoft's previous AI frameworks, it supports both Python and .NET, allowing developers to work in the language they already know. One particularly important advantage is model flexibility. Rather than locking organizations into a single AI provider, the framework supports Azure OpenAI, https://www.m365.fm/azure-ai-foundry-simply-explained/, OpenAI, Anthropic Claude, Google Gemini, Amazon Bedrock, Ollama, and several additional model providers. Developers write their agent logic once while remaining free to change the underlying language model whenever business requirements evolve. This separation between application logic and AI provider helps organizations avoid vendor lock-in while protecting long-term software investments. The framework is also designed specifically for enterprise environments, incorporating security, governance, observability, approvals, and compliance directly into its architecture rather than requiring custom implementations later. THE FOUR CORE BUILDING BLOCKS Understanding the framework becomes much easier by focusing on its four primary building blocks. Everything begins with the Agent itself. An agent receives instructions describing its purpose, reasoning capabilities, available tools, and expected behavior. It acts as an intelligent worker responsible for completing specific tasks. The second building block is Tools. Tools allow agents to interact with external systems such as Microsoft Graph, calendars, databases, APIs, weather services, CRM platforms, or business applications. Microsoft also supports the Model Context Protocol (MCP), enabling standardized integration with external services without requiring custom connectors for every system. The third component is Memory. Short-term session memory allows agents to maintain conversations naturally, while long-term context providers preserve information across multiple interactions. This enables agents to remember preferences, previous discussions, and ongoing work rather than treating every conversation as completely new. The final building block is Workflows. Workflows coordinate multiple agents working together through sequential, parallel, or conditional execution patterns. They also support checkpointing and human approval processes, allowing complex business operations to pause for review before continuing automatically. BUILDING AGENTS FOR THE ENTERPRISE The Microsoft Agent Framework wasn't designed only for demonstrations or research projects. It was built specifically for enterprise environments. Organizations require far more than intelligent conversations. They need authentication, authorization, auditing, governance, cost management, deployment pipelines, monitoring, and security controls. The framework integrates directly with Microsoft Entra ID for identity management while supporting enterprise governance practices including version-controlled YAML configurations, approval workflows, observability, and CI/CD deployment processes. Developers define agent behavior declaratively, allowing configuration changes to be reviewed, tested, and deployed using the same DevOps practices already used throughout modern software engineering. Rather than creating isolated AI experiments, organizations can manage AI agents using the same enterprise standards applied to every other business application. HOW IT FITS INTO THE MICROSOFT AI ECOSYSTEM The Agent Framework represents only one part of Microsoft's broader AI platform. Azure AI Foundry provides the production hosting environment where agents execute securely at scale. Microsoft Copilot Studio offers a low-code alternative that enables business users to create agents visually without writing software. https://www.m365.fm/categories/copilot-talk/ becomes the user-facing experience where employees interact with many of these agents directly inside Teams and Microsoft 365 applications. Meanwhile, Microsoft Work IQ, Foundry IQ, and Fabric IQ provide contextual information from personal productivity data, organizational knowledge, and business analytics, allowing agents to make far more intelligent decisions than traditional chatbots ever could. The Agent Framework connects all these services together, giving developers complete control while still integrating naturally into the wider Microsoft AI ecosystem. WHY THIS MATTERS FOR ORGANIZATIONS Many organizations are already experiencing what Microsoft describes as agent sprawl. Departments independently build AI assistants using different platforms, different security models, and different governance practices. Over time this becomes difficult to manage, expensive to maintain, and increasingly risky from a compliance perspective. The Microsoft Agent Framework addresses these challenges by providing a standardized development platform that integrates directly with Microsoft's existing security, governance, and identity services. Organizations gain centralized visibility into their agents, understand operating costs, apply consistent security policies, and ensure sensitive company information remains protected. Instead of preventing employees from adopting AI, IT departments can provide secure enterprise agents that work inside Microsoft Teams and Microsoft 365 using approved organizational data. This balance between innovation and governance is becoming increasingly important as AI adoption accelerates across every business function. Become a supporter of this podcast: https://www.spreaker.com/podcast/m365-fm-microsoft-365-azure-cloud-power-platform-ai--6704921/support.
Apple Podcasts · Spotify · YouTube · YouTube Music · Deezer
Host: Mirko Peters
Guests
Related articles
Transcript
Read the full transcript
Today's topic is one that almost everyone has heard of, but almost no one can actually explain. I'm talking about AI agents. You've probably heard the term in a meeting, read it in a blog post or seen it in a headline. Everyone's talking about them. But ask someone to define one, and the answers get fuzzy real fast. The hype is loud, the definitions are vague, and the phrase gets thrown around so loosely, it's lost almost all its meaning. Here's the most common mistake people make. They think an agent is just a chatbot with a fancier name. You ask it something, it replies, that's not an agent, that's a chatbot. And there is a real difference between the two. So what changed? Why is everyone suddenly obsessed with agents? And more importantly, why should you care if you're not a developer? By the end of this episode, you'll understand what an AI agent actually is, why Microsoft built a whole framework around them, and why this matters for the way you work. What exactly is an AI agent? You already know how a chatbot works, you type something, it responds. That's a conversation, it's reactive, it waits for you to say something, then it replies. An agent is different, it doesn't just answer. It acts, think, decide, act, that's the simplest definition I can give you. Here's how it works. First, the agent thinks. It uses a large language model to reason about what you actually need, not just what you typed, but what you meant. If you say book a meeting with Sarah next Tuesday, the agent doesn't just repeat that back to you, it thinks about what that request really means, then it decides. It breaks your request into steps. Book a meeting becomes a plan, check your calendar, find a free slot, check Sarah's availability, send an invite, the agent doesn't guess, it creates a sequence of actions. Finally, it acts, it calls tools and services to make it happen. It doesn't tell you how to book a meeting, it books the meeting, it doesn't explain how to check the weather, it checks the weather and gives you the answer. So think about the difference, a chatbot is reactive, it waits for your next question. An agent is proactive, you give it a goal and it goes off and works on it. It might come back with questions if it needs more information, but it doesn't need you to hold its hand through every step. A chatbot is like a reference desk at a library, you ask where a book is and they point you to the right aisle. An agent is like a personal assistant who has keys to the building. You say, "I need information about our top clients for tomorrow's meeting" and they go find it, organize it and hand you a briefing document. You didn't tell them where to look or what format to use, they figured it out. But the secret isn't just the LLM, the language model is smart, but by itself it's just a brain with no hands. What makes something an agent is the combination of three things. Reasoning, the ability to think through a problem. Tools, the ability to act on the world. And memory, the ability to remember what happened before, put those three together and you have something that doesn't just answer questions, it gets things done. Before the framework, the fragmented landscape. So if agents are so useful, why isn't everyone already building them? The short answer is that until recently, it was a messy process. You had to stitch together multiple tools yourself, kind of like trying to build a car by buying parts from different manufacturers and hoping they fit together. Microsoft's first attempt at fixing this was semantic kernel, an SDK for integrating AI into applications. Powerful stuff, but it was a toolbox, not a blueprint. It gave you the pieces you still had to figure out how to assemble them. Then came Autogen from Microsoft Research. This framework explored multi-agent conversations where AI agents talk, debate and collaborate. Cutting edge, yes, but it was experimental, not built for production systems. So developers had a tough choice, semantic kernel was stable and enterprise ready, but lacked the advanced orchestration patterns. Autogen had the cool multi-agent capabilities, but wasn't something you'd run in a live environment. Each had its own learning curve, its own way of doing things, its own community. And it wasn't just Microsoft. Other frameworks popped up. Langchain, crew AI, doesn't others. The ecosystem was all over the place. If you wanted to build agents at work, you had to become an expert in a rapidly changing world. Which framework do you learn? Which one will survive? Which one is Microsoft actually backing? For a beginner, it was overwhelming. Imagine you're a developer at a company exploring AI agents. You research and find five different frameworks. Each with its own documentation, its own patterns, its own community, you don't know where to start. You don't know which one to bet your time on. That fragmentation created a real barrier. It wasn't just about learning a tool. It was about betting on an entire ecosystem. And as agent use cases moved from experiments into real business processes, Microsoft realized this wasn't sustainable. They needed one framework, one unified approach, one answer to the question. How do I build an agent? What is Microsoft agent framework? So Microsoft took the two frameworks they had, semantic kernel and autogen, and combined them into one. The result is the Microsoft agent framework, a single unified SDK that brings together the enterprise stability of semantic kernel with the cutting edge multi agent patterns from autogen. The teams that built those two frameworks now work together on this one. This framework launched in preview in late 2025 and reached version 1.0 in July, 2026. That timeline is important because it tells you this isn't a research project or an experiment. It's a production-ready product. Microsoft is saying, "Build your real systems on this." It's also open source. You can find it on GitHub with over 7,000 stars and more than 100 contributors. The community is active. There are weekly office hours where you can talk to the engineering team directly. That's not something you get with a closed product. The framework supports Python and Bennet as first-class languages, whether you're a CI developer or a Python developer, you get the same experience. That's a big deal because many AI frameworks are Python only. Microsoft made a deliberate choice to treat both languages equally. And here's something that might surprise you. The framework supports over seven different model providers. Microsoft Foundry, Azure OpenAI, OpenAI, Anthropic, Cloud, Amazon Bedrock, Google Gemini, even local models through Alama. You write your agent logic once and it works across all of them. You're not locked into one provider, switch from OpenAI to Anthropic, and you change your configuration value, not your entire code base. The framework has two major components. Agents are the building blocks, individual reasoning units that can think and act. Workflows are the orchestration layer that ties multiple agents together. You can have one agent doing one job or a whole team working on a complex task. There's also something called declarative definitions. You define an agent's behavior in a YAML file. That means your agent configuration is version controllable, put it in Git, review it in pull requests, deploy it through CI/CD pipelines. For enterprise teams, that's a huge advantage. But here's what I want you to understand. This framework isn't just for developers building complex systems. It's designed for enterprise scenarios, security compliance, observability, human-in-the-loop approvals, these are built-in, not bolted on. And that's what makes it different from the experimental frameworks that came before. The building blocks, agents, tools, memory, workflows. Let's break it down into the four core concepts. Get these right and you understand 90% of what this framework does. First up agents, they're the fundamental unit. Each agent has a name, a set of instructions and access to tools. It's a reasoning unit that can think and act. You tell it who it is, what it should do, and what resources it can use. Everything else flows from that. Next tools, these are the hands of the agent functions, APIs or external services the agent can call, weather data, calendar access, database queries, file operations. The agent doesn't know how to do these things by itself. It needs tools to reach out into the world and take action. You can write simple functions yourself, or they can be MCP servers, model context protocol. That's a standard way to connect agents to external services. Think of it as a universal plug. If a service supports MCP, your agent can use it without custom integration code, then there's memory, this is the brain's storage, two types exist. Session level memory is short term. It remembers what happened during a single conversation. Context providers are long term. They remember preferences and facts across multiple conversations. Memories what makes an agent feel intelligent. Without it, every interaction starts from scratch. You introduce yourself, and the next time you talk, it's forgotten. With memory, the agent knows who you are, what you've discussed, and what you care about. It's the difference between talking to a stranger and talking to a colleague who knows your work. Finally, workflows. This is the orchestration layer where you define multiple agents working together. Workflows can be sequential. Step A, then step B. They can be concurrent. Multiple agents working in parallel on different parts of the same problem. Or they can be conditional. If this happens, go here. If that happens, go there. Workflows also support checkpointing. If something fails halfway through, the system can resume from where it left off. It doesn't start over. That's important for long-running tasks that might take hours or involve multiple steps. Human and the loop patterns are built in two. Agents can pause and ask for approval before taking sensitive actions. If an agent is about to send an email or approve a payment, it can stop and wait for a human to say yes. That's essential for regulated industries. Here's a real-world example. Imagine a sales preparation agent. You have a meeting with a client tomorrow. You tell the agent, help me prepare. It checks your calendar to confirm the time. It pulls CRM data to see the client's history. It searches marketing materials for relevant case studies. It generates a briefing document and a PowerPoint presentation. Or without you doing anything, that's not a chatbot. That's an agent. Why should you care? What's practical value? You understand what the framework is. But here's the thing. Why should you care if you're not a developer building AI systems? The answer is that this framework doesn't just live in a developer's terminal. It powers tools that everyday business users interact with. Agents built with the framework can be published directly to Microsoft Teams and Copilot chat. That means your organization's agents live where you already work. You don't need a separate app to install and you log in to remember or a learning curve. You just open Teams and the agent is there. For IT and business decision makers, this matters even more. The framework provides enterprise controls that actually matter. You get identity management through Entra ID, access control, so agents only see what they're supposed to audit trails so you know what every agent did and when and data governance. So sensitive information stays protected. And here's a problem you might not have thought about. Shadow AI is real. Employees are using unsanctioned AI tools every day, pasting company data into public chatbots, uploading sensitive documents to unknown servers and hoping for the best. IT teams know this is happening but they can't stop it by banning tools. People will find a way. This framework gives IT a way to offer approved secure agents that still feel modern. Instead of telling employees don't use AI, you can say use these agents instead. They're safe, they're governed, and they work with your data. There's also the problem of agents sprawl and it's already happening. Teams are creating agents faster than anyone can track. The framework gives you a single place to manage, monitor and govern all of them. You can see which agents are being used, which ones are collecting dust and which ones need attention. Cost visibility is another big one. You can see exactly how much each agent costs to run, which agents are expensive, which ones are efficient and where to optimize. That's not something you get with a collection of random tools and scripts. The bottom line is this. This framework makes AI agents practical, safe and manageable for real organizations. There's not just about building cool technology. It's about building something that works in a real business with real constraints. Security, compliance, budget, governance. If you're responsible for any of those things, this framework matters to you. How it fits into the bigger picture. So where does the agent framework actually fit? It's not a standalone product. It's one piece of a much bigger puzzle. Let's look at how everything connects. Start with Azure AI Foundry. Think of it this way. The agent framework is how you build your agents and foundry is where they live and run. It handles all the heavy lifting, infrastructure, scaling, monitoring, security. You build locally, you deploy to Foundry and your agent runs in a production environment with enterprise controls, simple. Now if you're not a developer, you've got another option, co-pilot studio. This is the low-code path. You use a visual interface to define what your agent does, connect it to data sources and publish it to teams. No code required. The agent framework is for developers who want full control. They complement each other. Deep customization, use the framework. Need to move fast. Use co-pilot studio. Then there's Microsoft 365 co-pilot, the user facing side. Agents built with the framework can show up right inside co-pilot, so users interact with them through a familiar interface, the same co-pilot they already use for work. No new tool to learn, no new workflow to adopt. But here's where the real value shines, the intelligence layer. It has three parts. Work IQ connects to your personal data, email, calendar, chats. Foundry IQ connects to organizational knowledge, documents, policies, shared resources, and fabric IQ connects to business data. Sales numbers, customer records, operational metrics. Agents can pull from all three. That's what makes them truly useful. They don't just answer general questions. They have context. They know who you are, what you're working on, and what data matters to your business. When an agent prepares a briefing document for a sales meeting, it's not guessing. It's pulling from your calendar, your CRM, your marketing materials, and your company's knowledge base. All in one request. And it all works with Microsoft's security model. Enter ID for identity, Intune for device management, Defender for threat protection. If your organization already uses these tools, the framework fits right in. No need to build a separate security layer. For organizations already using Microsoft 365 Azure and Power Platform, this framework is the natural next step. You're not starting from scratch. You're extending what you already have. The long term vision, simple. Agents become as common as apps. Every business process gets an agent layer, not replacing people, but helping them work faster with better information and fewer repetitive tasks. This framework is how you build that layer. Getting started, your first step. Here's the good news. You don't need to be an AI expert to get started. There are two paths. The no-code path is co-pilot studio. Visual interface, drag, drop, configure, no code required. You can have something working in hours, not days. If your goal is to solve a specific business problem fast, this is your path. The code path is the agent framework itself. You install the packages for Python or Punch and Net, and you use the VS Code extension. And the extension is worth talking about because it includes AI-powered skills. You tell it what you want. Create a sales prep agent that checks my calendar and pulls CRM data, and it scaffolds the entire project for you. The code configuration files everything. It's not a blank page. It's a running start. The extension also includes something called the agent inspector. This is a visual tool that shows you what your agent is doing in real time, step by step. You can see it thinking. You can see which tools it's calling. You can see where it's getting stuck. It's like having a debugger that speaks plain English. If you're already using semantic kernel or autogen, there are migration assistants that analyze your existing code and generate a step by step migration plan. You don't have to start from scratch. The framework is open source. The GitHub repo is at GitHub, COM, Microsoft, agent framework, samples, documentation, discussion forums all there. The community is active. There are weekly office hours where you can talk to the engineering team directly. That's not something you get with most frameworks. The key message is this. Starts small. Build a single agent that does one useful thing. Maybe it checks your calendar. Maybe it summarizes your emails. Maybe it looks up customer information. See how it feels. Then scale up. The most important thing is to understand the concepts. And that's what this episode was about. Let me wrap it up by tying these pieces together. An agent isn't a chatbot. It's a system that thinks, decides, and acts on its own. The framework exists because building agents the old way meant juggling incompatible tools and frameworks that didn't talk to each other. That fragmentation made everything confusing. So Microsoft built one way to build, one way to deploy, and one way to manage. No more switching between frameworks or stitching together mismatched pieces. For beginners, here's the simple takeaway. AI agents aren't magic. They're structured systems that reason, use tools, and remember context. Microsoft gave you a complete framework to build them. And it's production ready right now. This isn't hype. Agents are becoming a normal part of how we work just like apps and websites did years ago. The tools are here. The community is active, and your first agent is closer than you think. If you want to explore more, start with the GitHub repo and the VS Code extension. Subscribe on your favorite podcast platform and share this with someone starting their