aicoolies logo
MNN logo
MNN logo

MNN

Lightweight mobile and edge AI inference engine

open-sourceopen sourceupdated Jul 7, 2026
Visit Website →
Share

MNN is a lightweight, high-performance deep learning inference engine developed by Alibaba and battle-tested across 30+ Alibaba apps including Taobao, DingTalk, and Youku. It supports TensorFlow, ONNX, PyTorch, and Caffe models with optimized backends for CPU, GPU, and NPU on mobile and edge devices. MNN includes on-device LLM inference, an OpenCV-like image processing library, and Python bindings for rapid prototyping. Apache 2.0 licensed with 15K+ stars.

MNN (Mobile Neural Network) is a lightweight deep learning inference engine created by Alibaba Group, optimized for on-device AI across mobile phones, embedded systems, and edge servers. The framework supports model formats from TensorFlow, PyTorch, ONNX, and Caffe, automatically converting and optimizing them for deployment through its MNN-Converter tool. MNN achieves high performance through architecture-specific optimizations including ARM NEON, x86 AVX/SSE, Metal, Vulkan, OpenCL, and CUDA backends, selecting the optimal execution path for each target device at runtime.

In production, MNN powers AI features in over 30 Alibaba applications spanning more than 70 use cases including real-time image processing, live broadcast effects, recommendation systems, and OCR. The framework recently added on-device LLM inference capabilities, enabling large language models to run locally on mobile devices without cloud connectivity. MNN-CV provides an OpenCV-compatible image processing library built on top of MNN's inference engine, significantly reducing binary size for applications that need both neural network inference and traditional computer vision operations.

With nearly 15,000 GitHub stars and Apache 2.0 licensing, MNN supports iOS 8+, Android 4.3+, Linux, macOS, Windows, and various embedded platforms. The Python API enables rapid prototyping and model validation before deployment to mobile targets. MNN's model compression toolkit can reduce model sizes by up to 80 percent while maintaining accuracy, making it practical to ship complex models within the storage constraints of mobile applications. For teams building on-device AI features, MNN provides a battle-tested inference runtime with comprehensive platform coverage.

Pricing

Free, open-source under Apache 2.0 license

Platforms

iOS 8+, Android 4.3+, Linux, macOS, Windows, embedded

Categories

Tags

Use Cases

Alternatives

Related Tools

MCP Context Forge logo

MCP Context Forge

IBM-backed ContextForge gateway for federating MCP, A2A, REST, and gRPC APIs

MCP Context Forge is IBM’s Apache-2.0 ContextForge project for operating a gateway, registry, and proxy across MCP servers, A2A agents, REST APIs, and gRPC services. It centralizes discovery, authentication, policy controls, federation, and observability, with deployment paths through PyPI, Docker, and Kubernetes.

open-sourceOpen Source

Presidio

Open-source PII detection and anonymization for AI data flows

Presidio is an MIT-licensed privacy framework for identifying and anonymizing personally identifiable information in text, images, and structured data. It can act as a de-identification layer around LLM prompts, logs, RAG corpora, and customer-data workflows.

open-sourceOpen Source
Mergify logo

Mergify

Merge queue, CI insights, flaky-test controls, and stacked pull requests for GitHub teams

Mergify is a pull request automation platform that keeps main branches green with merge queue batching, merge protections, CI Insights, flaky-test detection, and stacked pull requests. Its Stacks workflow turns commits on one local branch into focused PR chains, helping teams review large AI-generated or feature-heavy changes without losing queue safety.

freemium
Terrateam logo

Terrateam

Open-source GitOps automation for Terraform and OpenTofu pull requests

Terrateam is open-source GitOps infrastructure orchestration for Terraform and OpenTofu pull requests. It automates plans and applies in GitHub workflows, supports monorepos and many workspaces, and adds apply-only locks, OPA/Rego policy checks, cost and drift signals, and approval controls without forcing teams into a separate IaC platform.

freemiumOpen Source
Digger logo

Digger

Open-source IaC orchestration that runs Terraform plans and applies from pull request comments

Digger is an open-source infrastructure-as-code orchestration tool for running Terraform and OpenTofu plan/apply workflows from pull request comments. It uses the team’s existing VCS and CI runners instead of adding a separate runner fleet, supports GitHub, GitLab, and Azure DevOps style workflows, and stores PR-level locks and plan cache in the user’s cloud account.

open-sourceOpen SourceTelemetry
ElevenLabs logo

ElevenLabs

Lifelike AI voice generation, cloning, and voice agents

ElevenLabs is an AI voice platform for text-to-speech, voice cloning, and conversational AI agents, built on models like Multilingual v2 and the low-latency Flash v2.5 and Turbo v2.5. Developers call its API to generate lifelike narration, clone voices from short audio samples, dub content across 30+ languages, add sound effects, and deploy real-time voice agents for customer service, IVR, and interactive apps, with SDKs for Python, JavaScript, and more.

freemium