AgentFrameworkToolkit.Tools
1.0.0-preview.260128.1
This is a prerelease version of AgentFrameworkToolkit.Tools.
dotnet add package AgentFrameworkToolkit.Tools --version 1.0.0-preview.260128.1
NuGet\Install-Package AgentFrameworkToolkit.Tools -Version 1.0.0-preview.260128.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="AgentFrameworkToolkit.Tools" Version="1.0.0-preview.260128.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AgentFrameworkToolkit.Tools" Version="1.0.0-preview.260128.1" />
<PackageReference Include="AgentFrameworkToolkit.Tools" />
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 AgentFrameworkToolkit.Tools --version 1.0.0-preview.260128.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AgentFrameworkToolkit.Tools, 1.0.0-preview.260128.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 AgentFrameworkToolkit.Tools@1.0.0-preview.260128.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=AgentFrameworkToolkit.Tools&version=1.0.0-preview.260128.1&prerelease
#tool nuget:?package=AgentFrameworkToolkit.Tools&version=1.0.0-preview.260128.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Agent Framework Toolkit @ Tools
This package is aimed at making it easier to consume AI Tools in Microsoft Agent Framework
Check out the General README.md for Agentfactory providers and other shared features in Agent Framework Toolkit.
Samples
//1. Make your tool-class and add [AITool] attributes
public class MyTools
{
[AITool]
public string MyTool1()
{
return "hello";
}
[AITool]
public string MyTool2()
{
return "world";
}
}
//2. Get your tool by either instance or Type (if no constructor dependencies)
IList<AITool> tools = aiToolsFactory.GetTools(typeof(MyTools));
//or
IList<AITool> tools = aiToolsFactory.GetTools(new MyTools());
| 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 was computed. 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.
-
net8.0
- AgentSkillsDotNet (>= 1.0.0-preview.260128.1)
- JetBrains.Annotations (>= 2025.2.4)
- Microsoft.Extensions.AI.Abstractions (>= 10.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on AgentFrameworkToolkit.Tools:
| Package | Downloads |
|---|---|
|
AgentFrameworkToolkit
An opinionated C# Toolkit for Microsoft Agent Framework that makes life easier |
|
|
AgentFrameworkToolkit.Tools.ModelContextProtocol
An opinionated C# Toolkit targeting Model Context Protocol for Microsoft Agent Framework Tools |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.260128.1 | 49 | 1/29/2026 |
| 1.0.0-preview.260127.1 | 76 | 1/27/2026 |
| 1.0.0-preview.260126.1 | 56 | 1/26/2026 |