Commit Graph

341 Commits

Author SHA1 Message Date
Joe Fernandez c9bfba286c Revert "feat(code_executors): Add GkeCodeExecutor for sandboxed execution on …" (#650)
This reverts commit 050c05156c.
2025-08-26 11:35:03 -07:00
Sampath Kumar d6730fb135 Chore: Cleaned up the (failed) Google Analytics code. (#643)
The CICD tests responsible for generating static pages are failing to add the necessary keys to the site. The current settings proved unhelpful, so they have been cleared.
2025-08-26 09:22:40 -07:00
Steren 5364bc16d9 Fix deploy to Cloud Run from gcloud (#639) 2025-08-21 19:45:53 -07:00
Joe Fernandez 183ba55815 fix: Fixed some issues with Agent Config doc (#638) 2025-08-21 15:13:20 -07:00
니콜라스 e4215bf6d5 Update llm-agents.md (#627)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-21 14:31:53 -07:00
Cameron 42c2faaa3a fix: update broken authenticated tool helper (#599)
* fix: update broken authenticated tool helper

* fix: Update invalid auth config argument reference in helpers

* fix: Incorrect code example for `get_auth_config`

`auth_request_function_call`'s args values are dictionaries, meaning it will never be an instance of AuthConfig by default
2025-08-21 14:29:16 -07:00
Joe Fernandez df6f1d1379 Add Whats new banner for Agent Config feature (#637) 2025-08-21 13:35:23 -07:00
Joe Fernandez 7a0a98607e docs: Agent config docs v2 (#636)
* docs: Add Agent Config docs, v2

* fix: update mkdocs file
2025-08-20 17:11:08 -07:00
Joe Fernandez 2cef018c61 fix: add a stub page for the Agent Config API docs (#633) 2025-08-20 16:06:02 -07:00
Joe Fernandez 90703aae06 docs: add CLI deploy command for Agent Engine instructions (#628) 2025-08-19 16:08:39 -07:00
sfkrieger da6d18fa8c chore: Updated code sample to genericize region in datastore ID (#622)
* Updated code sample to genericize region in datastore ID

* Added licensing information.
2025-08-19 13:56:32 -07:00
Andrew David 7f28b0023d docs(loop-agent): remove redundant wording in usage example (#397)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-19 10:01:37 -07:00
Michael Vorburger c7bb5f1405 fix: https://github.com/google/adk-java/issues/152 (#381)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-19 10:00:32 -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
Summer 050c05156c feat(code_executors): Add GkeCodeExecutor for sandboxed execution on GKE (#621)
* [8/15] add GKE executor doc

* [8/15] add GKE executor doc

* [8/15] add GKE executor doc

* [8/15] add GKE executor doc

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-19 09:42:18 -07:00
nikkie ebbf121fcd fix: Remove redundant trailing quote (#623)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-19 09:40:46 -07:00
Jasmeet Bhatia 4b3ea82bdd fix: correct syntax error and typo in Python examples (#625) 2025-08-19 09:39:30 -07:00
Terrence Ryan 551e563ebd fix: add tip about injecting prompts into adk run (#617)
fixes #616

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-15 13:04:28 -07:00
Matt Landers da5ce68cbe fix: code executor examples for python (#377)
* fix: code executor examples for python

* fix: updated snippet for code executor

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-15 11:28:52 -07:00
Vikranth Kanumuru 75b6d8ad64 Update llm-agents with built in planner example.md (#200)
Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-15 11:24:30 -07:00
google-labs-jules[bot] 05376de47f docs: Add documentation for the REST API. (#613)
This commit adds a new page to the documentation for the REST API, with
details about the `/run` and `/run_sse` endpoints.

A new file is created at `docs/api-reference/rest/index.md` and linked
from the main API reference page and the navigation bar.

Joe: Modified navigation ordering, and added information to point to REST API guide in Testing topic.

fixes #126

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-15 11:00:55 -07:00
Joe Fernandez 35438f324b fix(docs): Add "application-default" option to gcloud auth (#615)
Fixes https://github.com/google/adk-python/issues/943
2025-08-15 17:42:42 +01:00
Mandy Chan 6afd0d37ba fix: Update agent.py (#611)
Fixes #176 

Use AgentTool for subagents
2025-08-14 18:49:53 -07:00
Guillaume Laforge cb1dfad5e0 fix: Update index.md to show 0.2.0 for Java (#572)
Co-authored-by: Terrence Ryan <tpryan@google.com>
2025-08-14 16:44:09 -07:00
Aaron Wanjala 58998675c1 Update mcp-tools.md (#283)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-14 11:43:20 -07:00
Michael Vorburger 7f51ec6f7e fix: Use final static BaseAgent ROOT_AGENT field. (#350)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-14 11:38:12 -07:00
sfkrieger 8e4f503680 fix(mcp-deployment): Add comprehensive MCP deployment documentation (#594)
* Add comprehensive MCP deployment documentation

- Add detailed deployment section for ADK agents with MCP tools
- Document critical synchronous agent definition requirement for deployment
- Cover three deployment patterns: self-contained stdio, remote SSE/HTTP, and sidecar containers
- Include production deployment checklist with security, monitoring, and scalability considerations
- Provide environment-specific configurations for Cloud Run, GKE, and Vertex AI Agent Engine
- Add troubleshooting guide for common MCP deployment issues
- Include quick deployment commands for Agent Engine and Cloud Run

Addresses deployment challenges outlined in issue #327 where async MCP toolset creation
is no longer supported in deployment environments.

Fixes #327

* Replace SSE/HTTP with Streamable HTTP implementation in MCP Pattern 2

- Update Pattern 2 deployment example to use StreamableHTTPSessionManager
- Replace basic SSE server code with comprehensive Streamable HTTP implementation
- Add production-ready features: stateless mode, ASGI compliance, lifecycle management
- Include Starlette application setup with proper error handling
2025-08-14 18:13:42 +00:00
Terrence Ryan 695a9804b5 docs: Clarify tool status field in example (#608)
The `lookup_order_status` example in the tool documentation was using the `status` field to represent both the tool's execution outcome and the business-level order status. This is ambiguous and can be confusing for the LLM.

This change refactors the example to use a dedicated `status` field for the execution outcome (`success`/`error`) and nests the order-specific data in a separate `order` dictionary. This aligns with best practices for tool design and improves clarity.

Fixes #530

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-14 11:03:23 -07:00
Terrence Ryan 43a58a2a05 fix: Prevent overwriting of function response (#607)
In the human-in-the-loop example, the long_running_function_response
variable could be overwritten with `None` by a subsequent event that
did not contain a function response. This would cause the logic that
depends on the response to fail.

Fixes #375

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-14 11:01:19 -07:00
Terrence Ryan 8baf946953 fix: adding windows version of command (#609)
Fixes #154

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-14 10:59:34 -07:00
Terrence Ryan 77d0e39adf fix: Made references requiring file creation cross platform (#606)
* fix (docs): Made references requiring file creation cross platform

Fixes #44

* fix: correct conventional commit

---------

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-14 10:57:10 -07:00
Yuan Teoh f9182f4411 chore: update diagram for MCP Toolbox (#604)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-13 17:08:10 -07:00
Terrence Ryan 59a22da119 fix(docs): adding extra information and context to bidi streaming. (#603)
Fixes #538

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-13 17:02:16 -07:00
Kaz Sato 7de778db7e fix: fixing adk version of the streaming docs (#597)
fix: fixing adk version of the streaming docs

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-13 17:01:00 -07:00
abiramit5 e2e355c1fe Update google-cloud-tools.md (#575)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-13 16:59:56 -07:00
sfkrieger 10a2e69fba docs(callbacks): improve formatting and structure for better readability (#593)
- Restructured callback design patterns with clear "Pattern Overview/Implementation/Example Use Case" sections
- Organized best practices into thematic categories (Design Principles, Error Handling, State Management, Reliability, Testing & Documentation)
- Converted dense bullet-point lists into more scannable, structured content
- Enhanced readability while maintaining all technical information and examples
- Applied consistent formatting patterns across all 8 design patterns

This makes the callback documentation easier to skim and absorb for developers learning ADK callback patterns.

Resolves #110

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-13 16:56:56 -07:00
earlzero fa9c0603b2 Update agent-team.md Step 5 typo (#571)
Wrong method is used for getting weather. Instead of `get_weather` it should be `get_weather_stateful`

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-13 15:33:58 -07:00
Mofi Rahman e78648808c docs: adk deploy gke does not have a verbosity flag (#569) 2025-08-13 22:32:28 +00:00
Mofi Rahman fdeb589a79 build: change markdown link checker settings to reduce failure (#570)
we are seeing a lot of ci failure or prs on markdown link checker.
while useful, often this has nothing to do with commit. the failure is likeyly due to something outside of the PRs responsibility.

Adding longer timeout (30s) and retry should help decrease / eliminate this issue.

Co-authored-by: Lavi Nigam <98014943+lavinigam-gcp@users.noreply.github.com>
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-13 15:31:17 -07:00
nikkie 06f9cb3b2e fix: Correct option typo --log-level -> --log_level (#581)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-13 15:28:45 -07:00
Mandy Chan 9bd2d1bd29 fix: add code example for skip_summarization (#595)
fix issue https://github.com/google/adk-docs/issues/531
2025-08-13 16:04:04 -04:00
Mandy Chan 9ef89c312f fix: add guide for sending multimodal queries to Agent Engine (#596)
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Fix https://github.com/google/adk-docs/issues/243
2025-08-13 15:50:19 -04:00
Polong Lin b98ecdb3cf fix(links): Fix additional links for A2A within pages (#601)
* fix(link): A2A site

* fix(links): fix additional a2a links

* fix(link): add specific link to Python tutorial for A2A
2025-08-13 15:20:05 +01:00
Polong Lin 6106db13bd fix(link): A2A site (#600) 2025-08-13 09:04:54 -04:00
Terrence Ryan a744a16067 fix: adding cli reference to index. (#590)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-12 13:51:12 -07:00
Joe Fernandez 7113661b81 fix: Add warning about use of paid service for Evalsets (#591) 2025-08-12 10:56:31 -07:00
Kai Kreuzer 4b1ff4f306 chore: update to latest adk-java version 0.2.0 (#526)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-12 10:33:12 -07:00
purvii-n 28f8f5c93d Update cloud-run.md (#558)
Modified get_fast_api_app method parameters according to current code implementation

Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-12 10:31:36 -07:00
Jason Berlinsky 38cf4b6188 fix: Correct links to Connection Tool Integration template (#582)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-12 10:29:20 -07:00
sfkrieger d6b2bb4311 fix(docs): update Windows encoding note for LiteLLM to improve clarity (#583)
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>
2025-08-12 10:27:10 -07:00