Skip to main content

Xenon V2: The Next Generation of Autonomous Mobile Infrastructure

ยท 3 min read
Rabindra Biswal
Creator of Xenon

We're thrilled to announce Xenon V2 โ€” a ground-up evolution of the autonomous mobile infrastructure platform. This release brings AI-powered diagnostics, self-healing locators, visual intelligence, and enterprise-grade operational features.

AI Root-Cause Diagnosisโ€‹

Xenon V2 introduces multimodal AI failure analysis. When a session fails, the AI engine reasons over screenshots, device logs, and command sequences to produce actionable root-cause reports โ€” no manual triage required.

Supported LLM Providers:

ProviderDefault ModelMultimodal
Google Geminigemini-3-flash-preview[Yes]
OpenAIgpt-4o[Yes]
Anthropicclaude-3-5-sonnet[Yes]
Ollamallama3[No] (text-only)

Configure via environment variables (GEMINI_API_KEY, OPENAI_API_KEY, ANTHROPIC_API_KEY) or the Dashboard Settings UI.


๐Ÿฉบ 5-Tier Self-Healing Engineโ€‹

When a locator breaks, Xenon's HealingOrchestrator cascades through five increasingly powerful strategies:

  1. ResilioTree โ€” Structural tree-diff matching (free, instant)
  2. FuzzyXML โ€” Attribute similarity scoring (free, instant)
  3. OCR โ€” Text-based visual matching (free, local)
  4. Visual AI โ€” Florence-2 element detection (local GPU)
  5. LLM Deep Healing โ€” Full reasoning with GPT/Claude (API call)

Successful healings are autonomously learned via the Etalon Service, preventing the same break from recurring.


Omni-Vision (Visual Intelligence)โ€‹

Powered by Florence-2, Omni-Vision enables:

  • Coordinate-free element detection โ€” Tap elements by description, not XPath
  • Visual assertions โ€” Verify screen state without brittle selectors
  • AI-guided interaction โ€” Natural language commands for exploratory testing

Network Conditioningโ€‹

Simulate real-world network conditions during test execution:

ProfileLatencyDownloadUpload
4G20ms15 Mbps7.5 Mbps
3G100ms2 Mbps1 Mbps
Edge400ms250 Kbps150 Kbps
Offlineโ€”00

Platform-specific: Android (ADB svc), iOS Simulator (simctl network), plus proxy-level latency injection.


Webhook Notificationsโ€‹

Configure real-time alerts via Slack or generic HTTP webhooks:

  • Events: device_offline, session_failed, device_new
  • Custom templates: Use {{variable}} syntax for payload customization
  • Managed entirely through the Dashboard Settings UI

Deployment Flexibilityโ€‹

Three supported topologies:

  1. Standalone โ€” Single node with SQLite
  2. Hub-Node โ€” Distributed grid with PostgreSQL + gRPC
  3. Cloud โ€” BrowserStack, SauceLabs, LambdaTest, HeadSpin, pCloudy

Dashboard Settingsโ€‹

The V2 dashboard includes a full settings panel for:

  • AI Configuration โ€” Provider selection, model, API key testing
  • Maintenance โ€” Retention policies, cleanup schedules
  • Infrastructure โ€” Device types, session limits, timeouts

Additional Improvementsโ€‹

  • Session Heartbeat Service โ€” Automatic idle session detection and release
  • Request Logging โ€” Full HTTP request/response audit trail
  • Metrics & Profiling โ€” CPU, memory, and thermal monitoring
  • Resource Isolation โ€” Per-session resource boundaries
  • Video Pipeline โ€” MJPEG proxy with reconnection handling
  • OpenTelemetry โ€” Distributed tracing via OTLP export

Upgradingโ€‹

appium plugin update appium-xenon

See the Setup Guide and Configuration Reference for details.