Add voice-controlled home agent with skills and guardrails#4
Draft
nfaggian wants to merge 2 commits into
Draft
Conversation
Introduce a home_voice_agent built on Google ADK with Gemini Live API support for real-time voice conversations from iPhone Safari. - Pluggable skills system (Home Assistant, routines) via YAML config - Guardrails for blocked topics, domains, entities, and confirmations - WebSocket voice server with mobile-friendly PWA client - Tests for skills loading and guardrail enforcement Co-authored-by: Nathan Faggian <nathan.faggian@gmail.com>
Introduce a real iOS app that connects to the existing WebSocket voice server with native microphone capture and audio playback. - SwiftUI chat UI with text and voice modes - WebSocket client matching the Python server protocol - AVAudioEngine capture (16kHz PCM) and playback (24kHz PCM) - Settings screen for server host and TLS configuration - Xcode project ready to build on device Co-authored-by: Nathan Faggian <nathan.faggian@gmail.com>
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.
Summary
Adds a home voice agent you can talk to from your iPhone to control smart home devices. Built on Google ADK with Gemini Live API for real-time bidirectional voice.
What's included
Native iOS app (
ios/) — recommendedios/HomeVoiceAgent.xcodeprojin Xcode, set your team, run on deviceHome agent (
src/agents/home_agent/)config/skills.yamlhome_assistant— list/control entities through Home Assistant REST APIroutines— predefined multi-device routines (goodnight, away, movie mode)config/guardrails.yamlVoice server (
src/server/)Tests
How to use (native iOS)
.env.example→.envand set Gemini + Home Assistant credentialsmake voiceon your home serverios/HomeVoiceAgent.xcodeprojin Xcode192.168.x.x:8000→ tap Start VoiceArchitecture
Notes
HOME_AGENT_MODEL)light.living_room, etc.) to match your Home Assistant setup