whatisgithub

What is alios-things?

alibaba/alios-things — explained in plain English

Analysis updated 2026-06-26

4,621CAudience · developerComplexity · 4/5LicenseSetup · hard

In one sentence

AliOS Things is Alibaba's open-source operating system for small connected IoT devices like smart home sensors, supporting ARM and RISC-V chips with optional MicroPython and JavaScript programming.

Mindmap

mindmap
  root((repo))
    What It Does
      IoT operating system
      Manages device hardware
      Connects to cloud
    Supported Hardware
      ARM chips
      RISC-V chips
      HaaS dev boards
    Languages
      C programming
      MicroPython
      JavaScript
    Key Features
      OTA firmware updates
      Real-time kernel
      Networking stack
    License
      Apache 2.0
      Open source
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build firmware for a smart home sensor using AliOS Things on an ARM chip with built-in networking and cloud connectivity.

USE CASE 2

Write IoT device logic in MicroPython instead of C for faster prototyping without learning embedded C.

USE CASE 3

Add over-the-air firmware update support to a connected device using the built-in AliOS OTA module.

What is it built with?

CMicroPythonJavaScriptYAML

How does it compare?

alibaba/alios-thingsopen-sdr/openwifisnesrev/zelda3
Stars4,6214,6194,615
LanguageCCC
Setup difficultyhardhardhard
Complexity4/55/54/5
Audiencedeveloperresearcherdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires a supported HaaS development board and an embedded C toolchain, not runnable on a standard laptop or PC.

Open source under Apache 2.0, free to use and modify in commercial products as long as you include the license notice.

So what is it?

AliOS Things is an operating system from Alibaba designed for small connected devices, the kind found in smart home products, industrial sensors, and similar Internet of Things applications. An operating system is the core software that manages a device's hardware and lets other programs run on it. Unlike the operating systems on phones or computers, IoT operating systems are built to run on tiny chips with very limited memory and processing power. The system supports several types of processor chips, including ARM (common in embedded devices), RISC-V, MIPS, and C-Sky. It is built in layers: the lowest layer communicates directly with the hardware, above that sits a real-time kernel that manages timing and multitasking, and above that are networking stacks, security components, and a collection of ready-made modules for common tasks like over-the-air firmware updates, logging, and connecting to Alibaba's cloud platform. Developers can write applications for AliOS Things in C, but the system also supports JavaScript and MicroPython, which is a version of the Python programming language trimmed down to run on small chips. This makes it more accessible to developers who are not embedded systems specialists. Components are configured through YAML files, which are plain-text configuration files, so you can pick and choose which parts of the system your application needs. Alibaba's own HaaS hardware development boards are the primary supported hardware targets, with quick-start guides available for those specific devices. The project is open source under the Apache 2.0 license and hosted on both GitHub and Gitee, a Chinese code hosting platform.

Copy-paste prompts

Prompt 1
Show me how to write a simple temperature sensor application in C for AliOS Things that reads a GPIO pin and sends the value to Alibaba Cloud.
Prompt 2
Generate a YAML configuration file for an AliOS Things project that enables networking, logging, and OTA firmware updates.
Prompt 3
How do I set up a MicroPython environment on AliOS Things to read a sensor value from a GPIO pin every 5 seconds?
Prompt 4
Explain the AliOS Things kernel scheduling modes and when I should use tickless idle mode on a battery-powered IoT device.

Frequently asked questions

What is alios-things?

AliOS Things is Alibaba's open-source operating system for small connected IoT devices like smart home sensors, supporting ARM and RISC-V chips with optional MicroPython and JavaScript programming.

What language is alios-things written in?

Mainly C. The stack also includes C, MicroPython, JavaScript.

What license does alios-things use?

Open source under Apache 2.0, free to use and modify in commercial products as long as you include the license notice.

How hard is alios-things to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is alios-things for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.