{"id":51101729,"url":"https://github.com/tuya/agentic-kit","last_synced_at":"2026-06-24T11:30:25.634Z","repository":{"id":361746064,"uuid":"1252347222","full_name":"tuya/agentic-kit","owner":"tuya","description":"Multimodal AI SDK for IoT Devices","archived":false,"fork":false,"pushed_at":"2026-06-15T07:31:05.000Z","size":6976,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-15T09:04:34.117Z","etag":null,"topics":["agent","ai","embedded","iot","multimodal-ai","sdk","tuya"],"latest_commit_sha":null,"homepage":"https://agentic-kit.tuya.com","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuya.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-28T12:34:41.000Z","updated_at":"2026-06-15T07:02:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"15a6333d-b899-4d11-a664-074f82cb255f","html_url":"https://github.com/tuya/agentic-kit","commit_stats":null,"previous_names":["tuya/agentic-kit"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tuya/agentic-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuya%2Fagentic-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuya%2Fagentic-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuya%2Fagentic-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuya%2Fagentic-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuya","download_url":"https://codeload.github.com/tuya/agentic-kit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuya%2Fagentic-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34731243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","embedded","iot","multimodal-ai","sdk","tuya"],"created_at":"2026-06-24T11:30:24.968Z","updated_at":"2026-06-24T11:30:25.626Z","avatar_url":"https://github.com/tuya.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tuya Agentic-kit\n\n智能硬件接入 Tuya AI 平台的多模态端侧 SDK，支持语音对话、图片理解/生成、设备侧 MCP。\n\n## 特性\n\n- 语音/文本对话，低延迟\n- 图片理解与生成\n- 设备侧 MCP（Model Context Protocol）支持\n- 设备数据点（DP）管理：schema 校验、本地缓存、批量上报、下行回调、状态持久化\n- 芯片和操作系统无关：macOS、Linux、FreeRTOS (ESP32)、MIPS、ARM\n- 全球化部署，支持多数据中心区域\n\n## SDK 模块\n\n| 模块 | 头文件 | 说明 |\n|------|--------|------|\n| RTC TCP Client | `tuya_ai.h` | tRTC(tuya自研RTC协议) TCP 实现，开源实现，PAL 可移植 |\n| RTC Client | `stm_open.h` | tRTC(tuya自研RTC协议) UDP 实现，预编译静态库形式 |\n| IoT Client | `iot_client.h`、`iot_dp.h` | 设备激活、MQTT 连接、会话令牌获取；数据点（DP）管理（schema 校验 / 缓存 / 上下行 / 持久化） |\n| Tuya BLE | `tuya_ble_nimble.h` | BLE 蓝牙配网（ESP-IDF） |\n\n## 环境要求\n\n| 工具 | 版本 | macOS | Linux (Debian/Ubuntu) |\n|------|------|-------|----------------------|\n| CMake | \u003e= 3.20 | `brew install cmake` | `apt install cmake` |\n\nBundled 依赖（mbedTLS、cJSON、coreHTTP、coreMQTT）会自动编译，无需单独安装。\n\n## 编译\n\n```sh\n\ngit clone https://github.com/tuya/agentic-kit.git\ncd agentic-kit\n\ngit submodule update --init --recursive\n\nmkdir -p build \u0026\u0026 cd build\ncmake .. \u0026\u0026 make\n```\n\n## 运行示例\n\n编译 POSIX 平台示例：\n\n```sh\ncmake -S examples/posix -B build\ncmake --build build\n```\n\n运行：\n\n```sh\n# 语音/文本聊天（RTC TCP Client）\n./build/tai_text_chat_demo\n\n# 设备扫码配网\n./build/scan_by_device_pair_demo\n\n# App 扫码配网\n./build/scan_by_app_pair_demo\n\n# 设备数据点（DP）管理\n./build/dp_management_demo\n```\n\n## 项目结构\n\n```\nmodules/\n  rtc-tcp-client/     # tRTC(tuya自研RTC协议) TCP 实现（开源）\n  rtc-client/         # tRTC(tuya自研RTC协议) UDP 实现（预编译库）\n  iot-client/         # 设备激活、MQTT、token、数据点（DP）管理\n  tuya-ble/           # BLE 配网模块\nexamples/\n  posix/              # macOS/Linux 示例\n  esp-idf/            # ESP32 示例\npal/                  # 平台抽象层\ncommon/               # 公共工具代码\nthird_party/          # 第三方库\ndocs-site/            # 文档站点\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuya%2Fagentic-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuya%2Fagentic-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuya%2Fagentic-kit/lists"}