Douyin Lets AI Agents Run Creator Accounts, With Humans Approving Every Write
Douyin's new CLI tools let AI agents analyze accounts, draft posts and comments, and run AI avatars — with users approving every write, credentials expiring after two weeks, and enterprise accounts excluded.

Why it matters
- Douyin Open Platform announced the CLI tools on December 4, 2026, compatible with agent platforms including Trae and Doubao Work.
- Login credentials last two weeks, renew automatically while active, and require fresh authorization once expired.
- Write operations require user confirmation and a --yes flag, with --dry-run offering a preview; agents are prohibited from reading user cookies.
- The Interest Card CLI requires Node.js 22 or later and the beta @open-dy/interest-card-cli npm package.
- Enterprise accounts are not supported; the launch covers macOS and Linux on Intel/AMD and ARM, with Windows now in installation instructions.
Douyin's Open Platform shipped command-line tools on December 4, 2026 that let compatible AI agents analyze, prepare and publish content on a user's personal account — with every write operation gated behind explicit human approval.
The release gives general agent platforms that can execute command-line instructions — including ByteDance's Trae and Doubao Work — three capabilities: analyzing and managing authorized personal Douyin accounts, creating and operating AI avatars, and building interactive interest-card projects. The design principle is consistent across all of them: agents research and draft, users authorize and confirm.
The stakes are straightforward. Douyin is one of the largest short-video platforms in the world, and this is a concrete step toward agentic automation inside a mainstream consumer app rather than a developer sandbox. The launch also draws a clear boundary: enterprise accounts are not supported, so the immediate scope is supervised automation for individuals, not organization-wide deployment.
What can an agent actually do with your account?
Once a user connects an account, the agent can retrieve the 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.
The connection goes further than posting analytics. An agent can review a user's own viewing, livestream, search, favorite and like history — data that reveals what a creator consumes, not just what they publish.
Agents can 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.
That last detail matters for anyone worried about bots flooding comment sections. The drafting is automated. The sending is not.
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 instead.
Avatars can be used in comments, AI chat and private messages. Each comes with configurable personas, opening greetings, recommended questions and custom interactions such as quizzes and votes — a toolkit aimed at creators who want a persistent, on-brand presence in their comment sections and DMs without staffing them around the clock.
What are 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 from an H5 web project.
The separate Interest Card CLI guide is specific about the stack. It requires 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. In other words, this tool assumes a developer audience comfortable with npm packages and local project directories.
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. Agents are prohibited from reading or requesting user cookies — a notable guardrail, since cookie theft is a common route for account hijacking on platforms with weak agent boundaries.
There's also a deliberate friction point in project selection. 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 does not select a project automatically.
What safeguards are built in?
The account and avatar functions use douyin-open-cli. Its installation guide covers both the executable and a companion Skill — the set of operating instructions the agent reads to know how to behave. On macOS and Linux, the default Skill path is ~/.agents/skills/douyin-open-cli/; the installer can also target Codex's Skill directory.
Authorization itself happens through a QR code scanned in Douyin, with the user confirming the grant. Agents can use a nonblocking begin-and-complete flow and display the returned PNG code.
Credentials have a defined shelf life. A login remains valid for two weeks and renews automatically while active; expired or logged-out credentials require another login.
Write operations carry two additional gates. They require user confirmation plus a --yes flag, and a --dry-run option provides a preview before execution. Combined, the controls define the operating model: agents can research, prepare and execute account work, while users retain authorization, project selection and approval of writes.
Which platforms are supported?
The launch announcement listed macOS and Linux on Intel/AMD and ARM devices, with Windows support described as planned. The current installation instructions have already moved past that: they include Windows PowerShell and ZIP installation on AMD64 and ARM64.
Updates work differently across platforms. On macOS and Linux, ordinary commands check for updates every 24 hours and can replace both the binary and the Skill before rerunning the command. Windows does not support self-update; it uses the PowerShell installer instead.
Why does this matter beyond Douyin?
The release is a working example of a pattern the AI industry has been debating for two years: how to give agents real write access to consumer platforms without handing them the keys. Douyin's answer is layered confirmation — credentials that expire, a --yes flag on writes, --dry-run previews, cookie access explicitly prohibited, and project selection left to the user.
It's also a signal about where agentic interfaces are heading. These capabilities arrive as CLIs, not graphical features, built for agent platforms like Trae and Doubao Work that treat the command line as their hands. Douyin is effectively shipping an agent API shaped like a terminal tool, and betting that the next wave of power users on a short-video app are agents acting on behalf of their owners.
The enterprise-account exclusion keeps the blast radius small for now. If Douyin extends the model to business accounts, the same confirmation architecture will face a harder test: organizational approvals, multi-user permissions and the higher stakes of branded content on a platform where a single bad post carries real cost.
Source: unite.ai
More from Elena Vasquez
Show full bio
Market editor covering technology and product news in artificial intelligence and machine learning at AI In Context.
1,073 articles
Related articles
- Australian firm opens the books on five months of AI agent controls
- Manus 2.0 turns the AI agent into a platform
- OpenAI Launches Workspace Agents in ChatGPT for Teams
- Two Engineers Built Stack Overflow for Agents. ChatGPT Tripled Its Signups
- OpenAI to Acquire Promptfoo and Build Red-Teaming Into Frontier