Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

LiteyukiBot v7

LiteyukiBot v7 is a protocol-neutral chatbot kernel for CPython 3.14. Native plugins run in the core process; separately distributed framework hosts and LiteyukiBot v6 plugins run in supervised child runtimes.

The v7 branch is a clean rewrite. The main branch remains the maintenance line for v6 and is not merged wholesale into v7.

The current pre-release is liteyukibot-v7==7.0.0a5. Kernel stabilization, the first bounded compatibility phase, and the first-party plugin foundation are complete. Runtime protocol v3 remains an alpha contract and may change under ADR 0011 before the first stable release.

Current Foundation

  • immutable TOML/JSON configuration with ordered includes, environment overrides, and CLI overrides;
  • Yukilog 1.x facade backed by Loguru, including structured child logs;
  • native plugin entry points, async lifecycle hooks, private storage, managed tasks, and versioned services;
  • bounded protocol-neutral event/action dispatch with per-conversation order;
  • authenticated framed JSON IPC and supervised subprocess runtimes;
  • runtime-host discovery plus a deliberately bounded v6 compatibility shim;
  • local authenticated CLI control and an optional loopback-only HTTP status API.
  • read-only kernel status plus separately distributable capability, command, resource-management, profile, help, and protected-status plugins.

Requirements

  • CPython 3.14+
  • uv
  • network access for uv to resolve PyPI dependencies

Yukilog 1.x is installed from PyPI; no sibling checkout is required. The v7 kernel distribution on PyPI is named liteyukibot-v7 and provides the liteyukibot namespace. The separately installed v6 runtime provides the liteyuki compatibility namespace.

Tool Installation

Install the v7 CLI into uv's isolated tool environment:

uv tool install --python 3.14 liteyukibot-v7
liteyuki init
liteyuki run

The commands operate on the current directory by default. Use liteyuki --workspace PATH ... to select another project. liteyukibot and ly are equivalent executable aliases. Upgrade only the v7 tool with:

uv tool upgrade --python 3.14 liteyukibot-v7

This does not replace a separately installed v6 liteyukibot distribution.

uv sync --locked
uv run liteyuki check
uv run liteyuki run

Optional kernel integrations are installed explicitly:

uv sync --extra yaml
uv sync --extra http

Framework hosts are independent packages. Install NoneBot2 with an adapter:

uv add "liteyukibot-v7-runtime-nonebot[onebot]"
# or: uv add "liteyukibot-v7-runtime-nonebot[satori]"

Install bounded v6 compatibility when legacy plugins are required:

uv add "liteyukibot-v7-runtime-v6"

Install the Essentials command layer with:

uv add "liteyukibot-v7-essentials==0.2.0a2"

This resolves liteyukibot-v7-commands and liteyukibot-v7-permissions; enable all three plugin IDs in configuration.

The optional profile layer adds persistent per-bot user nickname and language preferences. Install liteyukibot-v7-profile to resolve resources, then enable liteyukibot.resources and liteyukibot.profile before Essentials. Profile is a business plugin: its SQLite database is private to the plugin, and resources only supplies the declaration, command, and authorization boundary.

Create a project-local configuration with uv run liteyuki init; use liteyuki.example.toml as a configuration reference. CLI overrides must precede the subcommand, for example:

uv run liteyuki --config local.toml --set logging.level=DEBUG check

Initialization, encrypted runtime secrets, upgrade recovery, and configuration provenance are documented in docs/configuration.md.

Docker

The v7 image can be built locally with the optional YAML, HTTP, NoneBot, OneBot, Satori, and v6 compatibility runtime packages. It runs as a non-root user. GHCR publication is currently paused; the Docker workflow validates builds without pushing.

docker build -t liteyukibot:v7-local .
docker run --rm liteyukibot:v7-local version

When /app/liteyuki.toml is absent, the container creates the versioned default template once. Mount a configuration at that path to control a deployment, and persist /app/data, /app/cache, and /app/plugins.

Development

uv sync --locked --all-packages
uv run ruff check src tests scripts examples packages
uv run mypy
uv run pytest
uv build
uv build --all-packages --out-dir dist/workspace --clear
uv build --project examples/native-plugin --out-dir dist/examples
uv build --project examples/custom-runtime --out-dir dist/examples
uv run python -m scripts.run_developer_kit_install
uv run python -m scripts.run_permissions_install
uv run python -m scripts.run_commands_install
uv run python -m scripts.run_resources_install
uv run python -m scripts.run_profile_install
uv run python -m scripts.run_essentials_install
uv run python -m scripts.run_nonebot_runtime_install

The architecture overview is documented in docs/architecture/v7.md; accepted architecture contracts are indexed in docs/adr/README.md; the v6 compatibility boundary is documented in docs/migration-v6.md.

Release maintainers should follow docs/development/releasing.md.

Plugin and runtime authors should start with the installable examples and their focused guides:

  • examples/native-plugin and docs/development/native-plugins.md;
  • examples/custom-runtime and docs/development/custom-runtimes.md.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

liteyukibot_v7-7.0.0a5.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

liteyukibot_v7-7.0.0a5-py3-none-any.whl (69.8 kB view details)

Uploaded Python 3

File details

Details for the file liteyukibot_v7-7.0.0a5.tar.gz.

File metadata

  • Download URL: liteyukibot_v7-7.0.0a5.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for liteyukibot_v7-7.0.0a5.tar.gz
Algorithm Hash digest
SHA256 6d9595aa855022ba5f1d9ea9f87663a8e91725beb927b52d3a48811a0a91d167
MD5 b5ee4bc3a4faa1546fa4fc49c6ee89ec
BLAKE2b-256 b5c156f92dba726259d043a15ea347413ccf0f044a031d2ede86470270555b40

See more details on using hashes here.

File details

Details for the file liteyukibot_v7-7.0.0a5-py3-none-any.whl.

File metadata

  • Download URL: liteyukibot_v7-7.0.0a5-py3-none-any.whl
  • Upload date:
  • Size: 69.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for liteyukibot_v7-7.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 bd14fd9c4bd37d6d439a316aec7aa938454f68071dfeffaf966c6d5772d93722
MD5 a748d6d57c672487ed57f946d26e70f6
BLAKE2b-256 b82306e491e11282e32e5d28f6681e97054a9f972dea16190cc921c38e549a9a

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page