Skip to main content
XenonStack

Azure

XenonStack Blog Agentic Workflows with Semantic Kernel on Azure

| Published | Updated

Agentic Workflows with Semantic Kernel on Azure
13:20

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.

Two-column diagram. Fixed workflow: path, unexpected input, tools, testing. Agentic workflow: path, unexpected input, tools, control.
FeatureFixed workflowAgentic workflow
PathSet in advance by a designerChosen at run time by the model within limits you set
Handling the unexpectedFails or routes to a personCan retry, choose another tool or ask for help
Control neededTest the pathsLimit tools, log decisions, add approvals for risky steps
Best forStable, well-defined processesVariable 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.

QuestionSemantic KernelMicrosoft Agent Framework
PositioningMiddleware to build agents and connect models to codeDescribed as the direct successor to Semantic Kernel and AutoGen
LanguagesC#, Python and Java (as of the overview page).NET, Python and Go; Go is in public preview
Building blocksPlugins, function calling, hooks and filtersAgents, graph-based workflows, tools, sessions for state, context providers and middleware
What to doMaintain existing projects; plan migrationStart 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.

  1. Set up the project and authenticate with your Azure credentials, keeping secrets out of code.
  2. Connect a model endpoint and confirm it works with one agent and one question.
  3. Describe each capability as a tool or plugin with a clear name, inputs and outputs.
  4. Add the workflow: which agent runs first, which tools it may use, and when a person approves.
  5. 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?

  1. Choose one workflow with a clear owner, such as triaging inbound requests.
  2. Decide whether to start on Microsoft Agent Framework or maintain Semantic Kernel.
  3. Build one agent with two or three tools and a human approval on any write action.
  4. Add telemetry and replay a failed run to see whether the evidence is enough.
  5. 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.

Table of Contents

navdeep-singh-gill

Navdeep Singh Gill

Global CEO and Founder of XenonStack

LinkedIn profile

Navdeep Singh Gill is serving as Chief Executive Officer and Product Architect at XenonStack. He holds expertise in building SaaS Platform for Decentralised Big Data management and Governance, AI Marketplace for Operationalising and Scaling. His incredible experience in AI Technologies and Big Data Engineering thrills him to write about different use cases and its approach to solutions.

Get the latest articles in your inbox

Subscribe Now

Interested in solving your challenges with the XenonStack team?
Get Started

Tell us about you and your priorities so we can prepare the right conversation. It takes about 2 minutes.

Please Select your Industry
Banking
Fintech
Payment Providers
Wealth Management
Discrete Manufacturing
Semiconductor
Machinery Manufacturing / Automation
Appliances / Electrical / Electronics
Elevator Manufacturing
Defense & Space Manufacturing
Computers & Electronics / Industrial Machinery
Motor Vehicle Manufacturing
Food and Beverages
Distillery & Wines
Beverages
Shipping
Logistics
Mobility (EV / Public Transport)
Energy & Utilities
Hospitality
Digital Gaming Platforms
SportsTech with AI
Public Safety - Explosives
Public Safety - Firefighting
Public Safety - Surveillance
Public Safety - Others
Media Platforms
City Operations
Airlines & Aviation
Defense Warfare & Drones
Robotics Engineering
Drones Manufacturing
AI Labs for Colleges
AI MSP / Quantum / AGI Institutes
Retail Apparel and Fashion

Continue