Rose
← 返回Back

首页Home / 项目Projects / QQ 机器人「小瓜」Xiaogua QQ Bot

AI 应用 · 聊天机器人AI app · Chatbot长期运行Running始于Since 2026-10-24

QQ 机器人「小瓜」Xiaogua QQ Bot

接入 DeepSeek 等大模型的 QQ 群聊机器人:有人格、有情绪、有长期记忆,会看图、会斗图,还能自己学新梗、写周记,掉线了能自愈。A QQ group-chat bot powered by DeepSeek and other LLMs — with personas, moods and long-term memory. It reads images, trades memes, picks up new slang, writes a weekly diary and recovers from disconnects on its own.

类型Type
QQ 群聊 AI 机器人QQ group-chat AI bot
架构Stack
NapCat · AstrBot · LLM API
插件Plugins
20 个自研插件20 custom plugins
状态Status
长期在线Always on

架构Architecture

QQ ⇄ NapCat (协议端)(protocol) ⇄ AstrBot (AI 框架)(AI framework) ⇄ DeepSeek 等大模型 APIand other LLM APIs

小瓜会做什么What Xiaogua can do

  • 人格系统:本体人格加多套预设,可以模仿、切换人格。Personas: a core persona plus presets; it can switch or imitate styles.
  • 情绪与节奏:七种情绪,先判断该不该接话,再加冷却和每小时上限,不刷屏。Mood & pacing: seven moods and a “should I reply?” gate with cooldowns and hourly caps, so it never spams.
  • 长期记忆:按人、群、全局三层记忆,聊天中自动提炼。Long-term memory: per-person, per-group and global memories distilled from chats.
  • 看图和斗图:能看懂群友发的图片;两百多张带语义标签的表情包,可以自主斗图。Images & memes: understands pictures people send and picks from 200+ tagged memes on its own.
  • 自我进化:定时去 B 站学新梗,感知群里的氛围,调整说话口味。Self-evolution: periodically learns new slang from Bilibili and adapts to each group’s vibe.
  • 约定追踪和周记:记住聊天里的约定,到点提醒;每周日自动写一篇周记。Follow-ups & diary: remembers promises made in chat and checks back; writes a weekly diary every Sunday.
  • 作息与自愈:按作息睡觉、起床;看护脚本自动处理掉线、重连和扫码。Routine & self-healing: keeps a sleep schedule; a watchdog handles disconnects, reconnection and QR re-login.
  • 控制台:网页面板,查看各插件状态,一键暂停或恢复。Dashboard: a web panel showing every plugin’s status, with one-click pause and resume.

机器人涉及账号和 API 密钥,代码不公开。The bot involves account credentials and API keys, so the code is not public.