AgentFrameworkToolkit.Tools
1.23.2
dotnet add package AgentFrameworkToolkit.Tools --version 1.23.2
NuGet\Install-Package AgentFrameworkToolkit.Tools -Version 1.23.2
<PackageReference Include="AgentFrameworkToolkit.Tools" Version="1.23.2" />
<PackageVersion Include="AgentFrameworkToolkit.Tools" Version="1.23.2" />
<PackageReference Include="AgentFrameworkToolkit.Tools" />
paket add AgentFrameworkToolkit.Tools --version 1.23.2
#r "nuget: AgentFrameworkToolkit.Tools, 1.23.2"
#:package AgentFrameworkToolkit.Tools@1.23.2
#addin nuget:?package=AgentFrameworkToolkit.Tools&version=1.23.2
#tool nuget:?package=AgentFrameworkToolkit.Tools&version=1.23.2
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.
When using ConfinedToTheseDomains with HttpClientTools or WebsiteTools, the toolkit creates an HTTP client that checks each redirect destination. HttpClientFactory cannot be combined with domain confinement because a supplied client may follow redirects before the toolkit can check them.
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. |
-
net8.0
- AgentSkillsDotNet (>= 1.23.2)
- JetBrains.Annotations (>= 2026.2.0)
- Microsoft.Agents.AI (>= 1.23.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
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 (1)
Showing the top 1 popular GitHub repositories that depend on AgentFrameworkToolkit.Tools:
| Repository | Stars |
|---|---|
|
rwjdk/agent-framework-samples
Samples demonstrating the Microsoft Agent Framework in C#
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.23.2 | 102 | 10/1/2026 |
| 1.23.1 | 185 | 9/30/2026 |
| 1.23.0 | 219 | 9/29/2026 |
| 1.22.2 | 275 | 9/27/2026 |
| 1.22.1 | 262 | 9/27/2026 |
| 1.22.0 | 330 | 9/18/2026 |
| 1.21.0 | 305 | 9/12/2026 |
| 1.20.0 | 636 | 8/31/2026 |
| 1.19.0 | 503 | 8/22/2026 |
| 1.18.0 | 566 | 8/18/2026 |
| 1.17.0 | 483 | 8/5/2026 |
| 1.16.1 | 354 | 8/3/2026 |
| 1.16.0 | 974 | 7/30/2026 |
| 1.15.0 | 722 | 7/23/2026 |
| 1.14.0 | 2,280 | 7/21/2026 |
| 1.13.0 | 989 | 7/3/2026 |
| 1.12.0 | 550 | 7/1/2026 |
| 1.11.1 | 591 | 6/26/2026 |
| 1.11.0 | 623 | 6/23/2026 |
| 1.10.0 | 671 | 6/10/2026 |