adk-python/contributing/samples
Hangfei Lin 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
..
application_integration_agent update application integration toolset agent based on new toolset interface 2025-05-12 16:43:41 -07:00
artifact_save_text Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
bigquery_agent update bigquery agent and oauth calendar agent according to new toolset interface 2025-05-12 16:06:45 -07:00
callbacks Move callback samples to dedicated directory 2025-05-12 09:24:29 -07:00
code_execution Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
fields_output_schema Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
fields_planner Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
generate_image Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
hello_world Move callback samples to dedicated directory 2025-05-12 09:24:29 -07:00
hello_world_litellm Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
hello_world_ma Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
hello_world_ollama Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
human_in_loop Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
mcp_agent update mcp toolset and sample agent based on new tool_filter definition 2025-05-12 17:05:24 -07:00
memory Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
non_llm_sequential Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
oauth_calendar_agent update bigquery agent and oauth calendar agent according to new toolset interface 2025-05-12 16:06:45 -07:00
quickstart Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00
simple_sequential_agent feat(live): Support live mode of sequential agent 2025-05-13 11:56:16 -07:00
workflow_agent_seq Create a developer folder and add samples. 2025-05-07 09:26:19 -07:00