Awesome Agents on Google Cloud

HN daily podcast pipeline

The full pipeline behind Turning Hacker News into a daily podcast with ADK 2, Gemini TTS, and Cloud Run jobs: fetch the last 26 hours of Hacker News, curate, digest and fact-check per story, write and fact-check the script, render segmented TTS audio, and publish an mp3 plus RSS feed to a Cloud Storage bucket.

Files

Environment

Deploy and schedule

gcloud builds submit --tag $REGION-docker.pkg.dev/$PROJECT/$REPO/hn-digest .
gcloud run jobs create hn-digest --image $IMAGE --task-timeout 3600 \
  --set-env-vars "GOOGLE_GENAI_USE_ENTERPRISE=TRUE,GOOGLE_CLOUD_LOCATION=global,PUBLISH_BUCKET=$BUCKET,STORY_CHECK=1,GEMINI_API_KEY=$KEY"
gcloud scheduler jobs create http hn-digest-morning \
  --schedule="0 6 * * *" --time-zone="America/Los_Angeles" \
  --uri="https://run.googleapis.com/v2/projects/$PROJECT/locations/$REGION/jobs/hn-digest:run" \
  --oauth-service-account-email=$SERVICE_ACCOUNT