Companion Apps

Companion Apps क्या हैं?

Companion apps iOS, Android, और macOS के लिए native applications हैं जो आपके Gateway से nodes के रूप में connect होते हैं। Nodes device capabilities expose करते हैं, camera, canvas, screen recording, location, voice, और system execution, आपके agents को।

इसे इस तरह समझें: Gateway brain है, और companion apps आपके devices पर hands और eyes हैं।

Nodes कैसे काम करते हैं

  1. Connect, Companion app आपके Gateway से WebSocket पर connect होता है
  2. Pair, नए devices एक pairing approval process से गुजरते हैं
  3. Register capabilities, App Gateway को बताता है कि वह क्या कर सकता है (camera, canvas, location, आदि)
  4. Agents invoke, Conversations के दौरान, agents node से photo लेने, screen record करने, canvas render करने, और अधिक करने का request कर सकते हैं

Nodes gateways नहीं हैं, वे अपना AI नहीं चलाते। वे peripheral devices हैं जो आपके agents क्या कर सकते हैं उसे extend करते हैं।

macOS Companion App

macOS app आपके menu bar में रहता है और companion node और gateway manager दोनों के रूप में serve करता है।

Capabilities

Additional Features

iOS App

iOS app आपके Gateway से node के रूप में connect होता है, आपके agents को mobile capabilities लाता है।

Capabilities

Features

Limitations

Android App

Android app iOS के समान capabilities के साथ node के रूप में connect होता है।

Capabilities

Features

Headless Node Host

बिना किसी UI के node run करें, build servers, remote machines, या headless Linux boxes के लिए ideal।

Capabilities

Use Cases

Device Pairing

Pairing Flow

  1. Companion app अपनी device identity (fingerprint + public key) present करता है
  2. Gateway एक pairing approval request issue करता है
  3. आप desktop app या dashboard के माध्यम से device approve करते हैं
  4. Gateway future connections के लिए device token issue करता है

Trust Model

Exec Approvals

उन nodes के लिए जो system commands run कर सकते हैं (macOS, headless hosts), exec approvals control करते हैं कि क्या allowed है:

Per-node allowlists configure करें precisely control करने के लिए कि प्रत्येक device क्या कर सकता है।