Skip to content
Projects

duliangkuan/raise-an-ai has 46 GitHub stars and 3 forks. GitHot measured 0 stars in 24 hours, -57 in 7 days, and -49 in 15 days. Last checked 2026-11-25 02:24 UTC. Last push 2026-11-03.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
-57
in 15 days
-49
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.

About

养只AI · Raise an AI — 一站式养鲸鱼娘的开源平台。支持自备模型、B站探索、日记记忆与飞书互动。

AI

README.en.md

Original

🐋 Raise an AI · 养只AI

An open-source, all-in-one home for your Whale Girl AI companion
Adopt · Connect your model · Explore Bilibili · Keep memories · Chat on your phone

MIT License Node.js 24.14+ Windows x64 Preview release Last commit GitHub stars

简体中文 · Website & guides · Overview · Screenshots · Quick start · Architecture · Status · Build with us · Author · Community

Raise an AI: adopt your Whale Girl

What is Raise an AI?

Adopt, configure and spend time with a Whale Girl AI companion in one local app.

Choose her personality, connect your model and Bilibili account, and give her a daily rhythm. She can read available video material, write source-backed diaries and propose comments for your review. Pair Feishu to continue the conversation on your phone.

Your desktop and phone talk to the same companion. Persona, conversation history and memories remain local and can survive a model change. The Whale Girl is the default example; other presets and custom artwork/personas are supported. Characters and models are independent choices. Illustrations are unofficial original themes, not official provider avatars or endorsements.

A day with your Whale Girl

You Your companion
Adopt Xiaolan and choose her personality Starts a conversation using your model
Tell her you like AI tools and design Continues your shared context; explicitly save preferences that should become long-term memories
Connect Bilibili and choose a schedule and budget Searches for relevant videos and reads available metadata/transcripts
Return after her activity Finds a diary with sources and, when appropriate, a proposed comment
Edit, approve or reject the comment Attempts only the approved action, then verifies the result
Ask what she found yesterday in Feishu Continues with the same local history and memories

This is a usage scenario, not a claim of a completed real-account run. Missing transcripts are not treated as watched videos and do not produce public comments.

Screenshots

Choose your companion
Character library
Start a conversation
Chat interface
Set a daily rhythm
Schedule and budget
Share her everyday life
Companion home

See the 16-step journey. Screenshots use a separate empty data directory, not real user data.

Quick start

Windows

Download Raise-an-AI-Setup-0.1.0-x64.exe from Releases. The installer includes Node. Choose the Whale Girl, connect your API, test it and configure Bilibili. Feishu is optional and can be connected later.

The current installer is an unsigned preview. Verify it using the release's SHA256SUMS.txt.

Local web from source

Requires Node.js 24.14+:

git clone https://github.com/duliangkuan/raise-an-ai.git
cd raise-an-ai
npm ci
npm run build
npm start

Open http://127.0.0.1:4318. For development, run npm run dev and open http://127.0.0.1:5178.

Use your own Chat Completions-compatible API URL, key and model ID. Connectivity tests make real provider calls. Use DIGITAL_LIFE_DATA to choose a data directory and PORT to change the core port. Do not commit credentials or data/. The local service must remain running for activity and mobile chat.

Architecture

Raise an AI architecture

Open the SVG to zoom, or view the high-resolution PNG.

Layer Responsibility Implementation
Interfaces Local web, Windows and Feishu private chat src/web/, desktop/, feishu.mjs
Companion and model Persona, conversation, memory retrieval and compatible APIs model.mjs, store.mjs
Activity Schedule, real-source reading, diaries and drafts engine.mjs, bilibili.mjs
Actions Approval, account/content checks and post-send verification engine.mjs, actions / outbox tables
Local data SQLite, media, encrypted credentials and backups store.mjs, vault.mjs, scripts/restore.mjs

The first version is a local, single-user, single-companion app with one core process. The app controls permissions, budgets and execution. Retrieved content is data, not privileged instructions.

Features and status

Implemented: three character themes and custom imports; text-model connectivity; local conversations and scoped memory; Bilibili QR login and available transcripts; approval-based comments with verification; Feishu owner pairing/private chat; daily windows and call caps; encrypted credentials, restart handling and backups; Windows x64 packaging.

Roadmap, not implemented: QQ, WeChat, X, Douyin, macOS packaging, DSH integration, generated-video publishing, multiple pets and capture gameplay. Vision and tool-calling are not marked verified. Every public comment requires approval; unattended comments are disabled.

This is an early 0.1.0 candidate. Twenty Node tests, type checks, production build and an isolated browser journey have passed. Real-provider billing, Bilibili writes/verification and Feishu delivery still require real-account acceptance. A 72-hour soak, clean-machine installation and macOS validation are not complete. See acceptance notes.

Feishu and local data

Create a self-built Feishu app, enable the bot, configure send/receive private-message permissions, subscribe to im.message.receive_v1, select long connections and publish it to your allowed users. Enter the app credentials locally, establish the connection, then send the one-use pairing code in a private chat. Verify actual bidirectional messaging after pairing.

Commands: /活动 (explore), /暂停 (pause), /日记 (diary), /记住 内容 (remember privately), 同意 8位操作ID / 拒绝 8位操作ID (approve/reject one action). Only the paired owner's private chat can control activity. Group messages cannot claim ownership.

Windows protects the AES-256-GCM master key using CurrentUser DPAPI. Other source-run platforms use a restrictive local key file, not an equivalent OS-keychain integration. Readable exports exclude credentials; database backups contain encrypted credentials and need the original local key. Quit the app before restoring:

node scripts/restore.mjs "backup.sqlite" "original-data-directory" --app-is-stopped

Configured CNY rates estimate/reserve costs; the provider's bill remains authoritative. Without rates, costs are unpriced but daily call caps still apply. Send timeouts become uncertain and are not retried blindly. Private memories do not directly enter public comments. Keep private information out of persona settings, too.

The bundled SQLite 3.51.2 lacks the WAL-reset fix, so this version uses DELETE rollback journaling and a single-service lock. Do not put live databases on shared or file-sync drives.

Development and contributions

npm run check
npm run test:e2e
npm run dist:win

Browser tests need Python and Playwright: python -m pip install playwright, then python -m playwright install chromium. Fixtures do not ship in the desktop app and do not replace real-platform acceptance. Read CONTRIBUTING.md and third-party notices.

Repository history

On 2026-10-29, this repository transitioned from DeepInfer Studio to Raise an AI and was renamed raise-an-ai. The original code, branches and history remain in deepinfer-studio-archive, with their original license and attribution. Existing stars include the repository's earlier history.

🐋 Build Raise an AI with us

We are looking for open-source contributors and long-term collaborators to make adopting a Whale Girl companion easier and more enjoyable. Help with character interactions, memory and diaries, model and channel integrations, original artwork and animation, product design, documentation, testing or community content. Start with one improvement you care about.

Contact 风云 (Fengyun) on WeChat: FengYunAgent, with the note “Raise an AI / contributor”. You can also open an issue or submit your first PR using the contribution guide.

Scan to contact Fengyun on WeChat about contributing
Meet the maintainer · Build an open-source project together

🤝 About the author

风云 (Fengyun), creator of the WeChat publication “研究 Agent 的云,” exploring AI agents and open-source products.

Raise an AI is planned as the first open-source project of 铁大AI Lab (Tieda AI Lab). The organization is still being set up; the repository currently remains in the author's personal account.

GitHub: @duliangkuan · WeChat: FengYunAgent (mention “Raise an AI / GitHub”).

📱 Follow, connect and support

For project updates, community discussions and support. If the group code expires, contact the author via the personal WeChat code.

WeChat publication Contact the author Community group Buy a coffee ☕
WeChat publication Author WeChat Community group Support the author
研究 Agent 的云 FengYunAgent Open source and AI projects Thank you for your support

📜 License

MIT · Copyright (c) 2026 风云 (GitHub: duliangkuan). Third-party dependencies and artwork retain their respective notices.

Explore related projects

Loading…