Tavily 1.0.1-dev.94

This is a prerelease version of Tavily.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Tavily --version 1.0.1-dev.94
                    
NuGet\Install-Package Tavily -Version 1.0.1-dev.94
                    
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="Tavily" Version="1.0.1-dev.94" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tavily" Version="1.0.1-dev.94" />
                    
Directory.Packages.props
<PackageReference Include="Tavily" />
                    
Project file
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 Tavily --version 1.0.1-dev.94
                    
#r "nuget: Tavily, 1.0.1-dev.94"
                    
#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 Tavily@1.0.1-dev.94
                    
#: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=Tavily&version=1.0.1-dev.94&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Tavily&version=1.0.1-dev.94&prerelease
                    
Install as a Cake Tool

Tavily

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on the official Tavily OpenAPI specification using AutoSDK
  • Same day update to support new features
  • Updated and supported automatically if there are no breaking changes
  • All modern .NET features - nullability, trimming, NativeAOT, etc.
  • Support .Net Framework/.Net Standard 2.0
  • Microsoft.Extensions.AI AIFunction tool wrappers for search and extract

Usage

using Tavily;

var apiKey =
    Environment.GetEnvironmentVariable("TAVILY_API_KEY") ??
    throw new InvalidOperationException("TAVILY_API_KEY environment variable is not found.");

using var client = new TavilyClient(apiKey);

Response searchResponse = await client.CreateSearchAsync(
    query: "Who is Leo Messi?");

foreach (var result in searchResponse.Results)
{
    Console.WriteLine($"Title: {result.Title}");
    Console.WriteLine($"Content: {result.Content}");
    Console.WriteLine($"Score: {result.Score}");
    Console.WriteLine($"Url: {result.Url}");
    Console.WriteLine();
}

Microsoft.Extensions.AI

The SDK provides AIFunction wrappers for use with any IChatClient:

using Tavily;
using Microsoft.Extensions.AI;

using var tavilyClient = new TavilyClient(tavilyApiKey);

// Create AI tools for search and extract
AIFunction searchTool = tavilyClient.AsSearchTool();
AIFunction extractTool = tavilyClient.AsExtractTool();

// Use with any IChatClient (OpenAI, Anthropic, Ollama, etc.)
var response = await chatClient.GetResponseAsync(
    [new ChatMessage(ChatRole.User, "Search for the latest .NET 10 features")],
    new ChatOptions { Tools = [searchTool] });

Support

Priority place for bugs: https://github.com/tryAGI/Tavily/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Tavily/discussions
Discord: https://discord.gg/Ca2xhfBf3v

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

CodeRabbit logo

This project is supported by CodeRabbit through the Open Source Support Program.

Product 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.

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
1.0.2-dev.5 46 5/21/2026
1.0.2-dev.3 48 5/7/2026
1.0.1 964 4/30/2026
1.0.1-dev.131 71 4/1/2026
1.0.1-dev.128 62 3/29/2026
1.0.1-dev.125 88 3/28/2026
1.0.1-dev.124 126 3/28/2026
1.0.1-dev.123 144 3/28/2026
1.0.1-dev.118 64 3/27/2026
1.0.1-dev.116 63 3/27/2026
1.0.1-dev.110 60 3/21/2026
1.0.1-dev.106 55 3/20/2026
1.0.1-dev.104 61 3/20/2026
1.0.1-dev.102 56 3/19/2026
1.0.1-dev.101 60 3/19/2026
1.0.1-dev.100 53 3/19/2026
1.0.1-dev.99 58 3/19/2026
1.0.1-dev.95 55 3/19/2026
1.0.1-dev.94 55 3/19/2026
1.0.1-dev.93 53 3/19/2026
Loading failed