Credentials. Bilibili live room settings and any account credentials must stay in local configuration and must not be committed to a shared repository.
Who it is forA live streamer on Bilibili who wants an AI companion that responds to viewers in real time.
The problemWatching chat, gifts and paid messages during a live stream while also replying to them is hard to do by hand.
The outcomeA bot that receives real-time danmaku, superchats, gifts, guards and viewer traffic events, with a local OBS overlay.
What you need first
- Node 22+
- A model endpoint that supports the Responses protocol, or a local llama-server runtime
- git, to clone the Cortina workspace for extension work
- A coding agent, for the Cortina extension workflow
Steps
- Run
corepack pnpm installin the Cortico folder. - Run
pnpm startto open the WebUI. - Add the bilibili World to your deployment from the WebUI.
- Enter your live room settings and credentials in the WebUI or your environment file.
- Add the local OBS overlay to your stream and check that events arrive.
Prompt for your agent
In the Cortico repo at <path>, enable the bilibili World for the default deployment and confirm that a test danmaku event reaches the bot. Expected output: a logged event and a bot reply. Verify that credentials are stored only in local configuration and not in committed files.
Caveat. The README lists the bilibili World's events and an OBS overlay but does not describe the exact setup steps, so check the docs for the World before you go live.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Pal-AI-Lab/Cortico and "Run a bot that reacts to Bilibili live room events"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer