Commit Graph

53 Commits

Author SHA1 Message Date
Joe Fernandez fea383b916 Consolidate Google Cloud and Agent Platform connection info (#1819)
* wip: temporary staging

* Consolidate Google Cloud and Agent Platform connection info

* remove gcp-mentions file

* adding links to central GCP connection page

* minor updates

* responded to review comments
2026-06-26 15:07:00 -07:00
adk-bot ed196d5d50 Update ADK doc according to issue #1292 - 9 - DatabaseSessionService Concurrency and Locking (#1305)
* docs: Document concurrency and locking in DatabaseSessionService

* Concurrencyandlocking.md

instead of a note, created a subsection

* Concurrencyandlocking.md

---------

Co-authored-by: Zyan <zyanya@google.com>
2026-06-09 14:31:28 -06:00
Joe Fernandez 9db36de698 Simplify Session, State and Memory page title (#1814)
"Introduction to" is not appropriate or necessary for the title. Removing it to improve readability and brevity.
2026-06-08 20:18:26 +00:00
Toni Klopfenstein fb8b98e76b Adding multi-memory example to the sessions memory docs (#1790)
* Adding multi-memory example to the sessions memory docs

* Linting with ktlint

* Fix region marker

* Add license header

---------

Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-05-21 13:26:31 -05:00
Kristopher Overholt 1c93532ca6 Fix broken external links to adk-python contributing/samples and other internal links (#1773)
* Add link to ignore

* Update links to code samples

* Fix links related to graphs and workflows

* Fix more sample links
2026-05-19 13:53:51 -07:00
Kristopher Overholt 50f7df7f46 Add Kotlin language support to ADK docs (#1768)
* Add Kotlin to hero / front page

* Add quickstart page for Kotlin

* Complete Kotlin quickstart guide and fix hero code sample (#2)

* Replace GitHub repo links with language icons in header (#3)

* Fix header icon FOUC and homepage font weight regression (#4)

* Testing staging pipeline

* Revert test edit (for staging pipeline)

* Update language icon tooltips to indicate GitHub destination (#5)

* Add link to ADK Kotlin release notes (#7)

* Initial commit of ADK Kotlin API reference docs (#6)

* Add script to generate ADK Kotlin API reference docs (#8)

* Update links and link checker ignore list (temporarily) (#9)

* Add ADK Kotlin for Android getting started guide to Advanced setup page (#10)

* Add advanced setup page with steps to "Use ADK Kotlin in Android projects"

* Update temp link checker rules

* Add placeholder folder for adk-samples (#13)

* adding linter/compilation checks for kotlin snippets (#12)

* adding linter/compilation checks for kotlin snippets

* Add Kotlin validation scripts

* Initial commit of Kotlin sample agents for adk-samples (#15)

* Adding kotlin snippet for llm agents (#16)

* Adding kotlin snippets to  Events (#17)

* Pull changes to docs/events/index.md from glaforge-kotlin-snippets

* fixing kotlin event timestamp and longRunningToolIds

* Fix language tags (#19)

* Fix language tags

* Update

* Fix wrapping

* Fix wrapping (again)

* Fix wrapping/format

* Fix language tag on integration page

* Enable check_paths in PyMdown Snippets Extension to make the build fail if a snippet can't be found (#20)

* Update mkdocs config (#21)

* Fix broken links, update URLs to adk.dev, and improve (temp) lychee config (#22)

* Add Kotlin/maven badge to README (#23)

* Adding Kotlin snippets for artifacts  (#18)

* Pull Kotlin snippets for artifacts from glaforge-kotlin-snippets

* Add comprehensive Kotlin snippets for artifacts

* Refactor artifacts documentation to use external Kotlin snippets

* Update Kotlin model to gemini-flash-latest

* Fix GCS initialization in Kotlin artifact snippet

* afixi failing test with capital-agent added to files_to_check

* Fix snippet label syntax for MkDocs build

* Configure proper Gradle project for Kotlin snippets and fix dependencies

* Add KSP support and generated sources to Kotlin snippets build

* fixing capital_agent turnComplete

* Fix syntax error in build.gradle.kts by removing invalid placeholders (#25)

* Adding Kotlin snippets to google-gemini.md (#27)

Pulling kotlin changes to google-gemini.md from glaforge-kotlin-snippets

* Add a warning about not adding an api key to production code. (#28)

* Add a warning about not adding an api key to production code.

* Update note

---------

Co-authored-by: Kristopher Overholt <koverholt@google.com>

* Add ADK Demo App sample showcasing Gemini-powered agents (#29)

This sample demonstrates how to use the Google ADK (Agent Development Kit) in an Android application to create a chat interface powered by a Gemini-based "Fun Facts" agent. The implementation features:
*   Integration with the Kotlin ADK core and processor libraries.
*   A `FunFactsAgent` defined using `LlmAgent` and the Gemini model.
*   A `ChatViewModel` utilizing `InMemoryRunner` for asynchronous message streaming.
*   A modern UI built with Jetpack Compose and Material 3.
*   Build configuration logic for secure API key management via environment variables or `local.properties`.

* Update Kotlin docs and samples to align with adk-kotlin API changes (#30)

Rename GeminiModel to Gemini, @AdkTool/@AdkParam to @Tool/@Param,
adkTools() to generatedTools(), replace DebugRunner with InMemoryRunner,
fix AgentLoader import path, use SingleAgentLoader, bump Kotlin to
2.3.21 and KSP to 2.3.7, and update Android minSdk from 24 to 26.

* adding kotlin info to READMEs (#14)

* Reorganize Android sample agent and add READMEs (#31)

* Move Android sample agent

* Update repo README, add Android README, update sample agent README

* Minor edit to language support tags (#32)

* Remove blog post link (#33)

Will re-add after it's published

* Remove examples link (#34)

* Adding Kotlin snippets for Sessions docs (#26)

* initial kotlins snippets additions to sessions docs

* Updating memory docs with kotlin snippets

* Adding kotlin snippets to session state docs.

* update model to gemini-flash-latest

* sessions examples clean-up

* fixing sessions snippet markers

* adding kotlin session snippets to files to test

* adding callback to memory_example

* Fixing capital agent snippet  (#35)

Fixing file name
Updating adkTool > Tool
Updating GeminiModel > Gemini

* Adding kotlin snippets for tools docs (#36)

* adding function tool kotlin snippets

* adding function_tools snippets to files to test

* Adding kotlin snippets to observability docs (#37)

* initial kotlin observability updates

* adding observability snippets to file check (#38)

* Adding Kotlin snippets to Callbacks docs (#39)

*  kotlin callbacks snippets

* adding callbacks snippets to file check

* Align Kotlin and KSP versions with published 0.1.0 artifacts (#40)

* switch CLI entry points from InMemoryRunner to ReplRunner (#41)

* Switch CLI entry points from InMemoryRunner to ReplRunner

* Fix wording

* Update API reference docs for Kotlin, 2026-05-18 (#42)

* Remove ADK on Android note until published (#43)

* Update Kotlin code samples (#44)

* Rename GeminiModel to Gemini in Kotlin snippets and docs

* Remove broken SessionKey call and use sessionId directly in AgentTool snippet

* Rewrite Go hero snippet to use llmagent API

* Use isFinalResponse with safe access in CapitalAgent snippet

* Use Role.USER constant instead of raw string in SetupExample

* Use full semver v0.1.0 in Kotlin language support tags

* Remove Android setup steps, moving to new property (#45)

* Tutorial Kotlin agent (#46)

* Adding multi-tool-agent snippet and updating tutorial
* Fixing Go language order on tutorial page
* adding multi tool agent example to files to test

* Inline Kotlin get-started code sample

* Kotlin Multi agents snippets (#47)

* Multi-agent kotlin snippets

* Fixing docs tags in multiagent example

* Fix Kotlin language support tags, code samples, and google-gemini.md cleanup (#48)

* Add Kotlin v0.1.0 to language support tags across docs

* Fix MultiToolAgent.kt model string and argument style

* Update MultiAgentExample.kt to use gemini-flash-latest model string

* Fix google-gemini.md: add Kotlin sample, remove unsupported Java tabs

* Remove explicit apiKey from CallbackBasic.kt for consistency

* Standardize Gemini() constructor to use named args in all snippets

* Remove adk-samples directory (moved to google/adk-samples#1969)

* Remove adk-samples directory (moved to google/adk-samples#1969) (#49)

* Update API reference docs for ADK Kotlin 0.1.0 (#50)

* Remove adk-samples directory (moved to google/adk-samples#1969)

* Update API reference docs for ADK Kotlin 0.1.0

* Remove kotlin lycheeignore config (#51)

* Remove adk-samples directory (moved to google/adk-samples#1969)

* Remove Kotlin .lycheeignore config links

---------

Co-authored-by: Toni Klopfenstein <2359976+ToniCorinne@users.noreply.github.com>
Co-authored-by: Jolanda Verhoef <JolandaVerhoef@users.noreply.github.com>
2026-05-19 11:43:42 -05:00
Kristopher Overholt e5d509d0ea Update more product names (Agent Runtime, Knowledge Engine, Agent Retrieval) (#1701)
* Rename RAG Engine to Knowledge Engine across docs

* Fix remaining Agent Engine / Reasoning Engine product names

* Rename Vector Search 2.0 to Agent Retrieval in grounding docs
2026-04-28 16:26:45 -05:00
George Weale 78dbb440e0 docs(memory): refresh against current adk-python APIs (#1700)
* docs(memory): refresh against current adk-python APIs

The memory page has drifted from the implementation. The MultiMemoryAgent
example raises ValueError on construction (assigning to a Pydantic model
with extra="forbid"), the auto-save callback reaches into the private
_invocation_context attribute when public Context.add_session_to_memory()
exists, and the API surface description is missing add_events_to_memory,
add_memory, and the third memory service (VertexAiRagMemoryService).

* Update product names

---------

Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-04-28 13:40:25 -05:00
Kristopher Overholt 1214ad915a Update product names in docs (#1673)
* Update names in docs

* Update names in docs

* Code formatting

* Format notebooks

* Update names in docs

* Update names in docs

* Update names in code samples

* Update names in docs

* Update names in docs

* Update names in docs

* Update names in docs

* Update names in docs

* Update names in docs

* Update names in docs

* Update names in docs

* Update icon

* Update names in docs

* Update names in docs
2026-04-22 05:10:38 -07:00
Kristopher Overholt fb0c030110 Switch link checkers (#1646)
* Switch link checker CI job

* Update

* Updates

* Update config

* Switch images to MD image syntax

* Update timeout settings

* Fix tools links

* Update links

* Update index files in config

* Fix more links

* Fix link; add ignores

* Fix more links

* Fix more links
2026-04-17 13:05:08 -07:00
izualzhy 44aa1f3076 fix: avoid assigning result of delete_session which returns None (#1627)
The delete_session method does not return the session service instance, but None instead. Assigning its result back to temp_service leads to unexpected behavior where temp_service becomes None.

This change removes the incorrect assignment and calls delete_session without reassigning, ensuring temp_service remains a valid service instance.

This aligns with the intended usage of delete_session as a side-effect-only method.

Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-04-13 10:16:25 -05:00
Joe Fernandez f7ed80bbc6 docs: Update Gemini flash names (#1594)
* docs: home page

* updates based on feedback

* respond to review feedback

* docs: update gemini selector strings to "flash-latest"

* Update homepage.css
2026-04-09 16:14:27 -05:00
Toni Klopfenstein 3e60a094fc Adding JS memory snippets (#1580)
* adding initial JS snippets to memory docs

* updating js example to separate script for testing

* updating memory snippet for typescript

* removing unnecessary .js file, fixing code rendering in docs

* removing unused imports

---------

Co-authored-by: Kristopher Overholt <koverholt@google.com>
2026-04-08 13:42:56 -05:00
Kristopher Overholt fe0b30a822 Fix "LLM innovation" typo in session lifecycle diagram (#1564) 2026-04-06 22:19:17 +00:00
Kristopher Overholt 58f3aaebca Replace documentation URLs and paths for adk.dev migration (#1536)
* Replace google.github.io/adk-docs URLs and /adk-docs/ paths with adk.dev

Migrate all hardcoded documentation references to use the new custom
domain. Update root-relative links to remove the /adk-docs/ subpath
prefix since the site will be served from the root of adk.dev.

* Additional fixes
2026-04-01 12:48:27 -05: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
Shahin Saadati ca9d1ec6b1 Added the missing java code snippets. (#1417) 2026-03-13 18:32:37 +00:00
Shahin Saadati c9b0533a16 Implemented the missing java snippets in memory.md (#1395) 2026-03-06 22:28:55 +00:00
Scott Mansfield 20569ed52e Update typescript context (#1393)
* Update snippets to new Context type

* Updating documentation to reflect the unified Context type in Typescript

* Incorporating review feedback

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2026-03-06 14:27:19 -08:00
George Weale c528cc579f Update session docs (#1340)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2026-02-25 13:10:24 -08:00
adk-bot c3b035479c Update ADK doc according to issue #1113 - 2 - database schema migration for DatabaseSessionService (#1119)
* Update ADK doc for DatabaseSessionService migration

* refactor agent draft: use CLI script

* linked SessionDatabase docs to migration guide

- formatting updates to existing content

* respond to review feedback

* review updates

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
Co-authored-by: Joe Fernandez <joefernandez@google.com>
2026-01-22 13:15:59 -08:00
Joe Fernandez dca9fdcf9f docs: (reorg) moving page for Vertex AI express mode (#1144)
* docs: (reorg) moving Vertex AI express mode

- express mode supports sessions and memory
- it ALSO supports other features, so moving it

* respond to review comments, clean up language
2026-01-16 09:04:37 -08:00
Isaac Alejandro Blanco f61ca141bb Specify the async driver for SQLite examples for the DatabaseSessionService (#1077)
* add: change the sqlite url to be async

* add: explanation of why the use of this

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-12-18 08:20:17 -08:00
Shahin Saadati fd7c7a3dca feat: Merge all the typescript code samples and snippets into the main repo. (#1063)
* Deleted redundant files.

* Deleted redundant files.

* Deleted redundant files.

* Deleted redundant files.

* Deleted redundant files.

* Deleted redundant files.

* Delete .gitignore

Deleted redundant files.

* Delete .gitignore

Deleted redundant files.

* Delete .gitignore

* Delete .gitignore

* Delete .gitignore

* Revert changes to .gitignore

* Revert changes to .gitignore

* Revert changes to .gitignore

* Revert changes to .gitignore

* Revert changes to .gitignore

* Revert changes to .gitignore

* Add MCP Tools TS example

* Removed unnecessary changes

* Removed extra slashes

* Added the custom agent sample.

* Corrected an error in the package.json file.

* Updated custom-agent.md

* Made small fixes.

* Add Session TS examples

* Added the typescript code snippets for multi agent.

* added the code sample for loop agent

* Added the code sample for loop agent

* Added the code sample for parallel agent

* Fixed a few issues and bugs

* Added the code sample for sequential agent

* Renamed run back to runAsync

* Updated the capital agent code sample.

* Corrected the snippet

* Renamed run() to runAsync()

* Add Runtime TS examples

* Fixed the snippets after library updates.

* Fixed the sample code after library changes.

* Added final touchups and fixes.

* Updated the code based on recent library changes.

* Updated package.json

* Updated package.json

* Updated package.json

* Updated the code with runAsync and package.json

* Updated the typescript sample.

* Updated after_tool_callback.ts with runAsync

* Updated after_model_callback.ts

* Updated before_model_callback.ts

* Updated before_tool_callback.ts

* Created before_agent_callback.ts

* Update before_agent_callback.ts

Changed the condition

* Update before_model_callback.ts

Changed the condition

* Update after_model_callback.ts

Changed the condition

* Update after_tool_callback.ts

Changed the condition

* Update after_agent_callback.ts

Changed the condition

* Update callback_basic.ts

Changed the condition

* Update storyflow_agent.ts

Changed the condition

* Update sequential_agent_code_development_agent.ts

Changed the condition

* Updated before_agent_callback.ts

* Removed unnecessary comment.

* Updated comment

* Renamed run to runAsync

* Added artifact code snippets.

* Fixed .link-checker-config.json

* Added tsconfig.json

* Update .gitignore with node modules files

* Added 7 typescript code snippets

* Cleaned up and corrected the snippets for plugins

* Update index.md

Undid the changes in artifacts/index.md

* Escaped properly.

* Add Long Running Function Tool TS examples

* Resolved code review feedback

* Fixed the code sample per git comments.

* Fixed the code per git comments.

* Fixed the md file per git comments.

* Fixed the issues per git comments.

* Fixed issues per github comments.

* Fixed the issues per PR comments.

* Fixed issues per PR comments.

* Added a code sample for HITL

* Fixed the indentations in the typescript code

* Used createPartFromBase64 when appropriate.

* Switched to use createUserContent.

* docs: Add JavaScript Quickstart, short unified format

* Added a simulated user delay to the code sample.

* Made some cosmetic improvements

* Added the code snippet with HITL with policy

* Made cosmetic modifications to multi-agents.md

* Added more tutorial for the HITL with policy

* Modularized the main function and added helper functions.

* Resolved code review feedback

* Resolved code review feedback

* Resolved code review feedback

* Fixed minor things in the typescript code per PR comments.

* Fixed the import for Event and used createEventActions.

* Simplified functionResponse code.

* Corrected the Event import and used createEventActions.

* Updated ADK versions in package.json.

* Final review of all changes & Add Safety TS example

* Make tsconfig.json files consistent

* Generated the API Reference for typescript

* Resolved code review feedback

* feat: Add Typescript API reference to docs

This commit adds the generated TypeDoc documentation for the Typescript ADK to the documentation site.

It also updates the main API reference page to include a link to the new Typescript API reference.

* docs: update TypeScript quickstart

* docs: Add version tags for Build Agents topics

- add version tags
- move TS content to second position (after Python)

* docs: Add MCP Toolbox for databases TS SDK Documentation

* Update mcp-toolbox-for-databases.md

* use typescript code block

* minor changes

* Update mcp-toolbox-for-databases.md

* Auto generated the typescript API reference.

* Added the TS code snippets for context.

* Fixed TS code snippets for context.

* Modified the sample based on the comment.

* docs: adding TypeScript language tags (2 of 3)

- Update all Run Agents section topics
- change all TS tags to v0.2.0 per eng agreement

* docs: Add TypeScript language support tags, Components (3 of 3)

- add TS language support tags
- re-order TS examples to be second
- minor fixes: remove trailing spaces

* Added callback samples for typescript to the markdown files.

* Updated adk version in quickstart

* Updated google/adk version for typescript.

---------

Co-authored-by: manchan <manchan@google.com>
Co-authored-by: Mandy Chan <75594070+slothwriter@users.noreply.github.com>
Co-authored-by: Joe Fernandez <joefernandez@google.com>
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
Co-authored-by: Twisha Bansal <58483338+twishabansal@users.noreply.github.com>
2025-12-15 12:53:24 -08:00
Kristopher Overholt 2bad58c487 Add autogeneration of llms.txt during mkdocs build; add docs page on using llms.txt (#1023)
* Add mkdocs-llmstxt and related config

* Remove existing llms.txt and llms-full.txt from repo

* Add docs page for llms.txt

* Minor edit

* Minor edit

* Add *.md to glob syntax in mkdocs-llmstxt config

* Add explicit URLs in API reference section to avoid build warnings

* Fix all build warnings related to bad cross-links and incorrect anchor links

* Suppress INFO logs about absolute links - the CI link checker will catch any issues

* Fix remaining build warnings

* Add Gemini CLI instructions

* Fix link to bidi tutorial
2025-12-05 11:08:14 -06:00
Joe Fernandez eb51a8c17f docs: Rewind feature for sessions (#1020)
* docs: Rewind feature for sessions

* update based on comments
2025-12-04 16:30:45 -08:00
varavindh e3b611ab88 docs: Fix documentation (#960)
Co-authored-by: Aravindh <aravindhv@google.com>
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-11-14 08:51:28 -08:00
Anthony Z 411b057cc8 feat(docs): Add vertex express mode documentation for Agent Engine deploy (#883)
* Update express-mode.md

* Update express-mode.md

* Update agent-engine.md

* Update agent-engine.md

* Update agent-engine.md

* Delete examples/python/notebooks/express-mode-weather-agent.ipynb

* Add files via upload

* Rename express_mode_weather_agent_(1).ipynb to express_mode_weather_agent.ipynb

* Rename express_mode_weather_agent.ipynb to express-mode-weather-agent.ipynb

* Update express-mode-weather-agent.ipynb

* Update agent-engine.md

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-11-07 08:28:00 -08:00
Toni Klopfenstein db506e7396 fixing python/go sample nesting on sessions state (#902)
The "Using Key Templating" section was not rendering properly.
2025-11-06 23:45:25 -07:00
Joe Fernandez de8370d3e0 docs: Components, update language order, part5 (#899) 2025-11-06 20:37:53 -08: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
Joe Fernandez f12068a4bb docs: add language support tags to pages (#850)
* docs: add language support tags to pages

- replace img.shield tags
- add language support tags where missing

* update Agents page with general tags

* update language and version tagging

- response to review comments
- rename css styles to avoid style name conflicts

* add tags to api-server page
2025-11-03 16:07:35 -08:00
klmilam ddc6e0c911 Clarify that memory is not automatically generated (#740) 2025-10-06 13:55:30 -07:00
Nishant f4f4ee5507 docs(memory): Fixed the example code MultiMemory Agent (#654)
- fixed reference for conversation_context

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-09-10 11:04:24 -07:00
Holt Skinner af2ee80fde docs: Fix formatting/spelling errors in Docs (#676)
* docs: Update formatting of logging information

- Remove duplicates

* Fix formatting/spelling issues in Express Mode page

* Fix code formatting

* Rename "Google Cloud's" -> Google Cloud per branding guidelines

* Spelling fix on A2A

* Formatting fixes in a2a consuming

* Fix typo/formatting error on API Reference homepage

* Remove custom anchors in CONTRIBUTING.md because GFM doesn't support them

* Add imports to A2A Samples and update agent.json to agent-card.json

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-09-10 08:18:12 -07:00
Andrew Larimer 5833b459b7 docs: key templating with keys that may not be present (#646)
Included instruction to handle keys that may not be present.

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-27 13:14:10 -07:00
google-labs-jules[bot] 9d918512ac fix: docs clarify temp namespace (#612)
This commit clarifies the behavior of the `temp:` namespace in the documentation.

The following changes were made:
- Updated `docs/sessions/state.md` to provide a more detailed explanation of the `temp:` namespace.
- Updated `docs/context/index.md` to improve the clarity of an example related to passing data between tools.
- Updated `docs/runtime/index.md` to add a note about the scope of `temp:` variables.
- Updated `docs/agents/multi-agents.md` and `docs/agents/workflow-agents/sequential-agents.md` to clarify how the `temp:` namespace is propagated to sub-agents.
- Updated `docs/tools/function-tools.md` to explain how to use the `temp:` namespace to pass data between tool calls.

fixes #160

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-19 16:53:08 +00:00
Lavi Nigam 0e4eb4f847 docs: complete in-memory memory example with retrieval step - fix issue #511 (#517) 2025-07-30 10:06:19 +01:00
Wei Sun (Jack) 1ec6178eef Fix wording of session lifecycle. (#539)
Caused misunderstanding in https://github.com/google/adk-python/pull/2151
2025-07-30 09:01:27 +00:00
Mohab Fekry 109c8ca272 fix(docs): fix wrong var name for memory_service (#497)
Use the correct `memory_service` variable instead of the erroneous `session_service`
2025-07-12 10:08:11 +05:30
Sita Lakshmi Sangameswaran b40accd5cb fix(state): update state key references in instructions (#493)
* fix: update state key references

* update docs to include info on state injection in instructions

* update java snippet

* add docs on InstructionProvider

* add tooltip on direct state modification

---------

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-07-11 09:42:18 -04:00
Anthony Z 8400336372 feat: Update express mode code sample (#494)
* Update quickstart.md

* Create express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update mkdocs.yml

* Update mkdocs.yml

* Update session.md

* Update mkdocs.yml

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update quickstart.md

* Update express-mode.md

* Add files via upload

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Delete examples/python/notebooks/express-mode-weather-agent.ipynb

* Add files via upload

* Delete examples/python/notebooks/express-mode-weather-agent.ipynb

* Add files via upload

* Update express-mode-weather-agent.ipynb

* Update quickstart.md

* Update express-mode.md

* Update express-mode.md

* Update mkdocs.yml

* Delete examples/python/notebooks/express-mode-weather-agent.ipynb

* Add files via upload

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update mkdocs.yml

* Update express-mode.md

---------

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-07-11 14:51:52 +05:30
Anthony Z 19a026393e feat(docs): Add vertex express mode documentation for Agent Engine (#439)
* Update quickstart.md

* Create express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update mkdocs.yml

* Update mkdocs.yml

* Update session.md

* Update mkdocs.yml

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Update quickstart.md

* Update express-mode.md

* Add files via upload

* Update express-mode.md

* Update express-mode.md

* Update express-mode.md

* Delete examples/python/notebooks/express-mode-weather-agent.ipynb

* Add files via upload

* Delete examples/python/notebooks/express-mode-weather-agent.ipynb

* Add files via upload

* Update express-mode-weather-agent.ipynb

* Update quickstart.md

* Update express-mode.md

* Update express-mode.md

* Update mkdocs.yml

---------

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-07-08 17:58:29 +05:30
Sita Lakshmi Sangameswaran 06d5c4224d feat(session): add Vertex AI Memory Bank service (#486)
* feat(memorybank): add memory bank adk doc

* update code snippets
2025-07-08 08:53:20 +05:30
Kristopher Overholt 69bc1335c4 Fix build warnings and config (#424) 2025-06-17 21:59:54 -05:00
takashi kikuchi 3276f0609e Docs: Clarify state modification methods in sessions/state.md (#361)
I've added a new section to `docs/sessions/state.md` detailing the recommended method of updating session state. This method ensures changes are properly tracked.

I also refined the existing "A Warning About Direct State Modification" section to more precisely define which types of direct state modification are discouraged and to ensure it doesn't conflict with the newly added documentation for context-based state updates.

Examples for both Python and Java are provided for the new method. This addresses issue #267 by ensuring all recommended state modification paths are documented.

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
2025-06-02 22:18:51 +05:30
Lavi Nigam 6e175eff43 [PR fixes]This PR is trying to fix multiple old PRs. Due to merge conflicts, we are doing all those small changes in this PR. Each changes are listed below: (#342)
- #254 docs/sessions/session.md -> …part of session object's identification.
In the session object identification description, it was unclear (for first time readers), what exactly is id, and app_name and how they are different. Added some examples according to my own understanding. Please change accordingly if you feel so. Thanks.

- #252 Multiple files: quickstart-streaming.md,  quickstart.md, mcp-tools.md
add an option in the CLI to enable or disable the reload feature. So users(esp. windows) can disable this if they come across the '_make_subprocess_transport NotImplementedError' bug on windows.

- #179 docs/agents/models.md -> Add Windows Encoding Note for LiteLLM
When using ADK agents with LiteLlm on Windows, users might encounter a UnicodeDecodeError: 'charmap' codec can't decode byte... error. This often happens when litellm (used by LiteLlm) tries to read cached files (like model pricing information) using the default Windows encoding (cp1252) instead of UTF-8.

- #170 docs/tools/mcp-tools.md  fix: update ADK setup link and add .env file location note in MCPTools.
Also resolved the issue: #169
2025-05-30 19:49:41 +05:30
Megan O'Keefe 0887973bed feat: Initializes Java documentation (#277) 2025-05-20 12:10:27 -04:00
Jainish-S 31754f8ade Fix: Added pos args where required (#124)
Co-authored-by: Sita Lakshmi Sangameswaran <sitalakshmi@google.com>
2025-04-25 15:58:27 -04:00
Wietse Venema 8b7c333f05 fix: remove reference to database package (#146)
Remove `pip install google-adk[database]`

sqlalchemy is already installed and this package does not exist.
2025-04-22 21:08:18 -05:00