# Semantic Kernel

> Canonical: https://skillalmanac.com/glossary/semantic-kernel | Last verified: 2026-11-25 | Index status: index-eligible

Semantic Kernel is Microsoft's open-source development kit for building AI agents and connecting model requests to functions in C#, Python, or Java applications.

Also called: Microsoft Semantic Kernel.

## In plain language

Semantic Kernel is middleware for developers adding models and agent behavior to C#, Python, or Java applications. Developers expose useful functions through plugins and describe their inputs, outputs, and side effects. A model can request an appropriate function, the application executes it through Semantic Kernel, and the result returns to the model. Plugins may come from native code, OpenAPI descriptions, or MCP servers. Model or connector changes can still require prompt, schema, integration, and behavior testing.

## Technical definition

Microsoft describes Semantic Kernel as a lightweight, open-source development kit that combines prompts with existing APIs. Plugins group functions exposed to an AI application; Semantic Kernel uses model function calling to marshal a requested call to the corresponding function and return its result. Plugins can be defined in native code or imported through OpenAPI specifications or MCP servers. Function metadata should describe inputs, outputs, and side effects so the model can select calls. The plugin guidance distinguishes retrieval functions from task-automation functions and recommends considering human approval for task automation.

## How it shows up when you use agents

Semantic Kernel appears inside an application whose model needs access to existing functions or APIs. Microsoft describes it as middleware for C#, Python, and Java: the model requests a function, Semantic Kernel marshals that request to the corresponding function, and the result returns to the model. It is a development kit, not a model or a ready-made chat application.

Plugins organize the functions exposed to the AI application. Microsoft says a plugin may be implemented with native code or imported from an OpenAPI specification or an MCP server. Each function needs useful metadata describing its inputs, outputs, behavior, and side effects; otherwise, the model may choose incorrectly or supply unsuitable arguments. Registering a function makes it available to the application's orchestration, but it should not be treated as proof that every caller or action is authorized.

A useful reader action is to inventory the plugin functions before enabling automatic function calling. Separate data-retrieval functions from functions that change state, document each side effect, and decide where a person must approve task automation. Microsoft's plugin guidance specifically recommends considering human-in-the-loop approval for task-automation functions. Then test requests that should select a function, should not select one, and should require approval.

Microsoft presents easy model swapping as a design aim. Treat that as an architectural goal rather than a compatibility guarantee: a changed model or connector can still require prompt, schema, integration, and behavior tests. See [Tool calling](/glossary/tool-calling), [AI agent framework](/glossary/ai-agent-framework), and [Model Context Protocol](/glossary/model-context-protocol).

## Common confusions

- **Semantic Kernel is not an AI model.** It connects application code and selected model services.
- **A plugin is not necessarily an in-process class.** Native code is one form; Microsoft also documents imports from OpenAPI specifications and MCP servers.
- **A plugin is not automatically a security boundary.** It defines exposed functions. Authorization, validation, and approval still require deliberate application design.
- **An MCP server and a plugin are not interchangeable terms.** An MCP server can be a source from which Semantic Kernel imports plugin functions; native code and OpenAPI are other documented sources.
- **Semantic Kernel is unrelated to semantic search despite the shared word.** [Semantic search](/glossary/semantic-search) is a retrieval concept, not this Microsoft development kit.
- **The supplied sources do not establish a successor or current migration recommendation.** Platform-selection decisions require current Microsoft documentation beyond these pages.

## Worked examples in this catalogue

### [How to Build an AI Agent: A Minimal Tool Loop](https://skillalmanac.com/learn/build-an-ai-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Illustrative minimal loop showing a model requesting a tool, application code running it, and a matching result returning to the model until completion or a step cap.

Why it exercises the concept: Directly clarifies the function-calling flow that Semantic Kernel can coordinate. It is a hand-written Claude API example, not Semantic Kernel code or evidence of library compatibility.

## Related terms

- [AI agent framework](https://skillalmanac.com/glossary/ai-agent-framework.md)
- [Tool calling (function calling)](https://skillalmanac.com/glossary/tool-calling.md)
- [AI agent](https://skillalmanac.com/glossary/ai-agent.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [Model Context Protocol (MCP)](https://skillalmanac.com/glossary/model-context-protocol.md)

## Sources

- [Introduction to Semantic Kernel](https://learn.microsoft.com/en-us/semantic-kernel/overview/), Microsoft Learn (accessed 2026-11-25)
- [What is a Plugin?](https://learn.microsoft.com/en-us/semantic-kernel/concepts/plugins/), Microsoft Learn (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
