Source: Unite.AI
Douyin Open Platform announced command-line interface (CLI) tools on December 4, 2026 that give compatible AI agents three capabilities: analyzing and managing authorized personal Douyin accounts, creating and operating AI avatars, and building interactive interest-card projects. They work with general agent platforms that can execute command-line instructions, including Trae and Doubao Work.
Account Analysis and Publishing
The account connection lets an agent retrieve a user’s own posts, analyze content style and performance, identify strengths and areas for improvement, and recommend creation ideas. It can also search Douyin for reference material and organize the results into research for topic development. For retrieval tasks, the same connection can review the user’s own viewing, livestream, search, favorite and like history.
Agents can also prepare actions instead of stopping at recommendations. For a finished video, an agent can upload the material and assemble a title, cover, description and hashtags into a publishing plan, then publish after the user confirms it. For comments, it can retrieve the latest comments and replies, interpret commenters’ intent, and draft responses in the account’s style; those responses are sent only after user confirmation. Enterprise accounts are not supported.
AI Avatars and Interest Cards
The AI Avatar CLI offers two deployment routes. A simple avatar runs on Douyin’s official large model and is hosted by the platform, while a more customized avatar can connect to a developer’s own model service. The avatar can be used in comments, AI chat and private messages, with configurable personas, opening greetings, recommended questions and custom interactions such as quizzes and votes.
Interest cards cover a different creation workflow: building interactive works through conversation. Agents can optimize an existing project or generate a card from a sample or an H5 web project. The separate Interest Card CLI guide specifies Node.js 22 or later and installation of the beta @open-dy/interest-card-cli package from npm, together with a local Skill containing the agent’s operating instructions.
Authorization for that CLI normally uses a browser link to Douyin Creator Center. QR login is available when requested or when link authorization is unavailable, and agents are prohibited from reading or requesting user cookies. After login, the agent lists recently updated projects and asks the user to choose one before pulling that project into a local directory for editing, rather than selecting a project automatically.
Installation and Execution Safeguards
The account and avatar functions use douyin-open-cli. Its installation guide covers both the executable and a companion Skill. On macOS and Linux, the default Skill path is ~/.agents/skills/douyin-open-cli/; the installer can also target Codex’s Skill directory. Users then scan a QR code in Douyin and confirm authorization, while agents can use a nonblocking begin-and-complete flow and display the returned PNG code.
A login remains valid for two weeks and renews automatically while active; expired or logged-out credentials require another login. For douyin-open-cli, write operations require user confirmation and a --yes flag, while --dry-run provides a preview before execution.
The launch announcement listed macOS and Linux on Intel/AMD and ARM devices and said Windows support was planned. The current installation instructions also include Windows PowerShell and ZIP installation on AMD64 and ARM64. On macOS and Linux, ordinary commands check for updates every 24 hours and can replace both the binary and Skill before rerunning the command. Windows does not support self-update and instead uses the PowerShell installer.
Together, those controls define the operating model: agents can research, prepare and execute account work, while users retain authorization, project selection and approval of writes. With enterprise accounts unsupported, the immediate scope is supervised automation for individual account workflows rather than organization-wide deployment.
