Skip to content

docs: add IntelSync sample workflow for ADK Hackathon entry #1599

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions contributing/samples/intel_sync_example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# IntelSync Example Workflow

This sample demonstrates how to orchestrate a simple, end-to-end multi-agent pipeline using the Agent Development Kit (ADK):

1. **WebScraperAgent** – Fetches live web articles from configured URLs
2. **BigQueryLoaderAgent** – Writes raw JSON data into Google BigQuery
3. **InsightGeneratorAgent** – Enriches stored data with sentiment analysis and key-entity extraction via Cloud Natural Language API

## Usage

1. Navigate to this sample folder:
```bash
cd contributing/samples/intel_sync_example
```
2. Ensure your config/ folder is populated with valid YAML configsand GCP credentials.
3. Run the workflow:
```bash
python main.py
```
_Created for the purposes of entering the Agent Development Kit Hackathon with Google Cloud. #adkhackathon_
20 changes: 20 additions & 0 deletions contributing/samples/intel_sync_example/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""
IntelSync Example workflow for ADK Hackathon entry.
Demonstrates multi-agent orchestration using ADK Workflow API.
"""

from google_adk import Workflow
from agents.web_scraper_agent import WebScraperAgent
from agents.bigquery_loader_agent import BigQueryLoaderAgent
from agents.insight_generator_agent import InsightGeneratorAgent

def build_intelsync():
wf = Workflow("intel_sync_example") # valid identifier
wf.add_agent(WebScraperAgent("scraper", "config/scraper_config.yaml"))
wf.add_agent(BigQueryLoaderAgent("loader", "config/bq_config.yaml"))
wf.add_agent(InsightGeneratorAgent("insights","config/insights_config.yaml"))
wf.set_sequence(["scraper", "loader", "insights"])
return wf

if __name__ == "__main__":
build_intelsync().run()