Commit Graph

24 Commits

Author SHA1 Message Date
dependabot[bot] 22bbad0203 chore(deps): bump the go_modules group across 2 directories with 1 update (#2005)
Bumps the go_modules group with 1 update in the /examples/go directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go).
Bumps the go_modules group with 1 update in the /tools/feature-matrix directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go).


Updates `google.golang.org/grpc` from 1.81.1 to 1.82.1
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.81.1...v1.82.1)

Updates `google.golang.org/grpc` from 1.79.3 to 1.82.1
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.81.1...v1.82.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.82.1
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: google.golang.org/grpc
  dependency-version: 1.82.1
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-27 10:40:48 -05:00
dependabot[bot] 944dd43b53 chore(deps): bump the go_modules group across 2 directories with 1 update (#1948)
Bumps the go_modules group with 1 update in the /examples/go directory: [golang.org/x/crypto](https://github.com/golang/crypto).
Bumps the go_modules group with 1 update in the /tools/feature-matrix directory: [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `golang.org/x/crypto` from 0.51.0 to 0.52.0
- [Commits](https://github.com/golang/crypto/compare/v0.51.0...v0.52.0)

Updates `golang.org/x/crypto` from 0.51.0 to 0.52.0
- [Commits](https://github.com/golang/crypto/compare/v0.51.0...v0.52.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.52.0
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: golang.org/x/crypto
  dependency-version: 0.52.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-07-10 16:22:32 -05:00
rishipradeep-think41 452c15f418 Fix Go multi-tool tutorial snippet to include two tools (#1577)
* Fix Go multi-tool tutorial snippet to include two tools

* Update model string in multi-tool snippets to gemini-flash-latest in Python, TS, Java

---------

Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-07-08 14:19:01 -05:00
Atefeh Rajabi a52a2d48a2 docs(workflows): clarify delegation tool naming and task completion behavior in collaboration examples (#1935)
Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-07-07 19:37:32 -05:00
Mikalai Senkevich 5cfa3c7104 refactor: migrate Go ADK imports to v2 (#1930) 2026-07-06 12:37:49 -05:00
Kristopher Overholt 10176bf96e Clean up ADK Go 2.0.0 quickstart and snippet docs (#1910)
* Format localhost URLs as inline code in quickstarts

* Correct module paths and stale notes in snippet comments

* Reword "and later" to "and higher" in snippet notes
2026-06-30 11:48:49 -05:00
Kristopher Overholt dbac494347 Fix jsonschema tags in ADK Go 2.0.0 graph snippets (#1909) 2026-06-30 11:45:37 -05:00
Kristopher Overholt 4922c8ea57 Pin adk/v2 to v2.0.0 release tag (#1908)
Co-authored-by: Toni Klopfenstein <2359976+ToniCorinne@users.noreply.github.com>
2026-06-30 10:55:08 -05:00
Toni Klopfenstein e9174a1efe Add ADK Go v2.0.0 documentation and graph workflow examples (#1870)
* adding go getting started to 2.0 docs

* updating graphs docs for go; adding in workflow example go snippets

* Updating HiTL docs for Go 2.0

* updating Go getting started guide for v2

* Updating Routes docs for Go v2

* Updating data handling docs for Go 2.0

* Updating dynamic workflows docs for Go 2.0

* fix(docs): set ADK Go 2.0 GA date on the 2.0 landing page


* fix(docs): standardize ADK Go 2.0 install/import on /v2 @ v2.0.0

* updating announcement banner

* routes snippets updates

* 2.0 install instructions clean-up

* updating collaboration docs for go v2 + new example snippet

---------

Co-authored-by: Karol Piotrowicz <kpiotrowicz@google.com>
2026-06-30 09:27:36 -06:00
dependabot[bot] e7bc6f1b64 chore(deps): bump the go_modules group across 2 directories with 2 updates (#1806)
Bumps the go_modules group with 1 update in the /examples/go directory: [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go).
Bumps the go_modules group with 1 update in the /tools/feature-matrix directory: [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go).


Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` from 1.39.0 to 1.43.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.39.0...v1.43.0)

Updates `go.opentelemetry.io/otel` from 1.39.0 to 1.41.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.39.0...v1.41.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
  dependency-version: 1.43.0
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: go.opentelemetry.io/otel
  dependency-version: 1.41.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-01 11:32:38 -05:00
Karol Droste 2e247ed240 Changes for go deployment on agent engine. (#1681)
* Added golang support for agent engine

* Updated test

* Updated go.mod and go.sum in examples.

* Minor fixes

* Deployment payload fix
2026-06-01 10:57:53 +02:00
dependabot[bot] cac85aa9b1 chore(deps): bump the go_modules group across 2 directories with 2 updates (#1582)
Bumps the go_modules group with 2 updates in the /examples/go directory: [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) and [google.golang.org/grpc](https://github.com/grpc/grpc-go).
Bumps the go_modules group with 1 update in the /tools/feature-matrix directory: [google.golang.org/grpc](https://github.com/grpc/grpc-go).


Updates `go.opentelemetry.io/otel/sdk` from 1.38.0 to 1.43.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.38.0...v1.43.0)

Updates `google.golang.org/grpc` from 1.76.0 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.79.3)

Updates `google.golang.org/grpc` from 1.75.1 to 1.79.3
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.76.0...v1.79.3)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.43.0
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: google.golang.org/grpc
  dependency-version: 1.79.3
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: google.golang.org/grpc
  dependency-version: 1.79.3
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-05-08 17:14:26 -05:00
Anastasia 0cd4f6a538 Add ambient agents documentation for Golang (#1649)
* Add ambient agents documentation for Golang

* Minor edits

---------

Co-authored-by: Kristopher Overholt <koverholt@google.com>
Co-authored-by: Karol Piotrowicz <karol.piotrowicz@gmail.com>
2026-04-24 14:34:39 +02:00
Toni Klopfenstein fac3375a2d Updates to getting started guides for Go (#1495)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2026-03-29 06:27:03 -06:00
Toni Klopfenstein dd9bc3adf7 Update memory docs with Go snippets (#1493)
* updating memeory docs for new adk-go functionality

* fixing code snippets alignment on memory docs

* fix Go notes on memory docs

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2026-03-29 06:24:07 -06:00
Joe Fernandez 23b740df3b Models for Agents page reorg (#1128)
* fix(deploy): simplifying Agent Engine deployment

* revise and update ae deploy doc structure

* respond to review comments

* docs: break up Models page into multiple pages

- Create page per model and access method
- Push Models topic up to top level TOC entry

* updates based on review feedback

* fix broken links due to page move

* consistency updates and review input updates

* update gemini-2.0-flash to 2.5

* respond to review comments

* docs: update Python API docs to 1.22.0 (#1129)

* build(deps): bump golang.org/x/crypto (#987)

Bumps the go_modules group with 1 update in the /tools/feature-matrix directory: [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `golang.org/x/crypto` from 0.42.0 to 0.45.0
- [Commits](https://github.com/golang/crypto/compare/v0.42.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sita Lakshmi Sangameswaran <sitalakshmi@google.com>

* Update model version from gemini-2.0 to gemini-2.5, since gemini-2.0-flash will be deprecated on Feb 5,2026. (#1132)

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>

* Changes model MODEL_2_0_FLASH to MODEL_2_5_FLASH as gemini-2.0 is deprecating (#1131)

* Update model constants to use GEMINI 2.5

* Corrected model name

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>

* Add Agent Runtime pages for Web Interface and Command Line; reorganize existing Agent Runtime pages (#1130)

* Add pages for adk web, adk run, reorganize runtime pages

* Minor edit

* Updates based on review

* docs: break up Models page into multiple pages

- Create page per model and access method
- Push Models topic up to top level TOC entry

* minor update

* add placeholder file

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Polong Lin <polong-lin@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sita Lakshmi Sangameswaran <sitalakshmi@google.com>
Co-authored-by: llalitkumarrr <llalitkumarrr@google.com>
Co-authored-by: Dinesh Thumma <160909147+DineshThumma9@users.noreply.github.com>
Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-01-13 15:03:29 -08:00
Ivan Cheung 4f74c1c091 PR and Regression testing for Go snippets (#973)
* Added pr checks and regression test code

* Added github workflows and go.mod/go.sum

* Added comments to files_to_test.txt

* Moved check_go_snippets.sh

* Fixed issues with workflows

* Removed unneeded workflow

* Revert bad change

* Added runner tests

* Added README

* refactor(go-snippets): Unify Go module structure and dynamically update ADK dependency

Consolidate all Go snippet module dependencies to a single  file located at . This simplifies dependency management and ensures consistent versions across all Go examples.

Update Usage: tools/go-snippets/runner.sh <build|run> [file1 file2 ...] to dynamically fetch the latest  module () before running any builds or tests. This ensures that PR and regression checks always validate against the most recent ADK release, preventing outdated dependency issues.

Address breaking changes in  by removing the  initialization from , which is no longer available.

Cleaned up extraneous  and  files from subdirectories within , as well as the unused  file.

* feat(go-snippets): Reinforce strict `files_to_test.txt` adherence

Reverts previous attempts to infer Go snippet dependencies and clarifies the strict testing model.

- **`runner.sh`**: Restores `find_snippet_line` to rely on exact substring matching of changed files within `files_to_test.txt` lines. Adds `go get` exit code check.
- **`tools/go-snippets/README.md`**: Adds "Understanding the Test Runner" section detailing `files_to_test.txt` adherence, multi-file `package main` requirements, and `_test.go` file handling.
- **`runner_test.sh`**: Adds `test_find_snippet_line_multi_file_match` to verify correct behavior for multi-file snippets listed on a single line.

---------

Co-authored-by: ivanmkc <ivanmkc@google.com>
2025-12-03 14:32:21 -05:00
Dmitry Pasiukevich d506137bf2 Update adk-go docs with launcher changes (#967) 2025-11-21 21:05:04 +00:00
Jaana Dogan 93aff1731f Fix the broken Go builds (#948) 2025-11-13 20:23:58 -08:00
Ivan Cheung d546f4a336 Changed prompt to roll and prime (#915)
* Changed prompt to roll and prime

* Fixed README url

---------

Co-authored-by: ivanmkc <ivanmkc@google.com>
2025-11-07 16:55:09 +00:00
Polong Lin 67b7c1579d fix(docs): update wording from agent-to-agent to Agent2Agent (#916) 2025-11-07 08:46:43 -08:00
Ivan Cheung 74ac303a69 Added nil check for loop agent (#908)
Co-authored-by: ivanmkc <ivanmkc@google.com>
2025-11-07 15:49:12 +00:00
Ivan Cheung 555deedd46 Add missing licenses (#887)
Co-authored-by: ivanmkc <ivanmkc@google.com>
2025-11-06 14:42:20 -05:00
Ivan Cheung 8834593806 [ADK Go] Merging all Go docs from the private repo (#885)
* docs: Add Go language quickstart

* updates based on review comments

* fix tab stops

* update based on review comments

* sync with main

* update to tested version

* Added google_search snippet

* Fix: Address Go style guide issues in google_search.go

* Migrated to new API

* Fixed tool info in md file

* Added partial check

* Added function-tools sample

* Migrated to new API

* Added partial check

* Ran linter

* feat: add go fmt check

* Run go fmt only on changed files

* Added google_search snippet

* Fix: Address Go style guide issues in google_search.go

* Migrated to new API

* Added partial check

* Added function-tools sample

* Migrated to new API

* Added partial check

* Ran linter

* feat: add go fmt check

* Run go fmt only on changed files

* Feat: Add Golang example for LLM agents

* Added schema agent

* Added session support

* Migrated to new API

* Added back OutputKey

* Added missing snippets

* Moved snipped to its own package

* Minor cleanup

* Reverted llm-agents.md

* Added back correct changes to llm-agents.md

* Updated to newest API

* Ran linter

* WIP

* WIP: Added the rest of the agents

* Added sequential agent

* Migrated agents to new API

* Fixed snippet tags

* Updated parallel and sequential with OutputKey

* Updated loop agent

* Cleanup

* Fixed and ran linter

* Removed comment

* Ran linter

* Added custom agent snippets

* Migrated to new API

* Fixed incorrect info about channels since run returns an Iterator, not Channel

* Cleanup and renaming

* Ran linter

* Fixed md

* Added multi-agent docs

* Updated to use AgentTool

* Split snippets

* Added missing file

* Ran linter and fixed API

* Added Models snippets

* Migrated to new API

* Embedded imports

* Ran linter

* Added long running tool

* Ran linter and fixed API

* Switched to two-turn style

* Ran linter

* Added callback snippets

* Added back imports

* Added types of callbacks snippets

* feat(go): align callback snippets with other languages

* Ran linter and updated API

* Added tool callbacks

* Added artifact snippets

* Use story.pdf instead of random bytes

* Fixed issue with artifact loading

* Cleanup unneeded fixes

* Added back inadvertently removed GCS section

* Addressed PR comments

* Ran linter

* feat: Added context snippets

* Fixed callback signature

* Fixed additional callbacks

* Added remaining snippets

* Added conceptual runner example

* Removed duplicate code

* Clean up tags and imports

* Updated API

* Twaked text

* Ran linter

* Fixed broken API issues

* Updated to latest Go ADK API

* Added func param info

* Interleaved Py and Go

* Revert mistakes

* Removed extra newline

* Added example cloud run code and update md with Go (#41)

* Added example cloud run code and update md with Go

* Added a2a_agent_url and fixed future tense

* Moved Go before Java

---------

Co-authored-by: ivanmkc <ivanmkc@google.com>

* adding go snippets to runconfig docs

* realigning runconfig go examples with current state of adk-go.

* adding language support tags to individual runtime config fields

* removing unsupported supportcfc go examples

* removing unsupported streamingmode.bidi go snippets

* Added AgentTool examples (#31)

* Added AgentTool example

* Ran formatter

---------

Co-authored-by: ivanmkc <ivanmkc@google.com>

* adding initial go sessions.sessions snippets

* updating go session docs + session examples

* update go session snippets

* updating DatabaseSessionService language support tag

* cleaning up go vertex ai comments

* removing go.mod for session_management_example

* docs: add language support tags for Go

* initial go runtime sample updates

* fixing runtime go snippet formatting

* formatting updates to runtime go snippets

* updating runtime go examples to streamline to newer go features

* adding go snippets for events

* updating go snippets for events

* adding artifactdelta snippet for go

* minor java fixes, cleaning up go event.content

* Custom tools: Merging again  (#44)

* Added missing custom-tools snippets

* Split user_preference runner code

* Split more files

* Tweaks

* Split session into 1 and 2 and added artifact saving

* Fixed conflict

---------

Co-authored-by: ivanmkc <ivanmkc@google.com>

* Fixed tab issue with cloud-run md (#45)

Co-authored-by: ivanmkc <ivanmkc@google.com>

* adding initial go snippets for memory services

* updating go memory sample, adding python formatting in docs to clarify current support.

* removing go replace for memory example

* removing go.sum from memory_example

* fixing go formatting for memory example

* fixing go memory snippets to streamline examples in docs

* removing unnecessary go.mod for memory_example.go and snippet cleanup

* adding go session state snippets."

* adding additional go state examples for state injection

* fixing go formatting

* fixing language ordering on session/state.md; removing unnecessary go.mod files

* reworking error functions in go session state samples

* fixing go formatting on session state samples

* initial go snippets for safety tools

* fixing go snippet formatting in safety/index.md

* temp storing safety example

* cleaning up go snippets in safety docs; deferring safety go full example

* cleaning up go safety snippets

* Added link to Go API docs (#47)

Co-authored-by: ivanmkc <ivanmkc@google.com>

* Added a2a_basic sample (#46)

* Added a2a_basic sample

* Removed dummy LLMs

* Added md

Fix inaccuracies in md

Ran formatter

* Cleaned up index

---------

Co-authored-by: ivanmkc <ivanmkc@google.com>

* Reverted to proper ToC and added missing links (#48)

Co-authored-by: ivanmkc <ivanmkc@google.com>

* Added missing get-started/go.md (#50)

Co-authored-by: ivanmkc <ivanmkc@google.com>

* Added missing JSON tags for Go structs (#51)

* Added json tags

* Added jsonschema and json tags

---------

Co-authored-by: ivanmkc <ivanmkc@google.com>

* Renamed Golang to Go (#52)

Co-authored-by: ivanmkc <ivanmkc@google.com>

---------

Co-authored-by: Joe Fernandez <joefernandez@google.com>
Co-authored-by: ivanmkc <ivanmkc@google.com>
Co-authored-by: Toni Klopfenstein <tklopfenstein@google.com>
2025-11-06 14:13:13 -05:00