Replies: 1 comment
You can run it as a job instead. The Python entry point creates a session, gives For your Google Cloud setup, put that script and the agent in a Cloud Run Job. Have Cloud Scheduler start it twice a day. The job can still call Gemini through Vertex AI; give its service account access to the required model and data services. Google's scheduling guide covers setting up the trigger. Since the workflow sends emails, check your sent-email record before resending on a retry. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to figure out if it is possible to deploy and agent workflow (e.g. sequential workflow) that runs at specific times.
The use case would be a workflow that processes some data and emails.
I do understand that in most use cases with ADK you are not interested in this since the Agent is interacting with the user through prompt requests.
In all the tutorial i have found the Agent is deployed and running in "stand by" , i think as a rest API but i might be using the terminology wrong.
So does anyone know if its possible to run an ADK agent as a scheduled/job? Also can it be done using Vertex AI (which i am trying to learn right now together with ADK)
If there exists a text or video tutorial then that would be terrific! Since ADK is so new, there are not that many tutorials out there yet.
All reactions