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工具包,引发了Hacker News上的讨论。用户普遍认为该工具包具有潜在的便利性,特别是对于已经使用Google Cloud的用户而言,但一个关键的收获是理解代理的基本构建模块的重要性。 许多评论者建议在利用更高级的框架*之前*,先直接与LLM API(如OpenAI的Responses API)进行交互。这种“向下编码一层”的方法有助于开发者掌握LLM调用和工具利用的核心循环。 讨论还涉及了LLM交互之外的复杂性,例如管理上下文、安全性和数据连接——这些领域可能不太适合自托管。一些用户正在将adk-go与现有的工具(如n8n和OpenAI Swarms)进行评估,并注意到缺少原生的TypeScript支持。
相关文章

原文

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