On December 4, Douyin Open Platform released command-line tools that let AI agents manage authorized personal Douyin accounts, create and operate AI avatars, and build interactive interest-card projects. The tools work with agent platforms that run command-line instructions, including Trae and Doubao Work, and every write needs user approval.
What the tools do
An agent connected to an account can pull the user’s posts, study content style and performance, and point out strengths, weak spots and new ideas. It can also search Douyin for reference material and turn results into research for future topics, while reviewing viewing, livestream, search, favourite and like history.
Agents can prepare actions rather than stopping at advice. For a finished video, an agent can upload the material and assemble its title, cover, description and hashtags, then publish once the user confirms. For comments, it reads replies and drafts responses in the account’s voice, sent only after approval.
AI avatars and interest cards
The AI Avatar CLI offers two routes. A simple avatar runs on Douyin’s large model, hosted by the platform, while a customized avatar connects to a developer’s own model service. Avatars can work in comments, AI chat and messages, with configurable personas, greetings, recommended questions and interactions such as quizzes.
Interest cards cover a different workflow: building works through conversation. Agents can optimize a project or generate a card from a sample or an H5 web project. The Interest Card CLI needs Node.js 22 or later, the beta @open-dy/interest-card-cli package from npm and a local Skill with the agent’s instructions.
Installation and safeguards
The account and avatar functions use douyin-open-cli, whose installation guide covers both the executable and a companion Skill. On macOS and Linux, the default Skill path is ~/.agents/skills/douyin-open-cli/, and the installer can also target Codex’s Skill directory. Users then scan a QR code in Douyin and confirm authorization.
A login stays valid for two weeks and renews automatically while active; expired or logged-out credentials need another login. For douyin-open-cli, write operations require user confirmation and a –yes flag, while –dry-run previews an action before it runs. Agents are barred from reading or requesting user cookies.
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; Windows does not support self-update.
What it changes
Douyin is among the first social platforms to give agents a route into account work. Until now, agents reached social accounts through unofficial automation or screen scraping, which platforms block and teams distrust. A CLI with permissions and confirmed writes moves agent access from a grey area into the product.
Rivals such as Meta and OpenAI run agents inside their own apps; Douyin is instead opening the platform to outside agents, with the user holding the approval switch. The limits matter too: enterprise accounts are unsupported, logins last two weeks, and the Interest Card tools remain in beta.
Why It Matters
Why it matters is the precedent. If creators can hand account work to agents on Douyin, every other social platform faces the same question from its own users. The design may become the template: agents prepare and propose, while people decide what goes out under their name.
Background
Douyin is ByteDance’s short-video app for China and the sister app of TikTok. ByteDance has pushed into agents this year, from Doubao and its Work suite to the Xiaodou assistant. The CLI is the latest step in that push, and the first to open its social app to agents.
Source: Unite.AI report and Douyin’s official CLI guide


0 Comments