{"id":4494,"date":"2025-03-13T14:39:54","date_gmt":"2025-03-13T21:39:54","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/semantic-kernel\/?p=4494"},"modified":"2025-03-13T14:39:54","modified_gmt":"2025-03-13T21:39:54","slug":"the-future-of-ai-customizing-ai-agents-with-the-semantic-kernel-agent-framework","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/agent-framework\/the-future-of-ai-customizing-ai-agents-with-the-semantic-kernel-agent-framework\/","title":{"rendered":"The Future of AI: Customizing AI Agents with the Semantic Kernel Agent Framework"},"content":{"rendered":"<p>Today we&#8217;re excited to promote a recent blog from AI Platform focused on customizing AI agents with the Semantic Kernel agent framework. Read the entire blog post: <a href=\"https:\/\/techcommunity.microsoft.com\/blog\/aiplatformblog\/the-future-of-ai-customizing-ai-agents-with-the-semantic-kernel-agent-framework\/4392443\">here<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/techcommunity.microsoft.com\/t5\/s\/gxcuf89792\/images\/bS00MzkyNDQzLUdRRUR2Vw?revision=3&amp;image-dimensions=2000x2000&amp;constrain-image=true\" \/><\/p>\n<div class=\"BlogArticleWidget_lia-message-body-container__APZ8H\">\n<div class=\"MessageViewStandard_lia-wrap__T7pk7\">\n<article class=\"MessageViewStandard_lia-article__pnxJk styles_lia-g-message-box__arKXm BlogArticleWidget_lia-article__s_eaY\" data-testid=\"StandardMessageView\">\n<section id=\"uid4392443\" class=\"MessageViewStandard_lia-section__rh71K\">\n<div class=\"BlogArticleWidget_lia-blog-content__THh3d\">\n<div class=\"styles_lia-g-message-body__LkV7_ styles_lia-g-message-body-blog__TUnqH styles_clearfix__xFEoC styles_text-body__F7QRV\">\n<p><em><span data-contrast=\"none\">The Future of AI blog series is an evolving collection of posts from the AI Futures team in collaboration with subject matter experts across Microsoft. In this series, we explore tools and technologies that will drive the next generation of AI. Explore more at:\u202f<\/span><a href=\"https:\/\/aka.ms\/the-future-of-ai\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\">https:\/\/aka.ms\/the-future-of-ai<\/span><\/a><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335557856&quot;:16777215,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/em><\/p>\n<h1 id=\"community-4392443-toc-hId--1186337734\">Customizing AI agents with the Semantic Kernel agent framework<\/h1>\n<p>AI agents are autonomous entities designed to solve complex tasks for humans. Compared to traditional software agents, AI-powered agents allow for more robust solutions with less coding. Individual AI agents have shown significant capabilities, achieving results previously not possible. The potential of these agents is enhanced when multiple specialized agents collaborate within a multi-agent system. Research has shown that such systems, comprising single-purpose agents, are more effective than single multi-purpose agents in many tasks\u00a0<a class=\"lia-external-url\" href=\"https:\/\/arxiv.org\/pdf\/2501.06322\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">[1]<\/a>. This enables automation of more complex workflows with improved results and higher efficiency in the future.<\/p>\n<p>In this post, we are going to explore how you can build single agents and multi-agent systems with Semantic Kernel.<\/p>\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/semantic-kernel\/overview\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\">Semantic Kernel<\/span><\/a><span data-contrast=\"auto\">\u00a0is a lightweight and open-source SDK developed by Microsoft, designed to facilitate the creation of production-ready AI solutions. Despite its capabilities, Semantic Kernel remains accessible, allowing developers to start with minimal code. For scalable deployment, it offers advanced features such as telemetry, hooks, and filters to ensure the delivery of secure and responsible AI solutions.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{}\">The Semantic Kernel Agent Framework offers pro-code orchestration within the Semantic Kernel ecosystem, facilitating the development of AI agents and agentic patterns capable of addressing more complex tasks autonomously.\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Starting with individual agents is recommended. Semantic Kernel provides a variety of AI service connectors, allowing developers and companies to select models from different providers or even local models. Additionally, Semantic Kernel gives developers the flexibility to integrate their agents created from managed services like\u00a0<a class=\"lia-external-url\" href=\"https:\/\/azure.microsoft.com\/products\/ai-services\/openai-service\/\" target=\"_blank\" rel=\"noopener noreferrer\">Azure OpenAI Service<\/a>\u00a0Assistant API and\u00a0<a class=\"lia-external-url\" href=\"https:\/\/azure.microsoft.com\/en-us\/products\/ai-foundry\/#azureai_tab2\" target=\"_blank\" rel=\"noopener noreferrer\">Azure AI Agent Service<\/a>\u00a0into a unified system.\u00a0<\/span><span data-contrast=\"auto\">R<\/span><span data-contrast=\"auto\">efer to the samples in the Semantic Kernel GitHub repository to get you started.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<ul>\n<li><span data-contrast=\"auto\">Python:\u00a0<\/span><a href=\"https:\/\/github.com\/microsoft\/semantic-kernel\/tree\/main\/python\/samples\/getting_started_with_agents\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\">semantic-kernel\/python\/samples\/getting_started_with_agents at main \u00b7 microsoft\/semantic-kernel<\/span><\/a><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<li><span data-contrast=\"auto\">.Net:\u00a0<\/span><a href=\"https:\/\/github.com\/microsoft\/semantic-kernel\/tree\/main\/dotnet\/samples\/GettingStartedWithAgents\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\">semantic-kernel\/dotnet\/samples\/GettingStartedWithAgents at main \u00b7 microsoft\/semantic-kernel<\/span><\/a><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-ccp-props=\"{}\">Previous posts have thoroughly examined the principles of designing single agents and the effectiveness of multi-agent systems. The objective of this post is not to determine when a single agent should be employed versus a multi-agent system;\u00a0however, it is important to emphasize that agents should be designed with a single purpose to maximize their performance. Assigning multiple responsibilities or capabilities to a single agent is likely to result in suboptimal outcomes.<\/span><\/p>\n<p><span data-ccp-props=\"{}\">If your tasks can be efficiently accomplished by a single agent, that\u2019s great! If you find that the performance of a single agent is unsatisfactory, you might consider employing multiple agents to collaboratively address your tasks. Our recent\u00a0<a class=\"lia-external-url\" href=\"https:\/\/www.youtube.com\/watch?v=GD7MnIwAxYM\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">Microsoft Mechanics video<\/a>\u00a0outlines how a multi-agent system operates.\u00a0<\/span><\/p>\n<p><iframe title=\"Introducing Azure AI Foundry - Everything you need for AI development\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/GD7MnIwAxYM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><span data-ccp-props=\"{}\">Semantic Kernel offers a highly configurable chat-based agentic pattern, with additional patterns coming soon. It accommodates two or more agents and supports custom strategies to manage the flow of chat, enhancing the system\u2019s dynamism and overall intelligence.\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{}\">Semantic Kernel is production-ready with built-in features that are off by default but available when needed. One such feature is observability. Often in an agentic application, agent interactions were not shown in the output, which is typical since users often focus on results. Nonetheless, being able to inspect the inner process is crucial to developers. Tracking interactions becomes challenging as the number of agents increases and tasks grow complex. Semantic Kernel can optionally emit telemetry data to ease debugging.\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{}\">For a demonstration of three agents collaborating in real-time and reviewing the agent interactions with the tracing UI in\u00a0<a href=\"https:\/\/azure.microsoft.com\/products\/ai-foundry\/\" target=\"_blank\" rel=\"noopener noreferrer\">Azure AI Foundry<\/a>\u00a0portal, please watch the following video demo:<\/span><\/p>\n<p><iframe title=\"Document Generation with Semantic Kernel\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/pzAPrVM13kw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><span data-contrast=\"auto\">The code to the demo can be found in a single demo app in the Semantic Kernel repository:\u00a0<\/span><a href=\"https:\/\/github.com\/microsoft\/semantic-kernel\/tree\/main\/python\/samples\/demos\/document_generator\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\">semantic-kernel\/python\/samples\/demos\/document_generator at main \u00b7 microsoft\/semantic-kernel<\/span><\/a><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In summary, Semantic Kernel offers an efficient framework for both single and multi-agent systems. As the platform evolves, it promises even more innovative patterns and capabilities, solidifying its role in agent-based AI. Whether for simple tasks or complex projects, Semantic Kernel provides the necessary tools to achieve your goals effectively. Happy coding!<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">To get started,\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Explore\u00a0<\/span><a href=\"https:\/\/ai.azure.com\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\"><span data-contrast=\"none\">Azure AI Foundry<\/span><\/a><span data-contrast=\"auto\">\u00a0models, agentic frameworks, and toolchain features<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">Begin coding using the\u00a0<\/span><a href=\"https:\/\/github.com\/microsoft\/semantic-kernel\/tree\/main\/python\/samples\/demos\/document_generator\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\">Semantic Kernel python repository<\/span><\/a><span data-contrast=\"auto\">\u00a0in GitHub<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Download the\u00a0<\/span><a href=\"https:\/\/aka.ms\/aifoundrysdk\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\">Azure AI Foundry SDK<\/span><\/a><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"-\" data-font=\"Aptos\" data-listid=\"2\" data-list-defn-props=\"{&quot;335552541&quot;:1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Aptos&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;-&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"auto\">Review our\u00a0<\/span><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/ai-foundry\/how-to\/develop\/semantic-kernel\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"auto\">L<\/span><span data-contrast=\"none\">earn documentation<\/span><\/a><span data-contrast=\"auto\">\u00a0<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/li>\n<\/ul>\n<\/div>\n<div class=\"MessageViewStandard_lia-footer__H7yx3 MessageViewStandard_lia-footer-divider__bGc9s\"><\/div>\n<\/div>\n<\/section>\n<\/article>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today we&#8217;re excited to promote a recent blog from AI Platform focused on customizing AI agents with the Semantic Kernel agent framework. Read the entire blog post: here The Future of AI blog series is an evolving collection of posts from the AI Futures team in collaboration with subject matter experts across Microsoft. In this [&hellip;]<\/p>\n","protected":false},"author":149071,"featured_media":4497,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[27,1],"tags":[48,49,128,127,63,9],"class_list":["post-4494","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-agents","category-semantic-kernel","tag-ai","tag-ai-agents","tag-azure-ai","tag-azure-ai-agents","tag-microsoft-semantic-kernel","tag-semantic-kernel"],"acf":[],"blog_post_summary":"<p>Today we&#8217;re excited to promote a recent blog from AI Platform focused on customizing AI agents with the Semantic Kernel agent framework. Read the entire blog post: here The Future of AI blog series is an evolving collection of posts from the AI Futures team in collaboration with subject matter experts across Microsoft. In this [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/posts\/4494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/users\/149071"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/comments?post=4494"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/posts\/4494\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/media\/4497"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/media?parent=4494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/categories?post=4494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/agent-framework\/wp-json\/wp\/v2\/tags?post=4494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}