microsoft/semantic-kernel-java
Java
Captured source
source ↗microsoft/semantic-kernel-java
Description: Semantic Kernel for Java. Integrate cutting-edge LLM technology quickly and easily into your Java based apps. See https://aka.ms/semantic-kernel.
Language: Java
License: MIT
Stars: 268
Forks: 55
Open issues: 53
Created: 2024-06-12T16:16:26Z
Pushed: 2026-06-20T05:25:48Z
Default branch: main
Fork: no
Archived: no
README: 
Semantic Kernel for Java
Welcome to the Semantic Kernel for Java. For detailed documentation, visit Microsoft Learn.
Semantic Kernel is an SDK that integrates Large Language Models (LLMs) like OpenAI, Azure OpenAI, and Hugging Face with conventional programming languages like C#, Python, and Java. Semantic Kernel achieves this by allowing you to define plugins that can be chained together in just a few lines of code.
What makes Semantic Kernel _special_, however, is its ability to _automatically_ orchestrate plugins with AI. With Semantic Kernel planners, you can ask an LLM to generate a plan that achieves a user's unique goal. Afterwards, Semantic Kernel will execute the plan for the user.
For C#, Python and other language support, see microsoft/semantic-kernel.
Please star the repo to show your support for this project!
!Orchestrating plugins with planner
Getting started with Semantic Kernel for Java
The quickest way to get started with the basics is to get an API key from either OpenAI or Azure OpenAI and to run one of the Java console applications/scripts below.
1. Clone the repository: git clone https://github.com/microsoft/semantic-kernel-java.git 2. Follow the instructions Start learning how to use Semantic Kernel.
Documentation: Learning how to use Semantic Kernel
The fastest way to learn how to use Semantic Kernel is with our walkthroughs on our Learn site.
1. 📖 Overview of the kernel 1. 🔌 Understanding AI plugins 1. 👄 Creating semantic functions 1. 💽 Creating native functions 1. ⛓️ Chaining functions together 1. 🤖 Auto create plans with planner 1. 💡 Create and run a ChatGPT plugin
Join the community
We welcome your contributions and suggestions to 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
- Join the Discord community
- Attend [regular office hours and SK community events](COMMUNITY.md)
- Follow the team on our blog
Contributor Wall of Fame

Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
License
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the [MIT](LICENSE) license.
Notability
notability 5.0/10Java SDK for Semantic Kernel, solid traction