AIAny
AI Infra2024
GitHub

Midscene

Drives UI automation from screenshots alone: describe steps in natural language and a vision model acts on what it sees, no DOM selectors. One API spans web, Android, iOS, HarmonyOS and desktop; plugs into Playwright/Vitest or runs autonomously.

Introduction

Every Selenium or Playwright suite carries the same hidden liability: it is bound to selectors that break the moment a designer renames a class or restructures a div. Midscene removes that coupling entirely — it reads the screen the way a human does, from pixels, so a test describes intent ("click the login button") rather than structure ("div.header > button:nth-child(2)").

What Sets It Apart
  • Vision-first, not DOM-first — it acts on screenshots, so one script runs against a web page, an Android app, iOS, HarmonyOS, or a desktop window without rewriting locators.
  • Natural-language primitives — aiAct performs actions, aiQuery extracts structured data, and aiAssert verifies visual state, all from plain-English instructions.
  • Bring your own model — it is a harness, not a model: plug in Qwen, Doubao, GLM, or Gemini, or self-host UI-TARS, trading cost, latency, and privacy as you see fit.
  • Two modes — drop it into an existing Playwright/Vitest pipeline, or let it run as an autonomous agent that works out the steps itself.
Who It Is For

A strong fit for teams whose UIs change fast, who test across several platforms, or who want non-engineers to author tests in prose. The tradeoff is real: every step is a model inference, so runs are slower and cost more per action than selector-based tools, and visual ambiguity can still mislead the model. If your app is a stable single web surface with a mature selector suite, classic Playwright stays cheaper and more deterministic.

Information

  • Websitegithub.com
  • OrganizationsByteDance
  • AuthorsXiao Zhou, Tao Yu, YiBing Lin
  • Published date2024/07/23

Categories

More Items

GitHub

Turns natural-language instructions into end-to-end Android automation that drives real devices and captures Logcat and screenshots. Uses a multimodal “Dynamic‑First, Coordinate‑Fallback” locator and a native MCP server for IDE integration, supporting fast Flash (3–5s/step) and verifiable Pro workflows.

Converts real repositories into verifiable, sandboxed training environments with black-box tests to train coding agents on long-horizon program reproduction. Provides Program-Env for automated environment construction and Program-Agent for a role-isolated development workflow, yielding 1,648 C/C++/Go/Rust tasks and improving benchmark performance.

GitHub
AI Agent2026

Runs a local-first AI agent runtime that drives your desktop and automates workflows — browsing, file edits, approved shell commands, document extraction, and scheduled tasks — while integrating local or cloud LLMs (llama.cpp/TurboQuant) and embedding as an HTTP service or Tauri sidecar.