way-back-home

mcp
Guvenlik Denetimi
Gecti
Health Gecti
  • License รขโ‚ฌโ€ License: Apache-2.0
  • Description รขโ‚ฌโ€ Repository has a description
  • Active repo รขโ‚ฌโ€ Last push 0 days ago
  • Community trust รขโ‚ฌโ€ 62 GitHub stars
Code Gecti
  • Code scan รขโ‚ฌโ€ Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions รขโ‚ฌโ€ No dangerous permissions requested
Purpose
This is an immersive, educational AI workshop platform designed to teach participants how to build intelligent agents and use Google Cloud AI technologies through a space-rescue narrative.

Security Assessment
Overall Risk: Low. The automated code scan reviewed 12 files and found no dangerous patterns. There are no hardcoded secrets, and the tool does not request any overly dangerous permissions. Based on its architecture and educational focus, it is designed to interface with external cloud services (such as Firestore, Google Cloud Run, and Vertex AI), meaning it will make standard network requests to function. Developers will need to provide their own Google Cloud API credentials to run the platform.

Quality Assessment
Quality is high and actively maintained. The repository received a push very recently (0 days ago), indicating ongoing development. It uses the highly permissive and standard Apache-2.0 license. Additionally, it holds 62 GitHub stars, which demonstrates a fair level of community trust and interest for a specialized codelab and MCP server project.

Verdict
Safe to use, provided you configure it with your own secure Google Cloud credentials.
SUMMARY

๐Ÿš€ Way Back Home

README.md

๐Ÿš€ Way Back Home

Way Back Home

An immersive AI workshop platform where participants learn to build intelligent agents while rescuing a stranded space explorer.

Way Back Home is a hands-on workshop experience that teaches Google Cloud AI technologies through an engaging narrative. Participants crash-land on an alien planet and must use AI to identify themselves, analyze their surroundings, and coordinate rescue efforts.

Live Demo
Codelab
Codelab
Codelab
Codelab
Codelab
Codelab

๐ŸŽฎ The Experience

You're a space explorer whose ship has crashed on an uncharted planet. Your rescue beacon is offline, and you're scattered across the surface with other survivors. To get home, you must:

Level Mission AI Skills Learned
Level 0 Generate your explorer identity Multi-turn image generation, Gemini (Nano Banana)
Level 1 Pinpoint your crash location Multi-agent systems, MCP servers, ADK, parallel processing
Level 2 Process incoming SOS signals Event-driven agents, A2A communication (coming soon)
Level 3 Coordinate group rescue Agent orchestration, consensus protocols (coming soon)
Level 4 Coordinate group rescue Agent orchestration, consensus protocols (coming soon)
Level 5 Coordinate group rescue Agent orchestration, consensus protocols (coming soon)

๐Ÿ› ๏ธ Technology Stack

Component Technologies
Frontend Next.js 14, Three.js, React Three Fiber, Tailwind CSS
Backend FastAPI, Firestore, Firebase Storage, Cloud Run
AI/ML Vertex AI, Gemini 2.5 Flash, Veo 3.1
Agents Google ADK, MCP (Model Context Protocol), Google Cloud MCP servers
Infrastructure Google Cloud Run, Cloud Build, Artifact Registry

๐Ÿš€ Quick Start

For Workshop Participants

  1. Access Cloud Shell at console.cloud.google.com

  2. Clone and setup:

    git clone https://github.com/google-americas/way-back-home.git
    cd way-back-home
    
  3. Start with Level 0:

    ./scripts/setup.sh
    cd level_0
    
  4. Follow the codelab: Level 0 Instructions

For Workshop Hosts

See Deployment Guide below for running your own instance.

๐Ÿ“š Documentation

Component Description
Level 0 README Avatar generation with multi-turn image AI
Level 1 README Multi-agent crash site analysis
Backend README Mission Control API documentation
Frontend README 3D map visualization

๐Ÿ—๏ธ Architecture Overview

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                           Way Back Home                                  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                                          โ”‚
โ”‚   Participant Journey                                                    โ”‚
โ”‚   โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€                                                    โ”‚
โ”‚                                                                          โ”‚
โ”‚   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”‚
โ”‚   โ”‚ Level 0  โ”‚โ”€โ”€โ”€โ–ถโ”‚ Level 1  โ”‚โ”€โ”€โ”€โ–ถโ”‚ Level 2  โ”‚โ”€โ”€โ”€โ–ถโ”‚ Level 3  โ”‚         โ”‚
โ”‚   โ”‚ Identity โ”‚    โ”‚ Location โ”‚    โ”‚   SOS    โ”‚    โ”‚  Rescue  โ”‚         โ”‚
โ”‚   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜         โ”‚
โ”‚        โ”‚               โ”‚                                                 โ”‚
โ”‚        โ–ผ               โ–ผ                                                 โ”‚
โ”‚   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”       โ”‚
โ”‚   โ”‚                    Backend API (Cloud Run)                   โ”‚       โ”‚
โ”‚   โ”‚  โ€ข Participant registration    โ€ข Evidence storage            โ”‚       โ”‚
โ”‚   โ”‚  โ€ข Location confirmation       โ€ข Event management            โ”‚       โ”‚
โ”‚   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜       โ”‚
โ”‚        โ”‚               โ”‚                                                 โ”‚
โ”‚        โ–ผ               โ–ผ                                                 โ”‚
โ”‚   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”‚
โ”‚   โ”‚Firestore โ”‚    โ”‚ Firebase โ”‚    โ”‚      Frontend (Next.js)   โ”‚         โ”‚
โ”‚   โ”‚          โ”‚    โ”‚ Storage  โ”‚    โ”‚  โ€ข 3D planet visualization โ”‚         โ”‚
โ”‚   โ”‚โ€ข events  โ”‚    โ”‚โ€ข avatars โ”‚    โ”‚  โ€ข Real-time participant   โ”‚         โ”‚
โ”‚   โ”‚โ€ข users   โ”‚    โ”‚โ€ข evidenceโ”‚    โ”‚    tracking                โ”‚         โ”‚
โ”‚   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜         โ”‚
โ”‚                                                                          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŒ Deployment

Deploy Your Own Instance

  1. Prerequisites:

    • Google Cloud project with billing enabled
    • Firebase project (Firestore + Storage + Auth)
    • Domain names (optional, for custom URLs)
  2. Clone and configure:

    git clone https://github.com/google-americas/way-back-home.git
    cd way-back-home
    
    # Configure your project
    gcloud config set project YOUR_PROJECT_ID
    
  3. Run infrastructure setup:

    ./scripts/setup-infrastructure.sh
    
  4. Deploy all services:

    gcloud builds submit --config cloudbuild.yaml \
      --substitutions=_API_BASE_URL=https://api.yourdomain.dev,_MAP_BASE_URL=https://yourdomain.dev
    

Environment Configuration

Create a set_env.sh in project root (generated by setup scripts):

export GOOGLE_CLOUD_PROJECT="your-project-id"
export REGION="us-central1"
export API_BASE_URL="https://api.yourdomain.dev"
export MAP_BASE_URL="https://yourdomain.dev"

๐ŸŽ“ Workshop Hosting Guide

Before the Workshop

  1. Deploy backend and frontend to your GCP project
  2. Create an event in the admin panel or via API:
    curl -X POST https://api.yourdomain.dev/admin/events \
      -H "Authorization: Bearer $FIREBASE_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{"code": "your-event-code", "name": "Your Workshop Name"}'
    
  3. Generate QR codes pointing to your event URL
  4. Test the full flow with a sample participant

During the Workshop

  1. Share the event code with participants
  2. Direct them to the Level 0 Codelab
  3. Monitor the live map at https://yourdomain.dev/e/your-event-code
  4. Celebrate as beacons light up across the planet!

Cost Estimates

Component Approximate Cost
Level 0 (per participant) ~$0.08 (2 images)
Level 1 (per participant) ~$0.15 (images + video + agent calls)
Cloud Run (idle) ~$0/month (scales to zero)
Firestore (500 participants) < $1/month

๐Ÿค Contributing

Contributions are welcome! Please read our contributing guidelines before submitting PRs.

Development Setup

# Backend
cd dashboard/backend
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8080

# Frontend
cd dashboard/frontend
npm install
npm run dev

๐Ÿ“„ License

Apache 2.0 - See LICENSE for details.

๐Ÿ™ Acknowledgments


Ready to find your way back home? Start with Level 0 ๐Ÿš€

Yorumlar (0)

Sonuc bulunamadi