Works with the AI Agents you already use

    Dafeiyu Life — AI Companion QQ Bot Setup

    by 飞

    1

    Replicate the 12-day dafeiyu-life DeepSeek QQ bot on Windows or Linux (auto-detected) with LivingMemory, persona, and 3 fix plugins — using cloud image & voice via Agensi MCP or local ComfyUI & Breeze-TTS-2.

    Free

    Security scanned

    What it does

    • Builds a bot that remembers details across weeks of chat instead of just the last few lines
    • Installs a detailed personality that makes the bot talk like a real friend rather than a service bot
    • Sets up voice messaging so your bot can talk back to you in chat
    • Configures image generation so the bot can send "selfies" or pictures you ask for
    • Works on both Windows computers and Linux servers with custom setup paths for each
    • Includes three special fixes to ensure audio and messages send correctly every time

    Who it's for

    People wanting a personalized chat companion on QQ

    Give your bot a lifelike personality and a memory that actually sticks around.

    Try asking: “Set up a QQ bot with DeepSeek and long-term memory on my Windows PC.”

    Tech-savvy users with a Linux home server or VPS

    Run a high-end AI bot 24/7 with images and voice using Docker.

    Try asking: “Deploy the dafeiyu-life bot on my Linux server using Docker Compose.”

    Users without a powerful computer or GPU

    Get high-quality AI images and voice without buying expensive hardware.

    Try asking: “Set up the bot using cloud tools for images and voice.”

    Dafeiyu Life — AI Companion QQ Bot Setup

    Example session with this skill installed

    Set up the dafeiyu-life DeepSeek QQ bot on my Windows PC with long-term memory, and use cloud models for image and voice since I don't have a local GPU.

    • Read your context and instructions
    • Compiled the dafeiyu life

    Configured the

    dafeiyu-life replication plan using your full Windows QQ bot stack with

    Option A (Cloud Image & Voice via Agensi MCP) — skipping 15+ GB of local ComfyUI and Breeze model downloads.

    Setup Plan Summary

    ComponentConfigurationPort / Notes
    Bot CoreAstrBot 4.29.4 + NapCat (OneBot v11)6185 (UI), 6199 (Reverse WS)
    Brain & PersonaDeepSeek + 3,431-char persona promptReplace <OWNER_QQ> in persona.md
    Long-Term MemoryLivingMemory 2.8.2 + Ollama bge-m311434 (doc 0.65 + graph 0.35 RRF)
    Cloud Image & VoiceAgensi MCP (FLUX, GPT Image, Nano Banana, ElevenLabs, MiniMax)Copy config-templates/mcp_server.agensi.example.json into AstrBot
    Bundled Fix Pluginstts_wav_fix, local_media_uri, meme_marker_fixIncluded in custom-plugins/

    Step 1 (Start Here)

    Install

    AstrBot Launcher, download its bundled Python/Node/uv components, create an instance (leave port blank), and save the one-time PBKDF2 dashboard password.

    Next steps

    1. Verify plain-text QQ chat works through NapCat (ws://127.0.0.1:6199) before adding memory or MCP tools.
    2. Paste config-templates/livingmemory.json and config-templates/mcp_server.agensi.example.json into AstrBot, then complete the one-time Agensi OAuth login.
    3. Run python scripts/check_no_secrets.py <config-folder> before sharing any exported configs.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Build a persistent DeepSeek-powered QQ companion bot on Windows or Linux (auto-detected) with long-term memory, a 3,431-character persona, and pluggable cloud or local image & voice backends. Dafeiyu Life packages a complete 12-day verified production stack (960 user messages, 963 replies, 329 voice clips, 54 selfies, 79 long-term memories) plus an adapted Linux Docker Compose path.

    Core Stack (All Included)

    • Auto-Selected Windows or Linux Setup: Native Windows Launcher or Linux Docker Compose (docker-compose.linux.yml), with a bare-metal uv + Python 3.12 fallback when Docker is unavailable.
    • Dual-Route Long-Term Memory (LivingMemory + bge-m3): Document (0.65) + graph (0.35) RRF retrieval, FAISS indexing, 20-round summaries, daily consolidation, and 30-day archive retention.
    • Persona & Anti-Impersonation Rules: Short casual QQ-style replies, daily routines, and strict owner verification.
    • 3 Bundled Fix Plugins (Verified on AstrBot v4.30): astrbot_plugin_tts_wav_fix (WAV header repair + EOS tail retry), astrbot_plugin_local_media_uri (bypasses 50 MB WebSocket limit for >3 MB audio), and astrbot_plugin_meme_marker_fix.
    • NapCat Anti-Disconnect & Secret Scanner: Verified OneBot heartbeat/reconnect values, proxy DIRECT bypass, QZone cookie-TTL fixes to prevent [KickedOffLine] drops, plus check_no_secrets.py (python3 -B) for credential safety.

    Pluggable Image & Voice Backends (Steps 8–9)

    • Option A — Cloud via Agensi MCP (Recommended for New Users / No GPU): Drop mcp_server.agensi.example.json into AstrBot to connect FLUX, GPT Image, Nano Banana, ElevenLabs, MiniMax, and Search the web directly — no 15+ GB local model downloads and seconds per generation.
    • Option B — Local GPU (Zero Marginal Cost): Run ComfyUI (moss_t2i_api.json) and Breeze-TTS-2 locally on an 8 GB+ VRAM GPU with zero per-call fees and no watermarks.

    Based on the open-source GitHub repository le12377/dafeiyu-life (full 12-day production metrics, docs, and redacted configs).

    Requires Windows 10/11 for full bot deployment. Local image generation requires 8GB+ VRAM. Character memory is global and not separated by user ID.

    Built for AstrBot v4.29+ and NapCat OneBot v11. Supports Windows native install or Linux via Docker Compose. Uses LivingMemory for RAG-based long-term storage with FAISS and Ollama (bge-m3) embeddings. Integrates with DeepSeek API for chat and either Agensi MCP or local ComfyUI/Breeze-TTS for media generation. Includes custom Python fix plugins for WAV headers and large file handling via file URIs.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    • Free with an Agensi account

    Software
    PythonRemote MCPNode.jsGit

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files
    Listed3 days ago
    Updated1 day ago

    What's inside

    Frequently Asked Questions

    This skill provides a complete pipeline for creating a lifelike AI companion. It solves the problem of robotic interactions by offering a 3400-character persona system and a dual-route memory retrieval logic that prevents the bot from forgetting past conversations.

    Users can choose between a cloud-first mode that requires no local hardware or a full Windows deployment mode. For the cloud-first option, you only need your agent and an Agensi balance. For the full 24/7 QQ bot, you will need a Windows 10 or 11 PC, a spare QQ account, and a DeepSeek API key.

    You receive verified persona templates, configuration files for long-term memory systems, and specialized fix plugins for audio and image transfers. It also includes optimized prompt engineering for anime-style images and workflows for synthesizing casual, character-aligned voice lines.

    You can ask your agent to generate a character selfie using Danbooru-style prompts or to synthesize a casual voice reply. If you want a permanent presence, ask your agent to guide you through the 12-step setup for a persistent QQ bot using the provided Windows orchestration files.

    This skill does not host the 24/7 bot on Agensi servers; the persistent version must run on the user's own Windows hardware. Additionally, it does not provide the actual local model weights, API keys, or pre-existing chat databases from the creator.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free