A personal health dashboard built 5 ways, all sharing the same communication backbone: the Relay Communicate SDK. Three tracker agents (fitness, nutrition, sleep) post simulated daily data to a shared channel. An InsightAgent reads the channel, correlates metrics, and produces a weekly health report.
┌──────────┐ ┌──────────────┐ ┌────────────┐
│ Fitness │ │ Nutrition │ │ Sleep │
│ Tracker │ │ Tracker │ │ Tracker │
└────┬─────┘ └──────┬───────┘ └─────┬──────┘
│ │ │
└───────┬───────┴────────┬───────┘
▼ ▼
┌──────────────────────────┐
│ #health-data channel │
└────────────┬─────────────┘
▼
┌───────────────┐
│ Insight Agent │──▶ Weekly Report
└───────────────┘
| Directory | Framework | Lines |
|---|---|---|
crewai/ |
CrewAI | ~250 |
openai_agents/ |
OpenAI Agents SDK | ~250 |
langgraph/ |
LangGraph | ~260 |
google_adk/ |
Google ADK | ~250 |
vanilla/ |
Pure Python | ~230 |
pip install agent-relay-sdk[communicate]Each framework has its own dependencies:
# CrewAI
pip install crewai crewai-tools
# OpenAI Agents SDK
pip install openai-agents
# LangGraph
pip install langgraph langchain-core
# Google ADK
pip install google-adk
# Vanilla — no extra depsSet environment variables (or use built-in defaults for demo mode):
export RELAY_WORKSPACE=health-dashboard
export RELAY_API_KEY=demo-keyRun any implementation:
python crewai/main.py
python openai_agents/main.py
python langgraph/main.py
python google_adk/main.py
python vanilla/main.pyEach script simulates 7 days of health tracking and prints a weekly insight report at the end.
- Day simulation — Each tracker agent generates realistic daily metrics
(steps, calories, sleep hours, etc.) and posts them as JSON to the
#health-datachannel via Relay. - Channel as shared memory — All agents read from the same channel, making the architecture framework-agnostic.
- Weekly correlation — The InsightAgent reads all 7 days of data, cross-references fitness/nutrition/sleep patterns, and generates actionable health insights.
- Relay as the backbone — Every message flows through Relaycast, demonstrating real multi-agent communication regardless of which orchestration framework wraps the logic.