Bitzsoft.Integrations.AI.All
1.2.0
dotnet add package Bitzsoft.Integrations.AI.All --version 1.2.0
NuGet\Install-Package Bitzsoft.Integrations.AI.All -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bitzsoft.Integrations.AI.All" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.AI.All" Version="1.2.0" />
<PackageReference Include="Bitzsoft.Integrations.AI.All" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bitzsoft.Integrations.AI.All --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitzsoft.Integrations.AI.All, 1.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bitzsoft.Integrations.AI.All@1.2.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bitzsoft.Integrations.AI.All&version=1.2.0
#tool nuget:?package=Bitzsoft.Integrations.AI.All&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bitzsoft.Integrations.AI.All
Bitzsoft AI 套件 1.2.0 独立运行期聚合元包(meta-package),一次安装即可通过传递依赖引入全部 11 个活跃运行期 Bitzsoft.Integrations.AI.* 包,适合需要完整企业级 AI-Hermes 编排、MCP 双端、知识检索、Agent Framework 与 ASP.NET Core 托管能力的 .NET 8 / .NET 10 宿主。
功能范围与边界
- 仅包含活跃运行期 AI 包:不包含已弃用的 4 个旧包(
SemanticKernel、AgentFramework、McpServer、RAG),不包含跨net5原生二进制包Bitzsoft.Integrations.Ocr,亦不包含仅供测试工程引用的Bitzsoft.Integrations.AI.Testing; - 纯元包零多余程序集:
IncludeBuildOutput=false,全线成员包保持net8.0;net10.0与IsAotCompatible=true。
安装
dotnet add package Bitzsoft.Integrations.AI.All
包含的 11 个运行期包
| 层级 | 包名 | 职责 |
|---|---|---|
| L0 抽象 | Bitzsoft.Integrations.AI.Abstractions | 统一模型契约、语音/图像/多模态附件/主动通知信封/脱敏/FinOps/清单与零外网代码沙箱共享抽象 |
| L1 驱动 | Bitzsoft.Integrations.AI | OpenAI 兼容多租户驱动、故障转移、思考策略与 Hermes 非对称推理调度 |
| L1 驱动 | Bitzsoft.Integrations.AI.Anthropic | Anthropic Claude 原生 Messages 驱动 |
| L2 治理 | Bitzsoft.Integrations.AI.Governance | 数据分级与视觉/推理联合路由、受控工具管线、出站脱敏、混合发现、聚合引擎与 Opt-In 零外网沙箱元工具 |
| L2 技能 | Bitzsoft.Integrations.AI.Skills | L0/L1/L2 渐进式技能目录、关联资源协议与受控沙箱草稿技能结晶 |
| L2 知识 | Bitzsoft.Integrations.AI.Knowledge | 租户 ACL 知识存储、Qdrant / 厂商中立 VectorData 适配、零依赖词法双路 RRF 检索与引用格式化 |
| L2 MCP | Bitzsoft.Integrations.AI.Mcp | AOT 兼容 MCP 2.4 Client & Server 全协议面(Tools/Tasks/Resources/Prompts/Sampling/Roots/OAuth PRM)与多租户安全治理 |
| L3 会话 | Bitzsoft.Integrations.AI.Conversation | 会话/分支/压缩/水合、声明式 UI 与多模态视觉双路路由、防炸弹 Office(DOCX/XLSX/PPTX/PDF)提取、Memory v2、显性反馈、FinOps 与 Hermes 工具循环 |
| L3 Harness | Bitzsoft.Integrations.AI.Hermes | 九阶段钩子管线、旁路产物仓与十进制分析、声明式文档导出纯端口、轨迹录制、异步蒸馏、Goal Mode 与主动式定时代理、灰度路由与 OTel 嵌套追踪 |
| L4 智能体 | Bitzsoft.Integrations.AI.Agents | Microsoft Agent Framework 统一集成、.UseBitzHermesHarness()、多租户工作流断点编排与持久化会话协调 |
| L5 Web 宿主 | Bitzsoft.Integrations.AI.AspNetCore | SSE/NDJSON、纯 AOT AG-UI 桥接、产物行查询端点、RFC 9457、Claims 绑定、MCP 产物/技能资源桥接、OAuth PRM、Day-2 只读诊断与 MVC MCP 发现 |
配置示例
{
"AI": {
"Hermes": {
"SpillThresholdChars": 8192,
"MaxSubgraphTools": 16
}
}
}
依赖注入注册
完整最小示例
using Bitzsoft.Integrations.AI;
using Bitzsoft.Integrations.AI.Agents;
using Bitzsoft.Integrations.AI.Hermes;
using Bitzsoft.Integrations.AI.Knowledge;
using Bitzsoft.Integrations.AI.Mcp;
using Bitzsoft.Integrations.Core;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
services.AddInMemoryIntegrationCredentials();
services.AddBitzChatClient(options =>
{
options.ProviderId = "deepseek-dev";
options.ProfileId = "deepseek";
options.ModelId = "deepseek-chat";
});
services.AddBitzAIHermes(options =>
{
options.SpillThresholdChars = 8_192;
options.MaxSubgraphTools = 16;
});
services.AddInMemoryBitzAgentSessions();
services.AddBitzsoftAIAgent(options =>
{
options.Name = "enterprise-assistant";
options.Description = "统一 AI 套件只读智能助手";
options.Instructions = "仅基于授权数据源准确作答。";
});
await using ServiceProvider provider = services.BuildServiceProvider(
new ServiceProviderOptions { ValidateScopes = true, ValidateOnBuild = true });
AIHermesRuntimeInfo hermes = provider.GetRequiredService<AIHermesRuntimeInfo>();
Console.WriteLine($"AI.All ready: Hermes={hermes.PackageVersion}, MCP={typeof(IMcpClientFactory).Name}, Knowledge={typeof(IKnowledgeStore).Name}");
测试与按需选装
- 单元测试与存储契约验收请仅在测试工程安装 Bitzsoft.Integrations.AI.Testing;
- 如需本地视觉 OCR,请单独选装 Bitzsoft.Integrations.Ocr。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Bitzsoft.Integrations.AI (>= 1.2.0)
- Bitzsoft.Integrations.AI.Abstractions (>= 1.2.0)
- Bitzsoft.Integrations.AI.Agents (>= 1.2.0)
- Bitzsoft.Integrations.AI.Anthropic (>= 1.2.0)
- Bitzsoft.Integrations.AI.AspNetCore (>= 1.2.0)
- Bitzsoft.Integrations.AI.Conversation (>= 1.2.0)
- Bitzsoft.Integrations.AI.Governance (>= 1.2.0)
- Bitzsoft.Integrations.AI.Hermes (>= 1.2.0)
- Bitzsoft.Integrations.AI.Knowledge (>= 1.2.0)
- Bitzsoft.Integrations.AI.Mcp (>= 1.2.0)
- Bitzsoft.Integrations.AI.Skills (>= 1.2.0)
-
net8.0
- Bitzsoft.Integrations.AI (>= 1.2.0)
- Bitzsoft.Integrations.AI.Abstractions (>= 1.2.0)
- Bitzsoft.Integrations.AI.Agents (>= 1.2.0)
- Bitzsoft.Integrations.AI.Anthropic (>= 1.2.0)
- Bitzsoft.Integrations.AI.AspNetCore (>= 1.2.0)
- Bitzsoft.Integrations.AI.Conversation (>= 1.2.0)
- Bitzsoft.Integrations.AI.Governance (>= 1.2.0)
- Bitzsoft.Integrations.AI.Hermes (>= 1.2.0)
- Bitzsoft.Integrations.AI.Knowledge (>= 1.2.0)
- Bitzsoft.Integrations.AI.Mcp (>= 1.2.0)
- Bitzsoft.Integrations.AI.Skills (>= 1.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0 | 0 | 11/21/2026 |