Add Home Assistant multi-agent system demo using Google ADK#3
Draft
danielstegeman with Copilot wants to merge 7 commits into
Draft
Add Home Assistant multi-agent system demo using Google ADK#3danielstegeman with Copilot wants to merge 7 commits into
danielstegeman with Copilot wants to merge 7 commits into
Conversation
…, and tests Co-authored-by: danielstegeman <22636692+danielstegeman@users.noreply.github.com>
Co-authored-by: danielstegeman <22636692+danielstegeman@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add project setup for multi-agent system
Add Home Assistant multi-agent system demo using Google ADK
Mar 12, 2026
Owner
|
@copilot review this pr |
Author
Code Review Summary This PR implements a Home Assistant multi-agent system using Google ADK. Here are the key findings: Architecture (Good):
Tests (36 passing):
Potential improvements for production:
Security: CodeQL clean, no dependency advisories for google-adk 1.26.0 Overall, the implementation follows ADK patterns well and meets the spec requirements. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multi-agent home automation demo in
google-agent-kit/home_assistant/using Google ADK's sub-agent orchestration pattern. All external calls are mocked -- no API keys or real integrations required.Architecture
agents/orchestrator_agent.py) -- routes by intent keywords to specialist sub-agents via ADK'ssub_agentspatternget_device_state/set_device_statefor lights, locks, thermostatget_calendar_events/create_calendar_eventget_weather/get_shopping_list/add_to_shopping_listComponents
tools/-- 7 deterministic mock tools returning hardcoded dicts.set_device_statepersists to in-memory DB for read-after-write consistency.state/store.py-- module-level dict shared across agents, pre-populated with household defaults (who_is_home,preferred_movie_brightness, etc.)agent.py-- exportsroot_agent(the orchestrator) for ADK discoverymain.py-- async entry point usingInMemoryRunnerwith interactive console modeTests
36 unit tests covering state store CRUD, all mock tool return shapes + persistence, and agent wiring (tool bindings, sub-agent registration, routing keywords in instructions).
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.