# tuya/TuyaOpen

Next-gen AI+IoT framework for T2/T3/T5AI/ESP32/and more – Fast IoT and AI Agent hardware integration

Repository: https://github.com/tuya/TuyaOpen
Canonical: https://ross.abutalabs.com/products/tuyaopen
Homepage: https://tuyaopen.ai
Language: C
License: NOASSERTION
License Family: other
Topics: iot, tuyaopen, ai, agent, agentic-ai, aiot, chatbot, hardware, smart-hardware, tuya, asr, chatgpt, deepseek, gemini, llm
Last push: 2026-08-26T03:38:20+00:00

## Health v2 (maintenance only)
Score: 87/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 82, longevity 70
- inputs: {"age_days": 982, "days_push": 7, "days_rel": 42, "gap_med": 43.5, "n_releases_24m": 13}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1804, forks 293 (observed 2026-08-28T04:05:38.211083+00:00)

## What it is
TuyaOpen is an open-source, cross-platform C/C++ SDK and IoT OS for building AI-agent hardware on Tuya T-series MCUs, ESP32, Beken, LN882H, and Raspberry Pi. It provides layered hardware abstraction (TKL/TAL), peripheral drivers, a tos.py build system, and optional Tuya Cloud integration with multimodal AI services (ASR/TTS/KWS, LLMs like ChatGPT, Gemini, DeepSeek, and MCP-based agents).

## Use cases
- build a voice chatbot on ESP32-S3 or T5AI hardware
- flash smart switch firmware and connect devices to Tuya Cloud
- add wake-word, ASR and TTS voice interaction to embedded devices
- integrate LLM agents like ChatGPT or DeepSeek into IoT hardware
- write portable firmware that runs on T2, T3, T5AI, ESP32 and Raspberry Pi without rewrites
- prototype AIoT products with OTA updates and app pairing via Smart Life
- develop TuyaOpen projects in Arduino IDE or VS Code with AI coding agent

## When to choose
- you are building AI-powered smart hardware on supported Tuya, ESP32, Beken, or LN882H chips
- you want one codebase deployable across multiple MCU and Linux platforms
- you need built-in cloud connectivity, OTA, device auth, and voice/LLM AI services
- you plan to ship Powered-by-Tuya or Google Home / Alexa compatible devices

## When to avoid
- your project must be fully offline and vendor-independent — cloud AI features require Tuya Cloud licenses
- you target chips outside the supported hardware list
- you need a pure bare-metal SDK without Tuya ecosystem coupling
- you require a permissively licensed codebase — the license is custom (Apache 2.0 with per-device cloud fees)

## Facets
- artifact type: framework
- maturity: active
- function: sdk, agent-framework, speech-recognition, tts, llm-inference, chatbot, iot, embedded, middleware
- domain: iot, artificial-intelligence, chatbots, embedded-systems, speech-processing, hardware, self-hosted
- platform: embedded, iot, cross-platform, cli, python, c, cpp
- tags: aiot, tuya-cloud, esp32, t5ai, hardware-abstraction, ota, voice-assistant, smart-home, tos-py, arduino, ai-agents, linux

## Member repositories
- tuya/TuyaOpen (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.211083+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:21:50.344843+00:00, confidence not recorded.
  - readme: https://github.com/tuya/TuyaOpen (fetched 2026-08-28T04:05:38.211083+00:00, sha bb1e445f4586)
  - homepage: https://tuyaopen.ai (fetched 2026-08-29T11:00:47.950021+00:00, sha 1ec20af4ce1b)
  - site_page: https://tuyaopen.ai/docs/hardware/tuya-t5/develop-with-Arduino/Quick_start (fetched 2026-08-29T11:00:47.959720+00:00, sha 3931d1dab028)
  - site_page: https://tuyaopen.ai/docs/hardware/espressif/overview-esp32 (fetched 2026-08-29T11:00:47.961560+00:00, sha 1499c01af97d)
  - site_page: https://tuyaopen.ai/docs/hardware/Linux/raspberry-pi/Examples/raspberry-pi (fetched 2026-08-29T11:00:47.963677+00:00, sha 42078a0b9e3d)
  - site_page: https://tuyaopen.ai/docs/about-tuyaopen (fetched 2026-08-29T11:00:47.967266+00:00, sha b4ff90d781a8)
  - site_page: https://tuyaopen.ai/docs/hardware (fetched 2026-08-29T11:00:47.969085+00:00, sha a4ee8221b68d)
  - site_page: https://tuyaopen.ai/docs/cloud/overview (fetched 2026-08-29T11:00:47.970648+00:00, sha 74fbd2d54ed6)
  - site_page: https://tuyaopen.ai/docs/duckyclaw/ducky-quick-start-T5AI (fetched 2026-08-29T11:00:47.972325+00:00, sha 46a2ca45bdfc)
  - site_page: https://tuyaopen.ai/pricing (fetched 2026-08-29T11:00:47.965411+00:00, sha d6bbc7d854d8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
