🧠Trailblaze¶
Trailblaze is an AI-powered UI testing framework that lets you author and execute tests using natural language.

Current Vision¶
Trailblaze enables adoption of AI powered tests in regular Android on-device instrumentation tests. This allows leveraging existing execution environments and reporting systems, providing a path to gradually adopt AI-driven tests at scale.
Because Trailblaze uses Maestro Command Models for UI interactions it enables a Longer Term Vision of cross-platform ui testing while reusing the same authoring, agent and reporting capabilities.
Core Features¶
- AI-Powered Testing: More resilient tests using natural language test steps
- On-Device Execution: Runs directly on Android devices using standard instrumentation tests (Espresso, UiAutomator)
- Custom Agent Tools: Extend functionality by providing app-specific
TrailblazeTools to the agent - Detailed Reporting: Comprehensive test execution reports
- Maestro Integration: Uses a custom on-device driver for Maestro to leverage intuitive, platform-agnostic UI interactions
Multi-Agent V3 Features¶
Trailblaze implements cutting-edge features from Mobile-Agent-v3 research:
- Exception Handling: Automatically handles popups, ads, loading states, and errors
- Reflection & Self-Correction: Detects stuck states and loops, backtracks when needed
- Task Decomposition: Breaks complex objectives into manageable subtasks
- Cross-App Memory: Remembers information across app switches for complex workflows
- Enhanced Recording: Captures pre/post conditions for more robust replay
- Progress Reporting: Real-time MCP progress events for IDE integrations
See the Architecture page for details.
License¶
Trailblaze is licensed under the Apache License 2.0.