ToolUp.AI.SampleClientTool.Server
0.20.1
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ToolUp.AI.SampleClientTool.Server --version 0.20.1
NuGet\Install-Package ToolUp.AI.SampleClientTool.Server -Version 0.20.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="ToolUp.AI.SampleClientTool.Server" Version="0.20.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ToolUp.AI.SampleClientTool.Server" Version="0.20.1" />
<PackageReference Include="ToolUp.AI.SampleClientTool.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 ToolUp.AI.SampleClientTool.Server --version 0.20.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ToolUp.AI.SampleClientTool.Server, 0.20.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 ToolUp.AI.SampleClientTool.Server@0.20.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=ToolUp.AI.SampleClientTool.Server&version=0.20.1
#tool nuget:?package=ToolUp.AI.SampleClientTool.Server&version=0.20.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ToolUp.AI.SampleClientTool.Server
Apache-2.0 reference companion — server-side compose for the sample client-resident-tool calculator.
Reference-only. Not a production companion. See Core/README.md for the broader motivation.
What's in here
toolDefinition— theAIToolDefinitionthe agent loop sees.Location = ClientResidentmeans the executor never runs server-side; the loop emitsClientToolInvokeover SSE and waits for the browser handler's POST.register : AIServerApp -> AIServerApp— appends the tool with no authorizer. The seam-absent default inAIAgentEngine.runAgentLoopisAllow, so the model can fire the tool unrestricted. Suitable for sample / test use only.registerWithPolicy : IClientToolAuthorizer -> AIServerApp -> AIServerApp— appends the tool + folds an operator-supplied authorizer into the composition root'sServiceConfig. The agent loop's DI resolution finds the authorizer and consults it before anyClientToolInvokeSSE emit.
Wiring
AIServerApp.create factory configStore
|> AIServerApp.withConfig config
|> ToolUp.AI.SampleClientTool.Server.Compose.register
|> AIServerApp.run
Or with an authorizer:
AIServerApp.create factory configStore
|> AIServerApp.withConfig config
|> ToolUp.AI.SampleClientTool.Server.Compose.registerWithPolicy myAuthorizer
|> AIServerApp.run
See also
ToolUp.AI.SampleClientTool.Client— the browser-side handler that pairs with this server compose.docs/ai/extending.md§"Client-resident tool authorization contract" — the seam-level walkthrough.src/ToolUp.AI/TECHNICAL_GUIDE.md§"Client-resident companion authoring" — the full companion-authoring guide + contract-pack bindings.
| 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
- ToolUp.AI.Core (>= 0.20.1)
- ToolUp.AI.SampleClientTool.Core (>= 0.20.1)
- ToolUp.AI.Server (>= 0.20.1)
- ToolUp.Platform.Core (>= 0.20.1)
- ToolUp.Platform.Server (>= 0.20.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.