Google Team Member and Copybara-Service
62a543bd58
Add dynamicAuthConfig to ExecuteCustomQuery. Add sample agent for ApplicationIntegrationToolset which uses Integration Connectors with end user credentials.
...
PiperOrigin-RevId: 761356343
2025-05-20 21:45:27 -07:00
Xiang (Sean) Zhou and Copybara-Service
9eef4464c6
fix: fix toolbox import path in sample toolbox agent
...
PiperOrigin-RevId: 760837908
2025-05-19 17:43:41 -07:00
Wei Sun (Jack) and Copybara-Service
3f21a52853
chore: Fixes the main.py for memory/agent.py sample.
...
PiperOrigin-RevId: 760741263
2025-05-19 13:08:57 -07:00
Xiang (Sean) Zhou and Copybara-Service
3b5232c14f
feat: add sample mcp agent that connects to mcp server via sse endpoint directly
...
PiperOrigin-RevId: 760388717
2025-05-18 17:00:03 -07:00
Wei Sun (Jack) and Copybara-Service
9e767b3fe1
chore: Creates a sample main.py to demonstrate how to use adk as a library for the workflow agent in docs.
...
For Issue #573 .
PiperOrigin-RevId: 760380509
2025-05-18 16:17:16 -07:00
Wei Sun (Jack) and Copybara-Service
e278ca9541
chore: Refines mcp_agent instruction to include the allowed folder in the instruction.
...
PiperOrigin-RevId: 760057162
2025-05-17 12:57:11 -07:00
Wei Sun (Jack) and Copybara-Service
021aaddf32
chore: Allows BaseAgent in the constructor of InMemoryRunner.
...
PiperOrigin-RevId: 759818175
2025-05-16 17:42:58 -07:00
Xiang (Sean) Zhou and Copybara-Service
f83504dffb
chore: add toolbox sample agent
...
PiperOrigin-RevId: 759746416
2025-05-16 14:01:53 -07:00
Adrian Cole and Copybara-Service
dcb50effef
Copybara import of the project:
...
--
636685818a512e9de30d5119f0244261cf16af27 by Adrian Cole <64215+codefromthecrypt@users.noreply.github.com >:
fix: corrects typo in bigquery sample
Noticed while reading that google was spelled wrong.
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/709 from codefromthecrypt:patch-1 b30e819979f81962a2e44922bfd2dadd539fe3ea
PiperOrigin-RevId: 759641065
2025-05-16 09:18:48 -07:00
Xiang (Sean) Zhou and Copybara-Service
f384793649
fix: fix mcp agent filter logic
...
PiperOrigin-RevId: 759638254
2025-05-16 09:10:49 -07:00
Selcuk Gun and Copybara-Service
69f7ed8d0e
Rename ollama sample script and await create_session
...
PiperOrigin-RevId: 759369988
2025-05-15 17:29:56 -07:00
Selcuk Gun and Copybara-Service
01cf186299
Update samples for async session changes and remove exp suffix from gemini model
...
PiperOrigin-RevId: 759364113
2025-05-15 17:12:07 -07:00
Wei Sun (Jack) and Copybara-Service
04820cb0a7
chore: Fixes a few samples for the breaking session service change.
...
PiperOrigin-RevId: 759354632
2025-05-15 16:44:23 -07:00
Selcuk Gun and Copybara-Service
509db3f9fb
Add token usage to gemini (streaming), litellm and anthropic
...
Also included a token_usage sample that showcases the token usage of subagents with different models under a parent agent.
PiperOrigin-RevId: 759347015
2025-05-15 16:22:36 -07:00
Xiang (Sean) Zhou and Copybara-Service
fccd17df6f
fix: adapt oauth calendar agent and bigquery agent to new Google API toolset interface
...
PiperOrigin-RevId: 759298612
2025-05-15 14:21:45 -07:00
Liang Wu and Copybara-Service
9c2358e2a5
Update the usage of built-in code execution in documentation and sample agent.
...
PiperOrigin-RevId: 758997215
2025-05-14 23:17:13 -07:00
Xiang (Sean) Zhou and Copybara-Service
14cf910ce6
refactor: refactor application integration toolset to hide non-public field
...
PiperOrigin-RevId: 758469938
2025-05-13 19:28:01 -07:00
Wei Sun (Jack) and Copybara-Service
30947b48b8
feat(memory)!: Uses the new MemoryEntry schema for all memory related components.
...
BREAKING CHANGE. This commit changes all memory related interface to using the newly introduced MemoryEntry class.
PiperOrigin-RevId: 758464887
2025-05-13 19:07:11 -07:00
Xiang (Sean) Zhou and Copybara-Service
931fb338f8
rename tool_set to toolset to uniform the naming
...
PiperOrigin-RevId: 758422703
2025-05-13 16:34:23 -07:00
Selcuk Gun and Copybara-Service
ff9de71869
Add role to the event returned in agent callback sample
...
Events without a role are filtered out in the next turns.
PiperOrigin-RevId: 758393355
2025-05-13 15:12:06 -07:00
Hangfei Lin and Copybara-Service
4188673b0f
feat(live): Support live mode of sequential agent
...
Add a `task_completed` function to the agent so when a model finished the task, it can send a signal and the program knows it can go to next agent.
This cl include:
* Implements the `_run_live_impl` in `sequential_agent` so it can handle live case.
* Add an example for sequential agent.
* Improve error message for unimplemented _run_live_impl in other agents.
Note:
1. Compared to non-live case, live agents process a continuous streams of audio
or video, so it doesn't have a native way to tell if it's finished and should pass
to next agent or not. So we introduce a task_compelted() function so the
model can call this function to signal that it's finished the task and we
can move on to next agent.
2. live agents doesn't seems to be very useful or natural in parallel or loop agents so we don't implement it for now. If there is user demand, we can implement it easily using similar approach.
PiperOrigin-RevId: 758315430
2025-05-13 11:56:16 -07:00
Xiang (Sean) Zhou and Copybara-Service
d35b99e6dd
update mcp toolset and sample agent based on new tool_filter definition
...
PiperOrigin-RevId: 757969950
2025-05-12 17:05:24 -07:00
Xiang (Sean) Zhou and Copybara-Service
722028801a
update application integration toolset agent based on new toolset interface
...
PiperOrigin-RevId: 757963384
2025-05-12 16:43:41 -07:00
Xiang (Sean) Zhou and Copybara-Service
d19927b1bc
update bigquery agent and oauth calendar agent according to new toolset interface
...
PiperOrigin-RevId: 757949732
2025-05-12 16:06:45 -07:00
Selcuk Gun and Copybara-Service
812485fdfa
Move callback samples to dedicated directory
...
Sample chained callback logs can we seen running asyncio_run.py
PiperOrigin-RevId: 757793406
2025-05-12 09:24:29 -07:00