Expose APIs to Semantic Kernel with plugins and function calling
Answer: Semantic Kernel plugins encapsulate APIs and functions so a model can call them through function calling. In Python you can extend an agent with functions, OpenAPI, or Model Context Protocol, and mark functions with kernel_function.
What a plugin is
Plugins are a key component of Semantic Kernel. Plugins encapsulate your existing APIs into a collection an AI can use. This allows you to give your AI the ability to perform actions. Semantic Kernel uses function calling, a native feature of most of the latest LLMs, to invoke your APIs. LLMs can request a particular function. Semantic Kernel then marshals that request to the matching function in your codebase and returns the results so the model can write a final response. Many AI SDKs have no analogous plugin concept and only have functions or tools. Plugins also play nicely with dependency injection.
Python plugins
The Python readme lists a Plugin Ecosystem: extend with Python, OpenAPI, Model Context Protocol (MCP), and more. The section on building an agent with plugins and tools shows how to add Python functions as plugins. A MenuPlugin example uses kernel_function with a description. You install the package with pip install --upgrade semantic-kernel.
| Plugin | function | |---|---| | Plugin | collection of APIs or functions for the AI | | function calling | how the model requests a function | | kernel_function | marks a Python function as a plugin | | OpenAPI and MCP | other ways to extend the plugin ecosystem |
See also
Claims
- id: C1 claim: Plugins encapsulate existing APIs into a collection an AI can use. source: S1 evidence: "encapsulate your existing APIs into a collection"
- id: C2 claim: Semantic Kernel uses function calling to invoke those APIs and return results to the model. source: S1 evidence: "Semantic Kernel leverages function calling"
- id: C3 claim: The Python package extends the plugin ecosystem with Python, OpenAPI, and MCP. source: S2 evidence: "Extend with Python, OpenAPI, Model Context Protocol (MCP)"
Sources
- [S1] What is a Plugin?. Microsoft Learn. https://learn.microsoft.com/en-us/semantic-kernel/concepts/plugins/?tabs=python . License: MIT. Accessed 2026-11-19.
- [S2] Get Started with Semantic Kernel Python. microsoft/semantic-kernel (GitHub). https://github.com/microsoft/semantic-kernel/blob/main/python/README.md . License: MIT. Accessed 2026-11-19.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Microsoft Learn, What is a Plugin?; microsoft/semantic-kernel (GitHub), Get Started with Semantic Kernel Python. MIT; MIT. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Microsoft Learn, What is a Plugin?; microsoft/semantic-kernel (GitHub), Get Started with Semantic Kernel Python. MIT; MIT.
Cite this
iinventedlight. 2026. "Expose APIs to Semantic Kernel with plugins and function calling." iinventedlight Library, iil:note:5954nr3v, version of 2026-11-19. https://iinventedlight.com/library/notes/semantic-kernel-plugins/. License: CC-BY-4.0.
@misc{iil_note_5954nr3v,
author = {{iinventedlight}},
title = {{Expose APIs to Semantic Kernel with plugins and function calling}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-19},
url = {https://iinventedlight.com/library/notes/semantic-kernel-plugins/},
note = {Permanent ID iil:note:5954nr3v. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- semantic-kernel-plugins.table.json (table; CC-BY-4.0)
- semantic-kernel-plugins.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/semantic-kernel-plugins.md.