Install
pip install semantic-kernel==1.45.0Microsoft Semantic Kernel for Python — plugins, function calling, agents, orchestrations, vector stores and MCP.
Microsoft’s SDK for building AI apps and agents in Python — a kernel that hosts AI services and plugins, native function calling, agents and multi-agent orchestrations, vector stores and MCP.
Install
pip install semantic-kernel==1.45.0Version
semantic-kernel 1.45.0 · Python 3.10+ · checked 2026-11-19
Best for
Existing SK codebases, Azure-centric apps, plugin-based agents.
mcp requirement to 1.26 or later.KernelFunction.as_agent_framework_tool() added for Agent Framework interop (1.38.0), but it still targets a pre-1.0 Agent Framework API and fails with current releases.AzureAIAgent needs azure-ai-projects 1.x (pip install "azure-ai-projects<2"); pip otherwise picks 2.x, which it does not support.A plain pip install semantic-kernel works; --pre is not needed, even though one Azure dependency is a pre-release.
import asynciofrom semantic_kernel.agents import ChatCompletionAgentfrom semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion
agent = ChatCompletionAgent( service=OpenAIChatCompletion(ai_model_id="gpt-6-luna"), # reads OPENAI_API_KEY name="Assistant", instructions="You are a helpful assistant.",)
async def main(): response = await agent.get_response(messages="What is 15 + 27?") print(response.message.content)
asyncio.run(main())Ready? Start Zero → Hero Step 1 →
| Date | Framework version (installed) | Summary of changes | Reviewer |
|---|---|---|---|
| 2026-10-21 | semantic-kernel 1.45.0 | Agent Framework bridge flagged as broken, with a link to the working wrapper. azure-ai-projects<2 requirement for AzureAIAgent noted. Links made root-absolute; Python diagrams merged into the shared diagrams page. | |
| 2026-10-21 | semantic-kernel 1.45.0 | Version now read from the site’s version registry. Minimal example fixed (ChatCompletionAgent takes service=, not service_id=; get_response(messages=...)). Removed the incorrect --pre install requirement. Agent Framework relationship stated per Microsoft’s support policy. Comprehensive guide rewritten and verified against an installed copy. | Claude |
| 2026-06-04 | semantic-kernel 1.43.0 | Version bump (symbols unverified). | Claude routine |
| 2026-05-14 | semantic-kernel 1.42.0 | Version bump; mcp>=1.26.0 noted. | Claude routine |
| 2026-04-22 | semantic-kernel 1.41.2 | Version corrected from a stale 1.36.0. | Claude routine |
| 2026-04-21 | semantic-kernel 1.41.2 | Index redesigned with Zero → Hero + Jump-to-topic grid. | — |
Other languages: .NET.