MaaFramework is an open automation framework that drives applications through image recognition, JSON pipelines, and optional custom modules. It targets black-box testing without source access.
Overview
MaaFramework is a rewrite of prior MAA experience into a library for black-box automation based on computer vision. Pipelines describe recognition and actions in JSON, with extensions for custom recognition or control modules in separate processes.
Core capabilities include OCR, template matching, feature detection, and deep-learning models, with tooling such as VS Code plugins, pipeline debuggers, and log analyzers in the ecosystem. Cross-platform GUI and WebUI shells built on the framework are maintained by the community for specific games and apps.
Windows builds may bundle DirectML or WebGPU inference libraries under separate licensing notes. Maintainers emphasize legal testing and automation scenarios and warn against misuse against third-party terms of service.
Developers integrate the native library through published APIs and Project Interface protocols, while non-developers can start from JSON recipes and graphical pipeline editors.
Key features
- JSON pipeline definition for automation flows
- OCR, template match, and model-based recognition
- Pluggable custom action and recognition modules
- Multi-process architecture for isolated plugins
- Ecosystem of editors, debuggers, and log tools
- Cross-platform desktop and WebUI host examples
Use cases
- Automate repetitive UI flows in closed-box apps
- Build vision-driven assistants for desktop games
- Prototype QA scripts without application source code