I'd love to help you set up a wake-up mechanism for your agent in LiveKit for each session. Here are a couple of friendly approaches you might consider:
1. Wake Word Detection: You can configure your agent to activate only when it hears a specific wake word, like "hey casa." This means the system listens to the transcription stream, and once it detects that wake word, the agent starts responding. After each response, it patiently waits again for the wake word to be spoken.
2. Inactivity Handler: Another option is to use an inactivity handler that keeps an eye on user activity. If there's a period of silence, it can gently prompt the user. You can do this with the
InactivityHandler
from the
agent_extensions
package or by setting up a custom check using
user_state_changed
events.
If you'd like, I’m here to walk you through detailed steps or share some code examples for either method—just let me know!
Sources:
agent_extensions/README.md |
README.md |
home_assistant/homeautomation.py