{"id":32789385,"url":"https://github.com/seehiong/adk-web-multi-agent","last_synced_at":"2026-05-12T23:35:32.299Z","repository":{"id":322250116,"uuid":"1088739407","full_name":"seehiong/adk-web-multi-agent","owner":"seehiong","description":"Multi-Agent System built with Google ADK and OpenRouter models, coordinating specialist agents to query PostgreSQL (via MCP Toolbox) and Data Commons for HDB resale data and global statistics.","archived":false,"fork":false,"pushed_at":"2025-11-03T12:46:21.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-03T13:20:40.284Z","etag":null,"topics":["agent-hierarchy","coordinator-pattern","datacommons","google-adk","llm","multi-agent-system","openrouter","postgresql","toolbox"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seehiong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-03T11:47:16.000Z","updated_at":"2025-11-03T12:46:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/seehiong/adk-web-multi-agent","commit_stats":null,"previous_names":["seehiong/adk-web-multi-agent"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/seehiong/adk-web-multi-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seehiong%2Fadk-web-multi-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seehiong%2Fadk-web-multi-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seehiong%2Fadk-web-multi-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seehiong%2Fadk-web-multi-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seehiong","download_url":"https://codeload.github.com/seehiong/adk-web-multi-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seehiong%2Fadk-web-multi-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282799913,"owners_count":26729199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-05T02:00:05.946Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-hierarchy","coordinator-pattern","datacommons","google-adk","llm","multi-agent-system","openrouter","postgresql","toolbox"],"created_at":"2025-11-05T10:01:19.949Z","updated_at":"2025-11-05T10:01:48.483Z","avatar_url":"https://github.com/seehiong.png","language":"Jupyter Notebook","funding_links":[],"categories":["🌟 Community Excellence","Jupyter Notebook"],"sub_categories":["Multi-Agent Systems"],"readme":"# ADK Web Multi-Agent System\n\nThis repository demonstrates building a multi-agent system using **Google's ADK (Agent Development Kit)**. The system allows for natural language querying across two distinct data sources: a local **PostgreSQL** database for HDB resale data and the **Data Commons MCP API** for general global statistics.\n\nThe architecture implements a **Coordinator/Dispatcher** Pattern to route specialized queries to the correct agent.\n\n**Read the full guide here:** [ADK Web Multi-Agent System](https://seehiong.github.io/posts/2025/11/adk-web-multi-agent-system/)\n\n## Project Structure\n\n```bash\nadk-web-multi-agent-system/\n├── tools.yaml               # MCP Toolbox configuration for PostgreSQL tools\n├── toolbox_playground.ipynb # Jupyter Notebook containing testing/execution code\n├── pyproject.toml           # Project dependencies managed by uv\n├── .gitignore\n└── agents/                  # Directory for individual specialist agents\n    ├── __init__.py          # Makes 'agents' a package\n    ├── agent.py             # Defines the Coordinator LLM Agent\n    ├── datacommons_agent/   # Agent for global Data Commons queries\n    │   ├── __init__.py\n    │   ├── agent.py         # Defines the Data Commons LLM Agent\n    │   └── instructions.py\n    └── postgres_agent/      # Agent for structured HDB PostgreSQL queries\n        ├── __init__.py\n        ├── agent.py         # Defines the PostgreSQL LLM Agent\n        └── instructions.py\n```\n\n## Prerequisites \u0026 Setup\n\nThis project relies on external services and specific environment tools:\n\n1. **PostgreSQL Database**: A local instance running on 127.0.0.1:5432 with the public.resale_transactions table populated (DDL provided in the blog post).\n\n2. **Data Commons MCP Server**: Start a local instance using the Data Commons CLI:\n  ```powershell\n  uvx datacommons-mcp serve http --port 8001\n  ```\n\n3. **Toolbox (PostgreSQL Interface)**: The MCP tool server for PostgreSQL can be started from project root:\n  ```powershell\n  .\\toolbox\n  ```\n4. **Python Environment**: Managed using `uv` for dependency isolation:\n  ```powershell\n  uv venv\n \n  uv init \n  uv add google-adk litellm toolbox-core \n  ```\n\n## Running the Agents\n\nThis project structure requires a **Coordinator Agent** (defined in the main execution logic) that hierarchically manages the `postgres_agent` and `datacommons_agent` via the `sub_agents` argument. \n\nTo run the entire multi-agent system locally, execute the following command from your activated environment:\n\n```powershell\nadk web\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseehiong%2Fadk-web-multi-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseehiong%2Fadk-web-multi-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseehiong%2Fadk-web-multi-agent/lists"}