Integrate cutting-edge LLM technology quickly and easily into your apps
Integrate cutting-edge LLM technology quickly and easily into your apps
[!IMPORTANT] Semantic Kernel is now Microsoft Agent Framework! Microsoft Agent Framework (MAF) is the enterprise‑ready successor to Semantic Kernel. Microsoft Agent Framework is now available at version 1.0 as a production-ready release: stable APIs, and a commitment to long-term support. Whether you're building a single assistant or orchestrating a fleet of specialized agents, Microsoft Agent Framework 1.0 gives you enterprise-grade multi-agent orchestration, multi-provider model support, and cross-runtime interoperability via A2A and MCP.
Learn more about Semantic Kernel and Agent Framework here: Semantic Kernel and Microsoft Agent Framework on the Agent Framework blog, and try out the Semantic Kernel migration guide.
Build intelligent AI agents and multi-agent systems with this enterprise-ready orchestration framework
Semantic Kernel is a model-agnostic SDK that empowers developers to build, orchestrate, and deploy AI agents and multi-agent systems. Whether you're building a simple chatbot or a complex multi-agent workflow, Semantic Kernel provides the tools you need with enterprise-grade reliability and flexibility.
First, set the environment variable for your AI Services:
Azure OpenAI:
export AZURE_OPENAI_API_KEY=AAA....or OpenAI directly:
export OPENAI_API_KEY=sk-...pip install semantic-kerneldotnet add package Microsoft.SemanticKernel
dotnet add package Microsoft.SemanticKernel.Agents.CoreSee semantic-kernel-java build for instructions.
Create a simple assistant that responds to user prompts:
……Enhance your agent with custom tools (plugins) and structured output:
……Build a system of specialized agents that can collaborate:
…We welcome your contributions and suggestions to the SK community! One of the easiest ways to participate is to engage in discussions in the GitHub repository. Bug reports and fixes are welcome!
For new features, components, or extensions, please open an issue and discuss with us before sending a PR. This is to avoid rejection as we might be taking the core in a different direction, but also to consider the impact on the larger ecosystem.
To learn more and get started:
Read the documentation
Learn how to contribute to the project
Ask questions in the GitHub discussions
Ask questions in the Discord community
Follow the team on our blog
This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT license.
Python: FunctionCallContent.combine_arguments drops a streamed "{}" chunk, producing invalid JSON arguments
.Net: Python: KernelJsonSchemaBuilder emits {"type": "object"} with no enum for typing.Literal parameters and fields
Python: Bug: Redis connector sends malformed `FT.CREATE PREFIX` (one prefix per character of collection name)
Python: Bug: Vector search (`FT.SEARCH`) via the Python Redis connector is broken
.Net: Feature: ChatHistoryCompactionReducer — an alternative IChatHistoryReducer that preserves structured history
.Net: Integration Proposal: CAJAL — Local Scientific Paper Plugin
.Net: Python: New Feature: Add `thinking_level` to Gemini connector
Python: feat: Add Spraay batch payment plugin for Base (Python)
[Partnership] Scoped integration collaboration
Python: Security: OWASP Agent Memory Guard for SK memory poisoning defense (ASI06)