ChatStage.Server
0.1.0-preview.1
This is a prerelease version of ChatStage.Server.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ChatStage.Server --version 0.1.0-preview.1
NuGet\Install-Package ChatStage.Server -Version 0.1.0-preview.1
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="ChatStage.Server" Version="0.1.0-preview.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ChatStage.Server" Version="0.1.0-preview.1" />
<PackageReference Include="ChatStage.Server" />
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 ChatStage.Server --version 0.1.0-preview.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ChatStage.Server, 0.1.0-preview.1"
#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 ChatStage.Server@0.1.0-preview.1
#: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=ChatStage.Server&version=0.1.0-preview.1&prerelease
#tool nuget:?package=ChatStage.Server&version=0.1.0-preview.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ChatStage.Server
The server side of ChatStage: serves a Microsoft Agent Framework agent over AG-UI so a ChatStage chat (or any AG-UI client) can use it.
builder.Services.AddChatStageServer(); // AG-UI server + a session store for threads
// ...
app.MapChatStageAgent("/agent", agent); // agent: any named AIAgent, e.g. chatClient.AsAIAgent(...)
What it adds over a bare MapAGUIServer:
- Threads are kept on the server (an
AgentSessionStore; in memory by default, register your own to persist them), so clients send only new messages. - Approvals are bound to what the agent asked. A client answers an approval with its id and yes or no; the call that runs is the one the thread recorded, with its recorded arguments. A tampered resume (changed arguments, a different tool, another thread's id) runs nothing it shouldn't. The Agent Framework's approval response binding stays on.
- Unanswered approvals are declined when the user moves on with a new message (after Stop, or a restart).
- Failed runs are logged; AG-UI only tells the client that the run failed.
Documentation: https://github.com/modarken/chatstage
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- AGUI.Abstractions (>= 1.0.1)
- Microsoft.Agents.AI (>= 1.28.0)
- Microsoft.Agents.AI.Hosting.AGUI.AspNetCore (>= 1.28.0-preview.261106.1)
- Microsoft.Extensions.AI (>= 11.0.1)
- Microsoft.Extensions.AI.Abstractions (>= 11.0.1)
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 |
|---|---|---|
| 0.3.0-preview.1 | 51 | 11/28/2026 |
| 0.2.0-preview.1 | 50 | 11/27/2026 |
| 0.1.0-preview.1 | 49 | 11/27/2026 |