Introduction to Tuya Agentic-kit

Agentic-kit is an atomic, lightweight C SDK for Physical AI devices. Integrate it into an existing firmware, operating system, or application to establish device identity, IoT management, and real-time multimodal channels between the device and the Tuya Physical AI platform.
WHERE IT RUNSMCUs, RTOSes, Linux SoCs, PCs, mobile apps, and browser environments with a native adaptation layer
WHAT IT CONNECTSAudio, images, video, text, events, commands, and tool calls
HOW IT INTEGRATESChip-independent, platform-abstracted, and atomically selectable, while preserving your existing product engineering and core business logic

What problems does it solve?​

Physical AI products need real hardware to continuously perceive the environment, understand users, and take action. Devices must contend with differences in resources, power consumption, networks, and peripherals, while the cloud handles real-time communication, Agent orchestration, models, memory, knowledge, and industry services. Agentic-kit sits between the two, consolidating the identity, connection, Session, and data interaction needed for integration into a lightweight set of interfaces.

Capability boundary

Agentic-kit handles device-side integration and the reliable flow of data, events, and results. Models, algorithms, memory, and industry services can be deployed and combined on the device, on the Tuya platform, or in a customer's own services according to product requirements.

Core capabilities​

01 / IDENTITY

Device Activation and identity

Use the product PID and device authorization code to complete Activation and obtain the official credentials required for the device to connect to the platform.

02 / REALTIME

Real-time tRTC interaction

Establish an encrypted, persistent device-cloud connection to stream multimodal data and receive AI results and Session events.

03 / MULTIMODAL

Multimodal data

Send audio, images, video, text, and events uplink; receive speech, text, images, video, and commands downlink.

04 / TOOLS

Device-side MCP

Register device capabilities such as reading sensors and controlling peripherals as tools that an Agent can call according to an explicit Schema.

05 / IOT

Device management and DPs

Provides foundational IoT capabilities including Activation, MQTT connections, Session tokens, and Data Point uplink and downlink.

06 / PORTABLE

Cross-platform adaptation with the PAL

Adapt to different chips and operating systems through networking, threading, mutex, time, and memory interfaces.

One integration model, many device types​

Agentic-kit does not constrain the product form factor. The same integration model can support voice toys, camera-based learning devices, pet companions, productivity devices, spatial assistants, and embodied robots. You can also validate it first on macOS or Linux, then port it to the target hardware.

Device typeTypical inputTypical output or actionComposable platform capabilities
Voice and companion devicesAudio, buttons, status eventsTTS, text, lighting effects, and expressionsASR, VAD, Agent, long-term memory
Vision and learning devicesImages, video, voiceRecognition results, explanations, screen contentVisual understanding, object recognition, knowledge services
Productivity devices and applicationsMeeting audio, files, screen eventsSummaries, action items, tool callsAgent, knowledge base, customer business tools
Embodied robotsVoice, vision, environment, and robot stateMovement, grasping, device linkage, acknowledgementsTask planning, PAM, MCP, authorized device ecosystem

Integration flow​

Create a productObtain a product PID on the Tuya IoT Platform and configure a default or switchable AI Agent.
Prepare the identityClaim a uuid / authkey during testing; obtain authorization codes for the project during mass production.
Activate and connectComplete Provisioning, persist devid, secret_key, and local_key, and establish the IoT and tRTC channels.
Integrate product logicHandle streaming data, Session events, and tool calls, then connect models and business services as needed.
You can start without hardware

The official examples let you validate voice, image, and MCP flows directly on macOS or Linux. Run the POSIX examples first, then implement the PAL for the target platform to separate cloud configuration issues from hardware porting issues more quickly.

What you need before starting​

InformationPurposeSource
Product PIDIdentifies a product family and its DPs, panel, and bound AgentCreate a product on the Tuya IoT Platform
uuid / authkeyFactory identity credentials held independently by each deviceTest authorization codes or mass-production authorization
Network and system adaptationProvides PAL capabilities such as TCP, threading, and memory, or uses an implementation for a supported platformPOSIX, FreeRTOS, or a custom PAL
Product interaction designDefines strategies for capture, playback, interruption, tool execution, and failure recoveryCustomer product and firmware engineering

From the SDK to platform capabilities​

The Tuya Physical AI platform organizes device-cloud communication, Agent orchestration, models, memory, knowledge, device control, and vertical perception into composable capabilities. For example, a voice flow can combine streaming ASR, device-side or cloud VAD, hotwords, and TTS; a vision product can connect to object recognition, individual pet recognition, or scene understanding; and customers can integrate their own models, private-domain knowledge, and core cloud services.

Agentic-kit provides

  • Device identity, Activation, and IoT connectivity
  • Real-time multimodal device-cloud communication
  • Session events, data callbacks, and tool interaction
  • An adaptation boundary across chips and operating systems

Compose for each product

  • Device-side or cloud perception algorithms
  • Agents, models, memory, and knowledge bases
  • MCP / A2A and customer-owned services
  • Device control, industry services, and global operations capabilities

General-purpose large models remain open: customers can select leading global models on the Tuya platform or integrate private models. For real-device Physical AI scenarios, Tuya also trains and continuously optimizes vertical models for voice, vision, physical execution, and other areas to improve specific experiences such as far-field audio capture, interference from multiple speakers, complex visual scenes, and device actions. Model names, availability, and supported platforms are subject to official release information. Vertical models are listed on the Tuya Algorithm Platform (link retained from the Chinese source; currently returns a page-not-found message).

Why connect to the Tuya Physical AI platform?​

Agentic-kit keeps device-side integration lightweight, while the Tuya Physical AI platform provides the shared foundation needed for everything from real-time interaction to global operation. Customers can select only the parts they need while retaining technical control over their models, data, and core business.

END-TO-END VOICE

Complete end-to-end voice capabilities

Organizes audio capture, VAD, streaming ASR, Agents, memory, knowledge bases, TTS, playback, and interruption into a real-time interaction flow, reducing the engineering cost of combining services from multiple providers.

OPEN CLOUD & MODEL

Open cloud and model choices

Supports leading global models as well as customer private models, private-domain knowledge, and core cloud services through open capabilities. Products can mix, replace, and evolve these choices incrementally.

GLOBAL & COMPLIANT

Designed for global operation and compliance

Supports products entering global markets with global real-time communication, device identity, encrypted transmission, and regionalized service capabilities; specific data processing and compliance strategies are implemented according to the product's markets and project configuration.

VERTICAL ALGORITHMS

Vertical models trained for real hardware

Continuously optimizes for challenges such as far-field audio, target speakers, hotwords, individual pets, complex vision, and physical execution, turning algorithm metrics into tangible Physical AI user experiences.

How to choose a device-side path​

TuyaOS (Wukong), TuyaOpen, and Agentic-kit are not three overlapping solutions. They complement one another for different product foundations and degrees of openness. Tuya defines the device-side architecture, interfaces, and component boundaries for TuyaOS (Wukong) and TuyaOpen, which include substantial connectivity, device model, AI, and general engineering code. Agentic-kit instead starts from the customer's existing architecture and provides lighter-weight atomic capabilities.

STANDARD / COMMERCIAL

TuyaOS (Wukong)

Uses Tuya's standardized product framework and mass-production system. Wukong is the AI-focused SDK for TuyaOS and suits products that need coordinated connectivity, security, device models, AI, and commercial delivery.

STANDARD / OPEN SOURCE

TuyaOpen

Uses Tuya's standardized layered framework while opening the complete source code and a rich set of components. For new projects starting from scratch, it can usually move into product feature development quickly with less foundational engineering work.

FIT YOUR STACK

Agentic-kit

Does not require adopting Tuya's complete device-side framework. It integrates into a customer's existing technology stack with fewer resources and less intrusion; customers do not need to wait for Tuya to adapt the target chip and can implement the PAL for the chip platform themselves.

Your starting pointEvaluate firstWhy choose it
You want Tuya to provide commercial SDK assuranceTuyaOS (Wukong)Follow Tuya standards for product development, mass production, and dedicated AI capabilities
You are starting from scratch and want open source codeTuyaOpenA more complete framework and component set reduces repeated foundational engineering
You have an existing technology stack or in-house frameworkAgentic-kitAdapt from the existing architecture and incrementally integrate only the device-cloud capabilities you need
Your current chip is not yet supported by an existing Tuya SDKAgentic-kitAdapt the target platform from scratch through the PAL without waiting for full framework support
RAM / Flash is constrained and runtime and storage footprints must be extremely lowAgentic-kitLighter and more atomic, so it can be trimmed to the features actually used
For a new project that prioritizes speed and has no existing technology-stack requirements, evaluate TuyaOpen first; for an established technology stack that emphasizes flexible adaptation, evaluate Agentic-kit first

If the target platform already has a network stack, compiler toolchain, and required system capabilities, and the work is limited to basic PAL and communication integration, basic Agentic-kit adaptation can be completed in as little as half a day. The time required for audio/video peripherals, Provisioning, the product state machine, and mass-production validation still depends on the specific solution.

Next steps​

© 2026 Tuya Inc.Tuya Physical AI · Agentic-kit