You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Simple Live (Bidi-Streaming) Agent with Parallel Tools
2
+
This project provides a basic example of a live, [bidirectional streaming](https://google.github.io/adk-docs/streaming/) agent that demonstrates parallel tool execution.
3
+
4
+
## Getting Started
5
+
6
+
Follow these steps to get the agent up and running:
7
+
8
+
1.**Start the ADK Web Server**
9
+
Open your terminal, navigate to the root directory that contains the
10
+
`live_bidi_streaming_parallel_tools_agent` folder, and execute the following
11
+
command:
12
+
```bash
13
+
adk web
14
+
```
15
+
16
+
2. **Access the ADK Web UI**
17
+
Once the server is running, open your web browser and navigate to the URL
18
+
provided in the terminal (it will typically be `http://localhost:8000`).
19
+
20
+
3. **Select the Agent**
21
+
In the top-left corner of the ADK Web UI, use the dropdown menu to select
22
+
this agent (`live_bidi_streaming_parallel_tools_agent`).
23
+
24
+
4. **Start Streaming**
25
+
Click on the **Audio** icon located near the chat input
26
+
box to begin the streaming session.
27
+
28
+
5. **Interact with the Agent**
29
+
You can now begin talking to the agent, and it will respond in real-time.
30
+
Try asking it to perform multiple actions at once, for example: "Turn on the
31
+
lights and the TV at the same time." The agent will be able to invoke both
32
+
`turn_on_lights` and `turn_on_tv` tools in parallel.
33
+
34
+
## Usage Notes
35
+
36
+
* You only need to click the **Audio** button once to initiate the
37
+
stream. The current version does not support stopping and restarting the stream
0 commit comments