Skip to content

AgentWorkforce/relay-poc-smart-home

Repository files navigation

Smart Home Orchestrator Proof-of-Concept

This directory contains 5 different implementations of a smart home orchestrator, each demonstrating a different framework pattern while utilizing the Relay Communicate SDK (agent_relay.communicate.Relay).

Implementations

  1. Vanilla (vanilla/main.py): Direct use of the Relay SDK for DM-based fan-out orchestration.
  2. CrewAI (crewai/main.py): Mimics the CrewAI framework with Agents and Tasks, using Relay as the communication backend.
  3. OpenAI Agents (openai_agents/main.py): Mimics the OpenAI Assistants API structure (Assistants, Threads, Runs) powered by Relay.
  4. LangGraph (langgraph/main.py): Implements a state-machine based orchestration where nodes utilize Relay for device communication.
  5. Google ADK (google_adk/main.py): Demonstrates the Google ADK conversational hub pattern for coordinating specialized agents.

Requirements

  • Python 3.10+
  • agent-relay-sdk (installed with communicate support)

Running the Demos

Each implementation is self-contained and mocks the specialized device agents for demonstration purposes.

# Example: Running the Vanilla implementation
python3 vanilla/main.py

All implementations demo 3 core scenarios:

  • Bedtime Routine: Securing the home and preparing for sleep.
  • Departure Routine: Transitioning to AWAY mode for energy efficiency and security.
  • Morning Routine: Gentle wake-up and house synchronization.

About

Relay Communicate SDK proof-of-concept: smart-home

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors