Skip to content
Projects

About

本地 AI 伙伴框架:同一个大脑,连接不同渠道,学会更多本事。One AI companion across channels, with persistent memory and plugin skills.

AI & Machine Learning

How these counts are measured

43 stars5 Forks +1 in 24h

Measured star growth

in 24h
+1
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

WhaleLife

简体中文 · English

One brain. Different channels. More skills.

WhaleLife is a self-hosted AI companion framework. Talk to it on QQ or in the web console, then add plugins that let it browse the web, explore Bilibili, or use a computer. The core manages its persona, sessions, and memory, so those channels and capabilities can serve the same companion.

Get started · Explore plugins · Documentation · Report an issue

A different place to chat. The same companion.

One brain: persona, session, and memory connect QQ, the web console, and plugin capabilities

Illustrated example with fictional dialogue. Install the QQ plugin and configure QQ and the web console to use the same persona and session. Separate sessions keep their own history by default.

Tell it on QQ, “Let's go to the beach on Saturday. Remember the camera.” Back in the web console, ask, “Where are we going on Saturday?” With the same persona and session, it can pick up that earlier conversation. Add a browsing plugin, and it can look up the destination and use what it finds in the conversation.

Plugins are new skills it learns. Adding a chat channel or a tool lets you keep the existing persona and session; plugins can also record actual experiences for later conversations. “One brain” refers to that shared persona and memory. You can still change models or choose different models for different tasks.

You choose the model and edit the persona. Changing a persona keeps the current session unless you explicitly create a new one. Automatic diary summarization is off by default; you can enable it at a context-usage threshold you choose. Diary entries then replace the corresponding messages in the model's context while the original records remain available. Model context limits still apply.

Get started

You will need Node.js 24 or later and access to a model service. Configure your own cloud API or local OpenAI-compatible endpoint; the model must support the chat and tool-calling features you use. Cloud providers charge according to their own pricing. Running the console locally does not make cloud model requests local.

The interface and most detailed documentation are currently in Chinese. The menu labels below match the console so you can follow along.

Install manually

  1. Download this repository, or clone it:

    git clone https://github.com/iinukami/whalelife.git
    cd whalelife
    npm ci
    
  2. For a new installation, create a config directory and copy config.example.json to config/config.json. Keep your existing configuration when upgrading.

  3. Start WhaleLife in a terminal:

    npm start
    

    On Windows, you can also double-click start.bat. Open the local console. Keep the terminal open while WhaleLife runs; press Ctrl+C to stop it.

  4. Open 模型服务 (model services) and add your connection and chat model. In 使用配置 (active configuration), select the model and persona. Open 对话 (chat) to begin.

The default persona is 鲸鲸 (Jingjing). Use 人格配置 (persona settings) to edit it or create your own. Memory folders are created on first startup. Plugin requirements vary; check each plugin's documentation for supported systems and dependencies.

Let DSH help you install

  1. Download DeepSeek Harness (DSH) for desktop from the DeepSeek website.

  2. After configuring DSH, start a new chat and send:

    Please install WhaleLife from https://github.com/iinukami/whalelife . Install only the core, without plugins. Then start it in the foreground and give me the local console URL.
    

Update an existing installation

In 概览 (overview), choose 检查更新 (check for updates), review the release, then choose 更新并重启 (update and restart). Updates preserve configuration, personas, memory, and installed plugin data. Keep enough disk space for the update backup. For older installations and recovery details, see the usage guide (Chinese).

Add new capabilities

Open 插件商店 (plugin store) from 概览 (overview) or 插件管理 (plugin management). Review the selected version and dependencies, then confirm installation. Manage settings, updates, and enable/disable controls in the console.

Plugin What it adds
QQ Send and receive QQ messages using a WhaleLife session.
Qzone Browse and interact with Qzone; requires the QQ plugin.
Autonomy Manage intentions and initiate actions using installed capabilities.
Gallery Store and organize images for use by the model and other plugins.
Web browsing Search and read web pages.
Bilibili Browse videos and use configured interactions; requires the web browsing plugin.
Audiovisual understanding Prepare images, video frames, and audio for model understanding.

Plugins are maintained in separate repositories and installed separately. Platform accounts, model support, and other dependencies are described in each plugin's documentation.

Browse the plugin catalog · Open the local plugin store

Documentation and contributing

Read more Covers
Usage guide Setup, updates, and plugin management.
Memory Conversation history, optional diaries, context limits, and usage estimates.
Project status and architecture Implemented capabilities and current limitations.
Plugin contract Public interfaces and compatibility requirements.
Community plugin submissions Packaging, review, and store inclusion.

These detailed guides are currently in Chinese. For plugin development, start with the plugin development rules and public contract. For core contributions, read the repository rules and discuss the scope in an issue before starting a substantial change.

Questions, bug reports, and community plugins are welcome. QQ community group: 962935021.

Explore related projects

Loading…