Tavily 1.0.1

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

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 (1)

Showing the top 1 NuGet packages that depend on Tavily:

Package Downloads
Meridian.Tandem.Advanced

Advanced authoring policies and custom operation contracts for Tandem pipelines.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2-dev.53 38 10/8/2026
1.0.2-dev.52 58 9/29/2026
1.0.2-dev.51 60 9/28/2026
1.0.2-dev.50 70 9/28/2026
1.0.2-dev.49 66 9/25/2026
1.0.2-dev.48 69 9/22/2026
1.0.2-dev.47 65 9/22/2026
1.0.2-dev.46 74 9/21/2026
1.0.2-dev.45 73 9/15/2026
1.0.2-dev.44 66 9/10/2026
1.0.2-dev.43 79 9/9/2026
1.0.2-dev.42 71 9/8/2026
1.0.2-dev.41 84 9/8/2026
1.0.2-dev.40 81 9/3/2026
1.0.2-dev.39 84 9/2/2026
1.0.2-dev.38 139 9/2/2026
1.0.2-dev.11 117 6/16/2026
1.0.2-dev.5 85 5/21/2026
1.0.2-dev.3 87 5/7/2026
1.0.1 4,807 4/30/2026
Loading failed