
Douyin Releases an Official CLI and Agent Skill

Douyin's Open Platform has published an official command line tool for its developer platform, together with a companion Agent Skill that AI agents can read, so that they can work with authorised Douyin accounts.

PANews reported the launch, citing the platform's own documentation. It is an official toolchain for the open platform rather than a new feature of the consumer app, and it is not one of the unofficial scrapers that carry similar names.
So the design assumes an agent is driving. Users log in by scanning a QR code in Douyin, and agents can run the login through a nonblocking pair of commands, one to begin and one to complete, instead of holding a session open.
And writes are gated. Write operations require user confirmation and a yes flag, and a dry run flag previews a command before it executes, which matters because the permissions PANews describes cover analysing posts, publishing and interacting with comments.
The install is deliberately plain. The guide lists macOS, Linux and Windows on both Intel and AMD and ARM64 hardware, with install.sh for macOS and Linux and install.ps1 for Windows, and neither script needs Node.js or administrator rights. The tool lands in a local bin directory on macOS and Linux, or under the local application data folder on Windows, with the Skill placed in the user's agents skills directory so that an agent can find it without configuration.
But the platforms are not level. Builds on macOS and Linux can check for updates through the open platform site and update themselves, while Windows does not yet support that and needs the installer run again.
And the package goes beyond posting. PANews said agents can connect an authorised account for analysing posts, publishing and handling comments, and that it also covers Douyin's AI avatar feature, for which the install guide supplies no separate English name. The documentation presents the package as an official OpenAPI tool for personal Douyin accounts, and not as software for deploying Douyin services in the cloud; third party notes about login duration and other limits are not treated here as official terms.
The tool is published as douyin-open-cli with a companion Agent Skill.
Login is by QR code, with a nonblocking flow for agents.
Write actions need confirmation and a yes flag.
The installer covers macOS, Linux and Windows without admin rights.
Windows builds cannot self update yet.
Source: Pandaily


