Gateway Connection
WebSocket connection to the Fly.io gateway
Endpoint
android-agent-gateway.fly.dev
Status
disconnecteddisconnected
Auth Token
••••••••••••
Deploy Region
LAX (Fly.io)
Machine
shared-cpu-1x, 512MB
AI Spend Caps
Per-device daily budget limits for Claude API usage
No devices registered. Connect a device to configure spend caps.
Haiku cost/call
~$0.001
Sonnet cost/call
~$0.01
AI Engine Configuration
ReasoningEngine model selection and brain parameters
Gate model
fastClaude Haiku 4.5
Planner model
smartClaude Sonnet 4
Brain max steps
12
Brain timeout
180s
Brain max tokens
2048
Engagement dedup
24h window
Cross-persona reply guard
3 rounds / 24h
Model and brain parameters require gateway redeployment to change.
Sweep & Notification Schedules
Inbox sweep frequencies and notification processing cadence
No schedules configured yet.
Safety Guardrails
3-layer protection: input blocklist, confidence threshold, output validation
Input blocklist
activeEnabled
OTP proximity constraint
.{0,50}
Confidence threshold
0.7
Output validation
activeEnabled
Content Amplification Gate
activeEnabled
Post sweep gate
Requires recent create_post
Fleet self-post guard
Enabled
Farewell false positive filter
Question-context exclusion
Guardrail configuration requires gateway redeployment. OTP fix #59 deployed.
Notification Routing
How push notifications are triaged and routed to workflows
WhatsApp DM
→ brain_whatsapp_reply
WhatsApp Group
→ brain_whatsapp_reply_group
WhatsApp @mention
→ mentioned device only
LinkedIn Bell
→ probability engine → brain_linkedin_*
LinkedIn DM
→ linkedin_reply_notification
Fleet group
→ brain_fleet_engage_from_group
Reply cooldown
5 min (DM), 4h (sweep)
Reply cap
2 per contact per 24h
Circuit breaker
3 failures → 30min pause
Conversation affinity TTL
10 min
First-to-claim dedup
Enabled (multi-device)
Routing rules and thresholds require gateway redeployment to change.
Supabase Database
PostgreSQL database for all persistent state
Project ID
gbqfrvqxohlodkpwibwg
Tables
24
Key tables
workflow_definitions, workflow_runs, device_configs, targeted_personas, engagement_log