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; NoneBot2 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.0a3. 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;
  • NoneBot2 plugin hosting and 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 permission, command, help, and operator-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 distribution on PyPI is named liteyukibot-v7; Python imports remain liteyukibot and liteyuki for the native and v6 compatibility namespaces.

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

Optional integrations are installed explicitly:

uv sync --extra yaml
uv sync --extra http
uv sync --extra nonebot --extra onebot
uv sync --extra nonebot --extra satori

Install the complete first-party plugin chain with:

uv add "liteyukibot-v7-essentials==0.1.0a1"

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

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

Docker

The v7 image can be built locally with the optional YAML, HTTP, NoneBot2, OneBot, and Satori integrations. 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

Mount a liteyuki.toml at /app/liteyuki.toml and persistent volumes at /app/data, /app/cache, and /app/plugins for a configured deployment.

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 scripts/run_developer_kit_install.py
uv run python scripts/run_permissions_install.py
uv run python scripts/run_commands_install.py
uv run python scripts/run_essentials_install.py

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.0a3.tar.gz (53.2 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.0a3-py3-none-any.whl (74.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: liteyukibot_v7-7.0.0a3.tar.gz
  • Upload date:
  • Size: 53.2 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.0a3.tar.gz
Algorithm Hash digest
SHA256 c705b923aa9b65cb03ed08464d9ae0bb7ab189ae545007cc433ef8fccbe7ff5d
MD5 eb8f267bef67339aef872d2d361ed4c0
BLAKE2b-256 586d5f7063b9e28d320d85c0b1e044ef0edac3deff7d0aa03894620a9c41acbc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: liteyukibot_v7-7.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 74.9 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.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 d82196022cd506d6ac32d7e71e77b49fb5bce6514b6fc42e7318fb72afef6ad6
MD5 33b0ff210a87213ebd3805f8e3fa663c
BLAKE2b-256 74d1284938e1ea5d0e511fd405a345f0346a186f6c4ae5499b90bcdbff3f8551

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