Open-source mobile test automation tool for recording, replaying, asserting and profiling Android UI flows on real devices, now with an Agent harness.
microsoft/XStudio
Hydra Lab is a framework for building your own cloud testing platform on test devices and machines you already have.
Open-source alternative to:AWS Device Farm
Firebase Test Lab
- Stars
- 1,033
- Forks
- 108
- Open issues
- 60
- Last commit
- 3 days ago
What is it?
Hydra Lab helps teams turn the test devices and machines they already own into a shared, cloud-style testing platform. It uses a center-agent design: a central Spring Boot service manages devices, test tasks and results, while agents running on machines attached to devices connect back to it.
The framework runs Android Espresso tests and Appium (Java) tests across Windows, iOS, Android and browser targets, and also supports XCTest, Maestro and Python runners according to its platform matrix. It includes a web portal for viewing connected devices, triggering runs and inspecting results, and it can store test files on local disk or Azure Blob Storage.
Beyond scripted tests, Hydra Lab offers case-free automation such as Monkey testing and smart exploratory testing that does not require hand-written test cases. A prebuilt Docker image bundles the center and an agent for quick evaluation.
Key features
- 01Center-agent architecture for managing distributed test devices.
- 02Runs Espresso and Appium (Java) tests across Android, iOS, Windows and browsers.
- 03Supports XCTest, Maestro and Python runners on the platform matrix.
- 04Web portal for device status, test task triggering and result visualization.
- 05Case-free Monkey and smart exploratory testing.
- 06Stores test files on local disk or Azure Blob Storage.
Use cases
- Mobile teams who want to run tests on their own Android and iOS devices in a shared pool.
- QA groups building an internal test lab on Windows, Mac or Linux machines.
- Teams looking for crash-finding exploratory testing without writing test cases.
Quick start
- 1
Install Docker
- 2
Pull the Uber Docker image
docker pull ghcr.io/microsoft/hydra-lab-uber:latest - 3
Run Hydra Lab container and open http://localhost:9886/portal/index.html#/
docker run -p 9886:9886 --name=hydra-lab ghcr.io/microsoft/hydra-lab-uber:latest
Things to know
- The Uber image supports only Espresso/Instrumentation tests for Android.
- Building from source requires JDK 11, npm and the Android SDK platform-tools.
- Azure Blob Storage is recommended for file storage, while the default is local file system.
In collections
Topics
FAQ
- What is XStudio?
- Hydra Lab is a framework for building your own cloud testing platform on test devices and machines you already have. Hydra Lab helps teams turn the test devices and machines they already own into a shared, cloud-style testing platform. It uses a center-agent design: a central Spring Boot service manages devices, test tasks and results, while agents running on machines attached to devices connect back to it.
- Is XStudio free to use? What license does it have?
- XStudio is open source under the MIT license. Check the license terms before using it in commercial products.
- Is XStudio still maintained?
- Actively maintained. The last commit to XStudio was on Nov 5, 2026.
- What can I use XStudio for?
- Mobile teams who want to run tests on their own Android and iOS devices in a shared pool. QA groups building an internal test lab on Windows, Mac or Linux machines. Teams looking for crash-finding exploratory testing without writing test cases.
- How do I install XStudio?
- Install Docker Pull the Uber Docker image: docker pull ghcr.io/microsoft/hydra-lab-uber:latest Run Hydra Lab container and open http://localhost:9886/portal/index.html#/: docker run -p 9886:9886 --name=hydra-lab ghcr.io/microsoft/hydra-lab-uber:latest
- Where can I get XStudio?
- The source code and installation instructions are on GitHub: https://github.com/microsoft/XStudio
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Docker image that runs Android emulators in containers, viewable through noVNC, with video recording, an MCP server and AI-agent support.
Node.js test automation framework for end-to-end, unit and component testing in browsers and mobile apps via WebDriver, BiDi and Appium.
Natural-language driven Android automation for AI coding assistants and test suites, running on real phones or emulators.
A self-hosted web app for remotely viewing, controlling and managing Android devices (and experimental iOS) from a browser.
Self-hosted software for running and automating a rack of real iPhones from a Mac, with live control and scheduled TikTok workflows.