Galosys.Foundation.Agents.AI.Hosting
26.7.26.2
dotnet add package Galosys.Foundation.Agents.AI.Hosting --version 26.7.26.2
NuGet\Install-Package Galosys.Foundation.Agents.AI.Hosting -Version 26.7.26.2
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="Galosys.Foundation.Agents.AI.Hosting" Version="26.7.26.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Galosys.Foundation.Agents.AI.Hosting" Version="26.7.26.2" />
<PackageReference Include="Galosys.Foundation.Agents.AI.Hosting" />
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 Galosys.Foundation.Agents.AI.Hosting --version 26.7.26.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Galosys.Foundation.Agents.AI.Hosting, 26.7.26.2"
#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 Galosys.Foundation.Agents.AI.Hosting@26.7.26.2
#: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=Galosys.Foundation.Agents.AI.Hosting&version=26.7.26.2
#tool nuget:?package=Galosys.Foundation.Agents.AI.Hosting&version=26.7.26.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Galosys.Foundation.Agents.AI.Hosting
Agent Hosting 托管模块。为 Galosys.Foundation.Agents.AI 创建的智能体提供 ASP.NET Core 托管管道,集成 OpenAI Responses/Conversations、DevUI 调试面板、A2A 智能体间协议和 AGUI 前端 Chat UI。
安装
<PackageReference Include="Galosys.Foundation.Agents.AI.Hosting" />
注册
builder.Services.AddAgentsAI(builder.Configuration);
builder.Services.AddAgentsHosting();
AddAgentsHosting() 内部调用:
AddOpenAIResponses()+AddOpenAIConversations()— OpenAI 托管端点AddDevUI()— 开发者调试面板AddA2AServer("default")— A2A 智能体间协议AddAGUI()— 前端 Chat UI
中间件
var app = builder.Build();
app.UseAgentsHosting();
UseAgentsHosting() 自动映射:
MapOpenAIResponses()+MapOpenAIConversations()— OpenAI 端点MapA2AHttpJson("default", "/a2a")— A2A 协议端点MapAGUI("default", "/agui")— AGUI Chat UI 端点MapDevUI()— 仅在开发环境启用
依赖
Galosys.Foundation.Core— 基础设施Galosys.Foundation.Agents.AI— Agent 核心模块Microsoft.Agents.AI.Hosting— MAF Hosting 基础Microsoft.Agents.AI.Hosting.OpenAI— OpenAI 托管Microsoft.Agents.AI.DevUI— DevUI 调试面板Microsoft.Agents.AI.Hosting.A2A.AspNetCore— A2A 智能体间协议Microsoft.Agents.AI.Hosting.AGUI.AspNetCore— AGUI 前端 Chat UI
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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
- Galosys.Foundation.Agents.AI (>= 26.7.26.2)
- Galosys.Foundation.Core (>= 26.7.26.2)
- Microsoft.Agents.AI.DevUI (>= 1.13.0-preview.260703.1)
- Microsoft.Agents.AI.Hosting (>= 1.13.0-preview.260703.1)
- Microsoft.Agents.AI.Hosting.A2A.AspNetCore (>= 1.13.0-preview.260703.1)
- Microsoft.Agents.AI.Hosting.AGUI.AspNetCore (>= 1.13.0-preview.260703.1)
- Microsoft.Agents.AI.Hosting.OpenAI (>= 1.13.0-alpha.260703.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.