█

AI/TLDR

Buy me a coffee
Buy me a coffee

xiaobei

A self-hosted team of AI agents that writes, publishes and tracks social-media content for small businesses, driven entirely from a WeChat chat

Writing & MarketingOpen source
Latest
v5.7.2
Updated
20 Sep 2026
Language
Python
License
Modified Apache 2.0 (commercial licence required for multi-tenant use; commercial crawling and unauthorised scraping prohibited)

What's new

v5.7.220 Sep 2026

The v5.7.1–5.7.2 updates moved the Xiaohongshu, Douyin and WeChat Channels account-modelling system to a 2.0 architecture, turned the content producer into an expert system that xiaobei can direct, added Douyin image-and-music post publishing, and let video generation run on Alibaba Cloud Bailian's Agent Plan.

IN SHORT

What is xiaobei?

xiaobei is a social-media customer-acquisition agent built by the Wiseflow team for one-person companies and small businesses. It runs on top of the openclaw agent runtime and you talk to it through WeChat on your phone (Feishu and WeCom are also supported). It sits in the Writing & Marketing category of the AI Productivity & Writing tools and is open-source, written in Python and licensed Modified Apache 2.0 (commercial licence required for multi-tenant use; commercial crawling and unauthorised scraping prohibited).

Updated Markdown version ↗

Overview

xiaobei is a social-media customer-acquisition agent built by the Wiseflow team for one-person companies and small businesses. It runs on top of the openclaw agent runtime and you talk to it through WeChat on your phone (Feishu and WeCom are also supported). From that one chat window it writes, formats and pushes WeChat Official Account articles, creates and publishes Xiaohongshu image posts, generates posters and videos and distributes them to WeChat Channels, Douyin and Xiaohongshu, and posts to Twitter/X, Weibo and Zhihu. It can also break down trending videos from Douyin, Bilibili and Xiaohongshu links for rewriting, model the style of leading accounts in a niche, monitor the data of published posts with a daily scheduled review, and work comment sections for leads.

Phone screenshots of xiaobei in WeChat writing and pushing a WeChat Official Account article, scoring and publishing a Xiaohongshu post, and sending it to WeCom Moments
Writing, publishing and distributing posts from a WeChat chatxiaobei README ↗

Behind the single chat sits a crew of agents. The default xiaobei agent handles content operations; a built-in IT Engineer sub-agent handles operations and troubleshooting; a content producer runs the video and visual production line; and an optional sales-and-customer-service agent (sales-cs) answers pre-sales questions from a knowledge base. When one agent hits a problem it cannot solve — the README's example is an expired WeChat access token during publishing — it calls the right sub-agent itself and resumes the task, without asking the user for help.

Two chat screenshots in which the xiaobei assistant hands a git push and a browser connection error to the IT Engineer agent
The main agent delegating to the IT Engineer sub-agentxiaobei README ↗

Platform automation runs on a reworked browser stack: a fork of camoufox-cli (the anti-detect Firefox build) with added upload, fail-first session queuing and identity export, plus a set of browser skills for login management, web form filling and per-platform publishing. A built-in Smart Search skill covers 18 kinds of sources, from Xiaohongshu, Douyin and Weibo to GitHub, news and academic sites, without any API key. Models default to an Alibaba Cloud Bailian (Model Studio) plan that covers chat, image generation, text-to-speech, speech recognition and video generation from one key; Volcano Engine Ark and MiniMax are supported for video. The code is published under a modified Apache 2.0 licence that forbids commercial crawling and requires a commercial licence for multi-tenant use.

What it does

  • One WeChat chat controls everything — also works over Feishu and WeCom
  • Writes, formats and publishes to WeChat Official Accounts, Xiaohongshu, Douyin, WeChat Channels, Twitter/X, Weibo and Zhihu, and can post to WeChat Moments through WeCom
  • Trending-video breakdown and rewriting from Douyin, Bilibili and Xiaohongshu links, plus style modelling of leading accounts on Xiaohongshu, WeChat Channels, Douyin and WeChat Official Accounts
Phone screenshots of xiaobei breaking down a trending Douyin video, generating a new video, publishing it to Xiaohongshu and WeChat Channels, and running a daily data review
Trending-video breakdown, video generation, multi-platform publishing and daily reviewxiaobei README ↗
  • Tracks the data of published posts and runs a scheduled daily review
  • A crew of cooperating agents — xiaobei, IT Engineer, content producer and an optional sales-cs customer-service agent — that hand problems to each other without user involvement
  • Browser automation on a forked camoufox-cli with persistent login sessions, plus a keyless Smart Search skill across 18 source types
  • One-line installer for macOS, Linux and Windows that bundles a portable Node and pnpm, with a China-hosted mirror route

Getting started

The project recommends its one-line installer, which downloads a prebuilt tarball with a portable Node and pnpm, so nothing needs to be preinstalled. Have an Alibaba Cloud Bailian Token Plan key ready: the only manual input after the script runs is AWK_API_KEY. Recommended system is Ubuntu 22.04; WSL2, macOS (arm64 and x64) and Windows 10 1803+ are supported, with at least 8 GB RAM and 40 GB of free disk.

Install on macOS or Linux

Use the GitHub route if GitHub is reachable, or the atomgit route for networks in mainland China. Both install the same program to ~/xiaobei/ and keep runtime data in ~/.openclaw/.

bashbash
# GitHub route
bash -c "$(curl -fsSL https://raw.githubusercontent.com/TeamWiseFlow/xiaobei/master/scripts/install.sh)"
# atomgit route (mainland China)
bash -c "$(curl -fsSL https://raw.atomgit.com/wiseflow/xiaobei/raw/master/scripts/install-atomgit.sh)"

Or install on Windows

Install Git Bash first (tick "Add to PATH"), because the crew setup script needs bash, then run PowerShell as administrator. Turning on Developer Mode lets the installer create skill symlinks instead of copies.

texttext
irm https://raw.githubusercontent.com/TeamWiseFlow/xiaobei/master/scripts/install.ps1 | iex

Bind WeChat

At the end of the install the script prints a WeChat binding QR code; scan it with WeChat on your phone and confirm. To bind another account later, re-run the channel login.

bashbash
~/xiaobei/bin/openclaw channels login --channel openclaw-weixin

Run in the foreground for testing, and upgrade by re-running the installer

Debug mode starts the gateway once in the foreground instead of as a launchd/systemd service. Re-running the install script on a machine that already has ~/.openclaw/openclaw.json upgrades the program directory and leaves your data alone.

bashbash
~/xiaobei/bin/openclaw gateway run

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • A one-person company that wants its WeChat Official Account, Xiaohongshu and short-video channels kept up without hiring an operations team
  • Turning a trending Douyin, Bilibili or Xiaohongshu video into a breakdown and a new video of your own, then publishing it to several platforms at once
  • Watching how published posts perform with an automatic daily review instead of checking each platform by hand
  • Adding an AI pre-sales customer-service agent that answers from your own knowledge base
Chat transcript of the sales-cs customer-service agent answering a prospect's questions about the product and after-sales support
The sales-cs agent handling a pre-sales conversationxiaobei README ↗

How xiaobei compares

xiaobei alongside other open-source writing & marketing tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
AiToEarn★ 27.6kAn AI content-marketing agent that creates, schedules and publishes posts to 14+ Chinese and global social platforms, with an MCP server, an agent skill bundle and a self-hosted Docker stack.
InkOS★ 11.1kStory-creation agent for long novels, short fiction, scripts, storyboards, interactive film and translation, sharing one tool loop across a Studio web app, a TUI and a CLI while it keeps story state on disk.
xiaobei★ 8.7kA self-hosted team of AI agents that writes, publishes and tracks social-media content for small businesses, driven entirely from a WeChat chat
chinese-novelist★ 4.8kAn agent skill that interviews you, plans an outline, cast and chapter plan, then writes, polishes and checks a complete 10–50 chapter Chinese novel, one Markdown file per chapter.
GEOFlow★ 4.1kAn open-source, self-hosted platform for generative engine optimization that runs knowledge-grounded AI content through quality checks, human review and multi-site publishing.
md2wechat★ 3.8kCommand-line tool that AI agents can drive to turn Markdown into WeChat Official Account articles, generate covers and infographics, check readiness and create drafts.
AI Novel Writer★ 2.6kLocal-first Windows and macOS desktop app that takes a novel from premise, characters and worldbuilding through chapter blueprints, drafts, AI review and revision, using local Ollama or cloud models.
Jasper—AI platform for marketing teams that runs brand-aware content workflows, campaigns and copy at scale using specialized agents.