← All notes

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

Sources

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

Permanent ID: iil:note:5954nr3v

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.},
}

Markdown

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.

All artifact files (JSON index)

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.