Adk-go:用于构建、评估和部署AI智能体,代码优先的Go工具包。
Adk-go: code-first Go toolkit for building, evaluating, and deploying AI agents

原始链接: https://github.com/google/adk-go

## 代理开发工具包 (ADK) - Go 摘要 代理开发工具包 (ADK) 是一个功能强大的开源 Go 工具包,旨在构建和部署 AI 代理。它强调**代码优先的方法**,允许开发者直接在 Go 中定义代理逻辑,以实现最大的灵活性、可测试性和版本控制。 ADK 通过模块化框架简化了代理创建,能够开发简单的任务和复杂的**多代理系统**。虽然针对 Gemini 进行了优化,但它是**模型无关的**,并且适用于各种框架。 主要功能包括丰富的工具生态系统、惯用的 Go 设计以及易于部署到云原生环境,例如 Google Cloud Run。开发者可以利用预构建的工具,集成现有工具,或创建自定义函数来装备他们的代理。 使用 `go get google.golang.org/adk` 开始使用。 采用 Apache 2.0 许可(`internal/httprr` 除外)。

## Adk-go:用于AI代理的新型Go工具包 谷歌发布了“adk-go”,这是一个代码优先的Go工具包,用于构建、评估和部署AI代理,引发了Hacker News上的讨论。虽然它因概念简单——将代理视为具有可调用函数工具的对象——而受到赞扬,但许多评论员建议从直接的LLM API交互(如OpenAI的Responses API)开始,以理解基础知识。 该工具包提供诸如内置代码执行、会话管理和调试工具等功能。使用Go的一个关键论点在于其并发优势和强大的标准库,使其非常适合处理代理应用中常见的网络调用和并行处理。几位用户将Go与Python进行了有利的对比,并提到了Go的类型安全性和性能。 尽管其自述文件称其“Gemini优化”,但adk-go与模型无关。它被定位为比LangGraph等框架更具主见且更易于上手的替代方案,并且已被考虑用于代理开发课程以及与n8n等工具一起使用。
相关文章

原文

License Go Doc Nightly Check r/agentdevelopmentkit Ask DeepWiki

An open-source, code-first Go toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.

Agent Development Kit (ADK) is a flexible and modular framework that applies software development principles to AI agent creation. It is designed to simplify building, deploying, and orchestrating agent workflows, from simple tasks to complex systems. While optimized for Gemini, ADK is model-agnostic, deployment-agnostic, and compatible with other frameworks.

This Go version of ADK is ideal for developers building cloud-native agent applications, leveraging Go's strengths in concurrency and performance.


  • Idiomatic Go: Designed to feel natural and leverage the power of Go.
  • Rich Tool Ecosystem: Utilize pre-built tools, custom functions, or integrate existing tools to give agents diverse capabilities.
  • Code-First Development: Define agent logic, tools, and orchestration directly in Go for ultimate flexibility, testability, and versioning.
  • Modular Multi-Agent Systems: Design scalable applications by composing multiple specialized agents.
  • Deploy Anywhere: Easily containerize and deploy agents, with strong support for cloud-native environments like Google Cloud Run.

To add ADK Go to your project, run:

go get google.golang.org/adk

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

The exception is internal/httprr - see its LICENSE file.

联系我们 contact @ memedata.com