![]() |
VOOZH | about |
dotnet add package GoogleAdk --version 1.0.0-preview.22
NuGet\Install-Package GoogleAdk -Version 1.0.0-preview.22
<PackageReference Include="GoogleAdk" Version="1.0.0-preview.22" />
<PackageVersion Include="GoogleAdk" Version="1.0.0-preview.22" />Directory.Packages.props
<PackageReference Include="GoogleAdk" />Project file
paket add GoogleAdk --version 1.0.0-preview.22
#r "nuget: GoogleAdk, 1.0.0-preview.22"
#:package GoogleAdk@1.0.0-preview.22
#addin nuget:?package=GoogleAdk&version=1.0.0-preview.22&prereleaseInstall as a Cake Addin
#tool nuget:?package=GoogleAdk&version=1.0.0-preview.22&prereleaseInstall as a Cake Tool
<html> <h2 align="center"> <img src="docs/assets/agent-development-kit.png" width="256"/> </h2> <h3 align="center"> An open-source, code-first .NET toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control. </h3>
</html>
Agent Development Kit (ADK) is designed for developers seeking fine-grained control and flexibility when building advanced AI agents that are tightly integrated with services in Google Cloud. It allows you to define agent behavior, orchestration, and tool use directly in code, enabling robust debugging, versioning, and deployment anywhere – from your laptop to the cloud.
⚠️ EXPERIMENTAL - This project is in active development and the API will change. Builds are nightly and super frequent and may contain breaking changes. Use in production at your own risk.
GoogleAdk.Models.Gemini) and MEAI (GoogleAdk.Models.Meai) for providers like Ollama. .[FunctionTool] attribute. .SKILL.md, references/, assets/, scripts/) with SkillToolset and optional SkillLoader.LoadFromDirectory for disk-backed skills, aligned with the Python ADK pattern. .gemini-2.5-flash-preview-tts. .SequentialAgent, ParallelAgent, or LoopAgent with customizable LLM pipelines. .Install the preview package via NuGet:
dotnet add package GoogleAdk --prerelease
For building, evaluating, and deploying agents, follow the docs and samples:
SkillLoader, and wiring SkillToolset on an agentGoogleAdk.Samples.Skills, which loads a .skill/ folder next to the project and runs the agent in the console// Load env variables like GOOGLE_API_KEY
AdkEnv.Load();
var rootAgent = new LlmAgent(new()
{
Name = "weather_assistant",
Description = "An assistant that provides weather data.",
Model = "gemini-2.5-flash",
Instruction = "You are a helpful assistant. If the user asks about weather, use the GetWeatherData tool to provide the forecast.",
// GetWeatherDataTool is generated from GetWeatherData in the format ADK expects
Tools = [GetWeatherDataTool]
});
// Creates a webserver that can launch the ADK web UI and other endpoints
await AdkServer.RunAsync(rootAgent);
//await ConsoleRunner.RunAsync(rootAgent); for running in console or you can easily implement your custom runner
/// <summary>
/// Fetches the current weather data for a given location.
/// </summary>
/// <param name="location">The location to get the weather for (e.g., 'New York')</param>
/// <returns>A WeatherData object containing the location and forecast</returns>
[FunctionTool]
static WeatherData? GetWeatherData(string location)
{
return new WeatherData(location, "Sunny with a chance of rainbows");
}
public record WeatherData(string Location, string Forecast);
Same as the Python Development UI. A built-in development UI to help you test, evaluate, debug, and showcase your agent(s).
<img alt="Image" src="https://github.com/user-attachments/assets/1f8db230-b8f2-4b3c-85c8-54c32ea9e379" />
Use GoogleAdk.Evaluation and GoogleAdk.Optimization for eval sets, inference
runs, scoring, and prompt tuning. See
and sample
GoogleAdk.Samples.EvalOptimize.
Remote agent-to-agent communication uses the
A2A protocol. Client code lives under
src/GoogleAdk.Core/A2a; server wiring is in GoogleAdk.ApiServer (MapA2aApi).
End-to-end coverage is in tests/GoogleAdk.E2e.Tests. See .
To set up the project and build it from source, follow these steps:
Install dependencies:
dotnet restore "GoogleAdk/GoogleAdk.slnx"
Build the project:
dotnet build "GoogleAdk/GoogleAdk.slnx"
We welcome contributions from the community! Whether it's bug reports, feature requests, documentation improvements, or code contributions, please see our guidelines:
Google’s Agent Development Kit (ADK)—the reference product family (for example, the Python ADK), its documentation, and related Google materials—is a copyrighted product of Google LLC and/or its affiliates. Google retains applicable rights in that product and in the ADK and Google trademarks.
This repository is a .NET port: an open-source implementation aligned with ADK-style APIs and patterns. It is not described here as Google’s own first-party, directly Google-copyrighted release of ADK for .NET; copyright in this port belongs to its contributors, who license the code under the Apache License, Version 2.0. See for the full terms, including how upstream ADK, this port, and trademarks are distinguished.
Use, reproduction, and distribution of this repository are governed by the Apache License, Version 2.0; it does not transfer ownership of Google’s ADK, Google’s trademarks, or third-party materials to you. Third-party components may be subject to separate licenses as noted in the applicable files or notices.
If you contribute code, your contributions may be subject to the contributor license arrangements described in the contribution documentation. Nothing in this README is legal advice or a waiver of Google’s or any third party’s rights except as stated in and applicable licenses.
Happy Agent Building!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.22 | 70 | 5/23/2026 |
| 1.0.0-preview.21 | 75 | 4/27/2026 |
| 1.0.0-preview.20 | 70 | 4/26/2026 |
| 1.0.0-preview.19 | 61 | 4/24/2026 |
| 1.0.0-preview.18 | 62 | 4/22/2026 |
| 1.0.0-preview.17 | 64 | 4/21/2026 |
| 1.0.0-preview.16 | 79 | 4/12/2026 |
| 1.0.0-preview.15 | 66 | 4/7/2026 |
| 1.0.0-preview.14 | 64 | 4/7/2026 |
| 1.0.0-preview.13 | 69 | 4/5/2026 |
| 1.0.0-preview.12 | 70 | 4/5/2026 |
| 1.0.0-preview.11 | 83 | 4/5/2026 |
| 1.0.0-preview.10 | 68 | 4/4/2026 |
| 1.0.0-preview.9 | 72 | 4/4/2026 |
| 1.0.0-preview.8 | 64 | 4/4/2026 |
| 1.0.0-preview.7 | 62 | 4/4/2026 |
| 1.0.0-preview.6 | 73 | 4/4/2026 |
| 1.0.0-preview.5 | 60 | 4/4/2026 |
| 1.0.0-preview.4 | 73 | 4/3/2026 |
| 1.0.0-preview.3 | 65 | 4/3/2026 |