Semantic Kernel
简介
微软的企业级 LLM 编排 SDK:C#/.NET 与 Python 双支持,插件化技能、Planner 规划与 Azure 深度集成,是 .NET 技术栈做 AI 应用的标准答案。
English
Microsoft's enterprise SDK for LLM orchestration in C#/.NET and Python, with plugins, planners and deep Azure integration.
适用场景
- .NET / C# 团队要在现有系统里接 LLM,不想引入 Python 服务
- 企业级插件编排:把内部 API 包成可被模型调用的函数
- 需要 C#、Python、Java 多语言一致抽象
快速上手
- dotnet add package Microsoft.SemanticKernel,初始化 Kernel 并加 OpenAI/Azure 连接器
- 把内部方法标注为 KernelFunction,注册成 Plugin
- 用 ChatCompletion 让模型选择并调用插件,观察参数传递
- 复杂任务改用 Agent Framework 或手写规划链,加日志与超时
标签
相关资源
LangChain 精选
最流行的 LLM 应用开发框架,提供链式调用、Agent 编排、工具调用与 RAG 全套能力,Python 与 JS 双语言生态,适合快速搭建各类 AI Agent 应用。The most popular framework for building LLM applications: chains, agent orchestration, tool calling and RAG out of the box, in both Python and JavaScript.
LangGraph 精选
基于图(状态机)的 Agent 编排框架,擅长多 Agent 协作、循环与人工介入流程,是 LangChain 官方推荐的复杂 Agent 生产方案。Graph-based agent orchestration from the LangChain team. Ideal for multi-agent collaboration, loops and human-in-the-loop workflows in production.
AutoGen
微软开源的多 Agent 对话框架,让多个 Agent 通过对话协作完成复杂任务,支持人机混合参与,学术与工业界应用广泛。Microsoft's open-source framework where multiple agents converse to solve complex tasks, with human-in-the-loop support.