Microsoft Semantic Kernel for .NET/Java Enterprise Stacks
Semantic Kernel is an open-source SDK from Microsoft that integrates large language models into .NET, Python and Java applications via plugins, functions, function calling, vector stores and connectors. Microsoft calls the Microsoft Agent Framework, which merges Semantic Kernel and AutoGen, the direct successor to both projects.
Key Takeaways
- Semantic Kernel is Microsoft's enterprise SDK for integrating LLMs into .NET (C#), Python and Java, with the core building blocks of plugins/functions, function calling, vector stores and connectors.
- With the Microsoft Agent Framework 1.0 (GA since 3 April 2026, MIT license), Semantic Kernel and AutoGen converge into a single unified stack; before the merger, the two projects together had over 75,000 GitHub stars.
- Microsoft calls the Agent Framework the direct successor to Semantic Kernel and AutoGen. SK 1.x still gets fixes for critical bugs and security issues, new features land in the Agent Framework, and existing SK solutions can be migrated step by step; AutoGen moves into maintenance mode (as of 2026).
- The strongest case for Semantic Kernel and its successor, the Microsoft Agent Framework, is an existing Microsoft/Azure/.NET stack: the Agent Framework brings native MCP and A2A support, and Azure offers hosting in Europe (EU regions Germany West Central/Frankfurt, West Europe and Sweden Central, plus Switzerland North).
- For DACH enterprises with sovereignty requirements, the US vendor dependency (CLOUD Act debate) remains to be assessed, even though Azure EU regions and the EU Data Boundary are available.
Semantic Kernel is an open-source SDK from Microsoft that integrates large language models into .NET, Python and Java applications via plugins, functions, function calling, vector stores and connectors. It serves as an orchestration layer for enterprise AI. Microsoft calls the Microsoft Agent Framework, which merges Semantic Kernel and AutoGen, the direct successor to both projects. For organizations with an existing Microsoft, Azure and .NET stack, the Agent Framework is the most natural entry point into new agentic workloads; existing Semantic Kernel solutions keep running.
- What it is: a model-agnostic enterprise SDK for LLM orchestration, primarily for C#/.NET, alongside Python and Java.
- Core building blocks: plugins/functions (callable tools), automatic function calling (step planning), vector stores (memory, context) and connectors (models, services).
- Strategic status in 2026: Semantic Kernel and AutoGen converge in the Microsoft Agent Framework 1.0 (GA since 3 April 2026, MIT license); SK 1.x is still maintained, new features land in the Agent Framework, and AutoGen moves into maintenance mode.
The four core building blocks of Semantic Kernel
Semantic Kernel structures AI integration around four abstractions, each of which can be mapped individually into enterprise code.
Plugins and functions. A plugin bundles functions that the kernel can call. There are two kinds: native functions are ordinary C#, Python or Java code (such as a database access or a REST call), while prompt functions are parameterized prompts (formerly called semantic functions). Both are offered to the model as callable tools. This corresponds to the tool/function-calling layer with error handling that defines an agent framework.
Planning via function calling. Microsoft has deprecated the earlier planners (Stepwise, Handlebars) and removed them from the package. Today the model uses automatic function calling to decide which plugin functions to call and in what order: it calls a function, checks the result and picks the next step. Instead of hard-wiring a workflow, you describe the available plugins. This is the bridge from a static workflow to a dynamically controlled agent. In the Microsoft Agent Framework, the agent plans the same way, and graph-based workflows add explicitly defined execution paths.
Vector stores (memory). Memory maintains context across multiple steps. SK keeps the conversation as chat history and stores persistent knowledge as embeddings in vector databases (for RAG scenarios). For this, SK now uses the vector store abstractions, which replaced the earlier memory stores. This makes state management possible across multiple calls without manually threading the store through the call chain.
Connectors. Connectors decouple the code from specific models and services. In the Microsoft Agent Framework, six providers can be swapped with a 1-line swap: Azure OpenAI, OpenAI, Anthropic, Amazon Bedrock, Google Gemini and Ollama (as of 2026). This noticeably reduces model lock-in, a key selection criterion for regulated industries.
Focus on .NET/Java: why enterprise stacks benefit
The essential difference from Python-centric frameworks such as CrewAI (Python-only) or Pydantic AI (Python-only) is the first-class .NET support. Anyone running an existing ASP.NET, Azure Functions or Service Fabric landscape can integrate AI agents within the same language and deployment stack, without a language switch and without a separate Python service.
This also matters for staffing: an existing .NET team can work with the Agent Framework in the language it already uses, instead of hiring additional Python specialists. Semantic Kernel also supports Java. According to Microsoft Learn, however, the Microsoft Agent Framework is available for .NET (C#) and Python, plus Go in public preview; Microsoft does not list Java there. Pure Java shops should therefore check language support before starting a project.
In addition, there are enterprise characteristics that, in practice, determine production readiness:
- Native MCP support (Model Context Protocol) for standardized tool access, integrated for example via a configuration such as
.WithMcpServer(...). - Native A2A support (agent-to-agent, protocol v1.0), including Signed Agent Cards for agent-to-agent communication.
- Observability via Application Insights, OpenTelemetry and Foundry Monitoring, important for audit and traceability obligations.
- Sandbox code execution via CodeAct/Hyperlight (alpha status as of 2026).
- Azure hosting in Europe in the EU regions Germany West Central (Frankfurt), West Europe and Sweden Central, plus Switzerland North and the Microsoft EU Data Boundary (EU and EFTA).
Relationship to AutoGen: the announced convergence
Until 2025, Microsoft had two parallel strands: Semantic Kernel as a production-oriented SDK and AutoGen as a research/multi-agent framework. With the Microsoft Agent Framework, the two are being brought together.
The strategic shift is concrete. The Microsoft Agent Framework entered public preview on 1 October 2025 and reached general availability on 3 April 2026, under an MIT license and with an explicit LTS commitment. Before the merger, Semantic Kernel and AutoGen together had over 75,000 GitHub stars. The new framework cleanly separates agents (stateful execution units) from workflows (graph-based orchestration) and integrates AutoGen's multi-agent concepts into a graph workflow engine.
Crucial for existing customers: Semantic Kernel keeps running, but development has moved to the Agent Framework. Microsoft continues to fix critical bugs and security issues in SK 1.x, a commitment that runs for at least one year after the Agent Framework leaves preview, so at least until April 2027. Most new features are built in the Agent Framework. Existing solutions continue to run and can be migrated step by step; with GA, however, Microsoft explicitly recommends migrating. AutoGen, by contrast, moves into maintenance mode; new multi-agent projects should no longer be started there (as of 2026).
Comparison of migration paths
Starting point | Target | Recommendation as of 2026 | Effort |
|---|---|---|---|
Semantic Kernel | Microsoft Agent Framework | Migrate step by step; SK 1.x still gets fixes | low to medium |
AutoGen | Microsoft Agent Framework | Migration recommended (AutoGen in maintenance mode) | medium |
Plain LLM API code | Microsoft Agent Framework | Rebuild on agents/workflows | medium |
Python-only requirement | Pydantic AI / CrewAI / LangGraph | Microsoft AF covers Python but is .NET-strong | depends |
When the Microsoft Agent Framework is a fit for enterprise teams, and when it is not
Well suited if at least one of these points applies:
- .NET/C# is mandatory or the dominant stack.
- There is an Azure landscape with a requirement for EU data residency.
- The team is an existing Semantic Kernel or AutoGen customer.
- Regulated EU workloads with a need for logging, traceability and human oversight (relevant in the context of the EU AI Act; the Digital Omnibus (Regulation (EU) 2026/1744) has been in force since 27 July 2026 and postpones the high-risk obligations for Annex III systems to 2 December 2027).
Less suitable if:
- The team works in a purely Python-based way and time-to-demo matters. In that case, CrewAI (fastest prototype) or Pydantic AI are often more direct.
- Strict vendor sovereignty without a US provider is required. Here, the US vendor dependency and the CLOUD Act debate remain an open issue, despite the Azure EU regions.
- Maximum maturity is needed immediately: the GA is still young at 3 April 2026, and individual packages (such as
agent_framework.orchestrations) remained in preview status for longer. Maturity claims should be verified.
Concrete example: a quotation assistant in the .NET stack
A mid-sized B2B mechanical engineering company (Vienna) wants to relieve its sales staff in preparing quotations. The existing stack: ASP.NET Core, SQL Server, Azure West Europe.
Setup with the Microsoft Agent Framework (components named as in Semantic Kernel):
- Plugin
ProductCatalog(native function) reads prices and availability from SQL Server. - Plugin
PricingRules(prompt function) applies discount logic as a parameterized prompt. - MCP server connects the CRM for customer history (
.WithMcpServer(...)). - Agent orchestrates: understand the request, query the catalog, calculate the price, generate the quotation text.
- Connector points to Azure OpenAI in West Europe (EU data residency).
Pseudocode sketch:
```csharp
var agent = new AgentBuilder()
.WithAzureOpenAI("gpt-deployment", endpoint, key) // EU region
.WithPlugin<ProductCatalog>()
.WithPlugin<PricingRules>()
.WithMcpServer("crm-connector")
.Build();
var result = await agent.RunAsync(
"Create a quotation for customer 4711, 50 units of Type B");
```
Assumed outcome: instead of around 25 minutes of manual research and text creation per quotation, the assistant delivers a draft in under 60 seconds, which the salesperson only has to review (human-in-the-loop). At 40 quotations per week, this corresponds to a saving in the region of around 16 hours per week, though the specific figures must be validated in each individual operation. Application Insights logs every step for the audit obligation.
For agencies and B2B decision-makers
For agencies, the Microsoft Agent Framework is the lever with clients that have a grown Microsoft landscape: they deliver AI agents within the existing .NET/Azure stack without setting up a parallel Python operation, and they can argue EU data residency cleanly to data protection and compliance via Azure EU regions. For B2B decision-makers, the convergence of Semantic Kernel and AutoGen is a signal of stability: a GA product with an LTS commitment instead of two parallel projects. Blck Alpaca supports DACH companies with framework selection, sovereignty assessment and the migration of existing Semantic Kernel solutions. Our recommendation: define the use case first, then choose the framework, never the other way around.
Opens the chat with a prepared prompt.
Frequently asked questions
Is Semantic Kernel still current in 2026 or is it deprecated?
What is the difference between Semantic Kernel and the Microsoft Agent Framework?
Does Semantic Kernel or the Microsoft Agent Framework support Java?
Which LLM providers can be connected?
Can Semantic Kernel be used in a GDPR-compliant way in the DACH region?
Want to go deeper?
Get new analyses straight to your inbox, or see how we put this knowledge to work for companies.