Key takeaway
- Learn what agentic workflows are, how Semantic Kernel builds them on Azure, and why Microsoft Agent Framework is now its successor. Includes a build order.
An agentic workflow is a process in which an AI agent plans steps, calls tools and adapts to results to reach a goal, and Semantic Kernel is a Microsoft open-source development kit that can orchestrate those steps against Azure-hosted models. Microsoft now presents Microsoft Agent Framework as the direct successor to Semantic Kernel, so new projects should read both before choosing.
This guide is for architects and engineering leads on Azure who want to build agent-based workflows. It explains what agentic workflows are, what Semantic Kernel does, how it relates to its successor, and how to define tools, monitor behaviour and decide where to start. It builds on our wider guide to agentic workflows and on the basics of artificial intelligence.
What are agentic workflows?
A traditional workflow follows a fixed sequence that someone designed in advance. An agentic workflow gives an agent a goal and a set of tools, and lets a model decide which step comes next, using natural language processing to read requests and documents. The agent checks each result and changes course if needed. Our comparison of agentic AI, automation and AI agents explains how these ideas relate.
| Feature | Fixed workflow | Agentic workflow |
|---|---|---|
| Path | Set in advance by a designer | Chosen at run time by the model within limits you set |
| Handling the unexpected | Fails or routes to a person | Can retry, choose another tool or ask for help |
| Control needed | Test the paths | Limit tools, log decisions, add approvals for risky steps |
| Best for | Stable, well-defined processes | Variable work that needs judgement across several systems |
What is Semantic Kernel?
The Semantic Kernel overview on Microsoft Learn describes it as "a lightweight, open-source development kit that lets you easily build AI agents and integrate the latest AI models into your C#, Python, or Java codebase", acting as middleware. Two ideas matter most for workflows. First, you add existing code as a plugin so that models can use it. Second, in function calling the model asks for a function and Semantic Kernel translates that request into a call and passes the result back to the model. The page also mentions telemetry support, hooks and filters for responsible deployment.
Has Semantic Kernel been superseded?
For new work, check this first. The Microsoft Agent Framework overview says "The Agent Framework is the direct successor, created by the same teams" and calls it "the next generation of both Semantic Kernel and AutoGen". It lists migration guides from Semantic Kernel and from AutoGen. Existing Semantic Kernel code is not described as removed on that page, but the direction is clear.
| Question | Semantic Kernel | Microsoft Agent Framework |
|---|---|---|
| Positioning | Middleware to build agents and connect models to code | Described as the direct successor to Semantic Kernel and AutoGen |
| Languages | C#, Python and Java (as of the overview page) | .NET, Python and Go; Go is in public preview |
| Building blocks | Plugins, function calling, hooks and filters | Agents, graph-based workflows, tools, sessions for state, context providers and middleware |
| What to do | Maintain existing projects; plan migration | Start here for new projects and check the migration guide |
How do you run agentic workflows on Azure?
Both frameworks connect to model services, and the Agent Framework page lists Microsoft Foundry, Anthropic, Azure OpenAI, OpenAI and Ollama among supported providers. XenonStack describes its Azure work on our Microsoft Azure page. A sensible build order is below.
- Set up the project and authenticate with your Azure credentials, keeping secrets out of code.
- Connect a model endpoint and confirm it works with one agent and one question.
- Describe each capability as a tool or plugin with a clear name, inputs and outputs.
- Add the workflow: which agent runs first, which tools it may use, and when a person approves.
- Add telemetry, then test with realistic inputs before widening access.
How do you define agent skills and tools?
Keep each tool small and specific, and describe it in plain terms because the model chooses tools from those descriptions. Give each tool the narrowest permission it needs, and separate read actions from write actions. The Semantic Kernel page says that by describing your existing code to models, they are called to address requests, which is why good descriptions matter as much as good code.
How do you monitor, debug and adapt agent behaviour?
Log each model call, each tool call and each decision to continue or stop, so a failed run can be replayed. Both overview pages mention telemetry, and the Agent Framework page lists middleware for intercepting agent actions. Test with real inputs, review failures weekly, and tighten tool descriptions or permissions rather than only changing prompts.
Where are agentic workflows applied?
They suit work that crosses several systems and needs judgement, such as handling customer requests, preparing documents or coordinating service tasks. Our page on agentic AI for retail shows one sector. Treat any use case as a pilot with its own measures until you have evidence from your own data.
How do AI agents change workflow design?
Agents move design effort from drawing every path to setting boundaries: which tools exist, what each may do, when to escalate and what to record. That makes governance part of the workflow itself. XenonStack's ElixirClaw is the AI agents computing platform for building and running this kind of agent work.
What should you do first?
- Choose one workflow with a clear owner, such as triaging inbound requests.
- Decide whether to start on Microsoft Agent Framework or maintain Semantic Kernel.
- Build one agent with two or three tools and a human approval on any write action.
- Add telemetry and replay a failed run to see whether the evidence is enough.
- Review results after a few weeks before adding more agents.
If you want help scoping a first workflow, you can contact us or talk to a specialist.
To map one decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.
Next Steps with Semantic Kernel on Azure
Talk to our experts about implementing compound AI system, How Industries and different departments use Agentic Workflows and Decision Intelligence to Become Decision Centric. Utilizes AI to automate and optimize IT support and operations, improving efficiency and responsiveness.
Frequently asked questions
What is Semantic Kernel used for?
Microsoft Learn describes it as a lightweight, open-source development kit for building AI agents and integrating AI models into C#, Python or Java code, acting as middleware between models and existing code.
Is Semantic Kernel still the recommended framework?
Microsoft Learn describes Microsoft Agent Framework as the direct successor to Semantic Kernel and AutoGen, with migration guides. Check it before starting a new project.
What is the difference between an agentic workflow and a fixed workflow?
A fixed workflow follows a path designed in advance. An agentic workflow lets a model choose the next step and tool at run time, within limits you set.
Which model providers can Microsoft Agent Framework use?
Its overview page lists Microsoft Foundry, Anthropic, Azure OpenAI, OpenAI and Ollama, among others.
How do you keep agentic workflows safe?
Limit each tool to the permission it needs, require approval for write actions, log every decision and test with realistic inputs before widening access.
Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.
Ready to put AI agents to work? Explore ElixirClaw, the agentic OS platform to build, orchestrate and govern AI agents.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE