Douyin Opens Accounts and AI Avatars to CLI-Driven AI Agents
Douyin Open Platform's December 4, 2026 CLI launch lets AI agents analyze accounts, draft posts and run avatars — while users approve every write and enterprise accounts stay off-limits.
By Amara Osei
3 min read

What's News
- Douyin Open Platform announced the CLI tools on December 4, 2026 for agent platforms including Trae and Doubao Work.
- Login credentials last two weeks and renew automatically while active, but require fresh authorization once expired.
- Write operations in douyin-open-cli require user confirmation plus a --yes flag, with --dry-run for previews.
- AI avatars run on Douyin's hosted model or connect to a developer's own model service.
- Enterprise accounts are not supported, limiting scope to individual account workflows.
Douyin Open Platform shipped command-line interface tools on December 4, 2026 that let compatible AI agents manage authorized personal accounts, run AI avatars, and build interactive interest-card projects. The tools work with general agent platforms that can execute command-line instructions, including Trae and Doubao Work. Every write operation requires user confirmation before it executes.
The launch defines a clear operating split: agents research, prepare and execute account work, while users retain authorization, project selection and approval of writes. Enterprise accounts are not supported, so the immediate scope is supervised automation for individual workflows rather than organization-wide deployment.
What can agents actually do on an account?
The account connection gives an agent wide analytical reach. It can 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 results into research for topic development. For retrieval tasks, the connection extends to the user's own viewing, livestream, search, favorite and like history.
Agents don't stop 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 go out only after user confirmation.
How do the AI avatars work?
The AI Avatar CLI offers two deployment routes. A simple avatar runs on Douyin's official large model and is hosted by the platform. A more customized avatar can connect to a developer's own model service.
Avatars can operate in comments, AI chat and private messages, with configurable personas, opening greetings, recommended questions and custom interactions such as quizzes and votes. That positions Douyin's hosted model as the low-friction default, with developer-owned models as the upgrade path.
What about interest cards?
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 on request or when link authorization is unavailable. 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. It cannot select a project automatically.
What safeguards govern installation and writes?
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 stays valid for two weeks and renews automatically while active. Expired or logged-out credentials require a fresh login and fresh authorization. For douyin-open-cli, write operations demand both user confirmation and a --yes flag, while --dry-run previews a command before execution.
The launch announcement listed macOS and Linux on Intel/AMD and ARM devices and called Windows support planned. Current installation instructions already 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 skips self-update and relies on the PowerShell installer instead.
For Douyin, the move pushes agentic AI from chat interfaces into direct account operations — with two-week renewable credentials, mandatory write approvals and a cookie ban drawing the lines that will determine how far agent adoption can go.
Source: unite.ai
More from Amara Osei
Show full bio
Senior reporter covering companies, deals and strategy in entrepreneurship, startups and venture funding at Business Bearings.
3,132 articles