# Cross-Platform Application Migration to HarmonyOS: An Agentic Pipeline with Artifact-Derived Verification

arXiv: https://arxiv.org/abs/2610.33197 · HTML: https://mlsanity.com/paper/2610.33197/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use.
- Builds on 1 of its 10 references that are in the map.
- Submitted 23 Oct 2026.

## Placed in

- LLM agents and tool use / [Software engineering coding agents](https://mlsanity.com/agents/software-engineering-coding-agents/)

## Builds on (most cited first, 1 of 1)

- [GUIMigrator: Semantics-Preserving Transpilation from Android XML to Compose and SwiftUI](https://mlsanity.com/paper/2409.16656/) (2024)

## Abstract (arXiv)

The migration of applications written for a different platforms like Android or iOS to HarmonyOS NEXT requires a complete rewrite in ArkTS. Although LLMs automate the translation of source constructs into ArkTS, syntactic compilation is not enough and functional assurance is a critical open challenge in HarmonyOS NEXT migration. We present HMOS~Migrator, an agentic pipeline that reads an application's source code, generates an ArkTS project, and validates the result by replaying recorded interactions on a real device. We cast the scoring problem as quality estimation without a reference implementation; we score a migration using only the source application's recorded behaviour and the artifacts produced by the pipeline. We define seven weighted metrics, each constructed so that reduced measurement cannot artificially raise the score. Over twelve runs across six open-source applications, the pipeline's structural reproduction is high (completeness pct83.3--pct100.0), while on-device behaviour (pct4.3--pct63.1) and UI fidelity (pct21.1--pct63.2) remain the primary limits. Scores improve steadily over time: +0.45~points per day overall (R2=0.44, p=0.019) and +0.47 over the model-free subset (R2=0.39, p=0.029), with corresponding to fit angles of +8.4circ and +11.7circ respectively.
