Skip to content
المشاريع

حول

KiraAI, a modular, multi-platform AI digital lifeform that connects Large Language Models (LLMs) and various chat adapters (QQ, Telegram...)

الذكاء الاصطناعي وتعلّم الآلة

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Characters and memory: Customize character personas and use the memory plugin to save and retrieve past interactions.
  • Visual management: Manage personas, models, platform connections, plugins, and sessions through the WebUI, with access to runtime logs and statistics.
  • Rich chat expression: Support text, images, voice messages, stickers, and more, with AI deciding how to compose messages.
  • Multi-platform connectivity: Connect to QQ, Telegram, WeChat, Discord, Bilibili, and more.

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
جارٍ جمع السجل
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

✨ KiraAI

Light up the digital soul

English | 简体中文

🧭 Documentation

Python Releases Commit Ask DeepWiki QQ群 Discord

KiraAI is a modular, multi-platform project for bringing AI characters to life. It connects various AI services (LLM, TTS, STT, image/video generation, etc.) and chat platforms (QQ, Telegram, WeChat, Discord, Bilibili, etc.).

🚀 Features

  • Characters and memory: Customize character personas and use the memory plugin to save and retrieve past interactions.
  • Visual management: Manage personas, models, platform connections, plugins, and sessions through the WebUI, with access to runtime logs and statistics.
  • Rich chat expression: Support text, images, voice messages, stickers, and more, with AI deciding how to compose messages.
  • Multi-platform connectivity: Connect to QQ, Telegram, WeChat, Discord, Bilibili, and more.
  • Flexible AI service configuration: Configure models and service providers for conversation, speech recognition and synthesis, image and video generation, and more.
  • Tools and skills: Connect tools, external services, and skills through plugins, MCP, and Skills to expand what characters can do.
  • Subagent collaboration: The main agent delegates tasks as needed to subagents with different personas, tools, and skills, coordinating their work to handle complex tasks.

📷 ScreenShots

alt text

alt text

📸 CHat screenshots

alt text

alt text

alt text

alt text

alt text

alt text

[!IMPORTANT] This project is in active development, and breaking changes may occur.

💻 Quick Start

[!NOTE] For other deployment options, see the Deployment Guide.

First of all, install Python 3.10+ and add it to the PATH environment variable. Alternatively, install uv; it can provide the preferred Python 3.11 runtime automatically.

Go to Releases and download Source code (zip) from the release tagged latest

Extract zip and run scripts/run.bat on Windows or run scripts/run.sh on Linux or Mac

🧪 Development Guide

Toggle Development Guide

📦 Requirements

  • Python 3.10+
  • Node.js 22.22.2+ or 24.15+ and npm (required to build the WebUI admin panel)
  • Windows, macOS, or Linux

🛠️ Setup

  1. Clone this repository.
  2. Enter KiraAI folder

🎨 Build the WebUI

The admin panel is a Vue 3 + Vite single-page app. Build it once before first run:

cd webui/frontend
npm install
npm run build

The Vite build emits to webui/static/dist/. At startup, the backend checks for the matching frontend dist in data/dist/ — if missing or outdated, it automatically downloads the pre-built bundle from GitHub Releases. The backend returns HTTP 503 at / if no dist is available.

For frontend development with hot-reload, run npm run dev in the same directory (Vite dev server on :3000, proxies /api and /sticker to the Python backend on :5267).

To use your local build instead of the downloaded one, pass --webui-dir and optionally skip the version check:

python main.py --webui-dir webui/static/dist --ignore-webui-version-check

Re-run npm run build after pulling frontend changes.

▶️ Run

You can start KiraAI via (venv):

  • Batch script: scripts\run.bat
  • Linux script: scripts/run.sh (make executable first)

When uv is installed, the scripts automatically use it. To create the same environment manually:

uv venv venv --python 3.11 --seed

Then install dependencies and start KiraAI:

# Windows
uv pip install --python .\venv\Scripts\python.exe -r requirements.txt
.\venv\Scripts\python.exe main.py
# macOS / Linux
uv pip install --python venv/bin/python -r requirements.txt
venv/bin/python main.py

--seed keeps pip in venv, which lets plugins install their own dependencies at runtime.

Make Linux script executable and run:

chmod +x scripts/run.sh
scripts/run.sh

⚙️ Configuration

Run the project & enter webui to configure:

  • Providers
  • Adapters
  • Persona ...

🗂️ Project Structure

Toggle Project Structure
KiraAI/
  core/               # Core modules
    adapter/           # Chat platform adapters
    agent/             # Agent executor, MCP & skill management
    chat/              # Session management & message handling
    config/            # Configuration loading & field definitions
    db/                # Database management & models
    persona/           # Persona management
    plugin/            # Plugin system
    prompts/           # Prompt templates
    provider/          # LLM provider management
    statistics/        # Statistics module
    tag/               # Tag system
    telemetry/         # Telemetry module
    utils/             # Common utilities
    workflow/          # Workflow system
  data/               # Memory, stickers, configs, plugin data
  docs/               # Documentation
  scripts/            # Launch scripts
  screenshots/        # Screenshots
  webui/              # WebUI backend & frontend
  main.py             # Main launcher

💖 Contributors

✨ Star History

RepoStars

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…