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
This commit is contained in:
Wei Sun (Jack)
2025-05-18 16:16:12 -07:00
committed by Copybara-Service
parent 2ad1f79422
commit 9e767b3fe1
4 changed files with 241 additions and 43 deletions

View File

@@ -0,0 +1,12 @@
# Workflow Agent Sample - SequentialAgent
Sample query:
* Write a quicksort method in python.
* Write a python function to do bubble sort.
To run in cli (after installing `google-adk`):
* `uv run main.py` (or `python main.py`)
Check sample output in `sample.output` file in this folder.