Tianshu Library
by EroDragon
Tianshu Libs is a shared library that Tianshu mods need in order to run their local AI, voice and background features.
What it does
Tianshu Libs provides the runtime and common systems used across the Tianshu mod family, and it does little visible work on its own. Most of its job happens behind the scenes, supplying offline language models, speech recognition and text-to-speech to the mods that call on them. Installing it alone is rarely useful, since the features players see come from the main Tianshu modules that depend on it.
The library bundles native runtime support built on components such as llama.cpp, sherpa-onnx and ONNX Runtime, along with shared configuration and background task handling. How well it performs depends on the computer, the installed Java release, free memory, the graphics driver and the specific Tianshu modules in use. Tianshu Libs is published for Fabric, Forge and NeoForge, and it is client-side only, so servers do not need it.
The project is open source under the MIT License, and it uses open-source components whose license files and full details are on the project page. Files cover 1.20 – 26.2 across 23 release versions, with the latest build dated 2026-07-29.
Key features
Local AI runtime
Offline language models run on the player's machine through bundled native components, with no online service involved.
Voice processing
Speech recognition and text-to-speech functions are available to Tianshu mods for audio-related features.
Background task handling
Long-running jobs are processed in the background so that other game systems keep responding.
Shared configuration
Settings used by several Tianshu mods are kept in one common place rather than in each mod separately.
Compatibility
Latest build for each game version and loader.
26.x4 of 4 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Running Tianshu AI mods
Tianshu modules that add local AI assistants or voice functions use this library for their model and audio support.
Who it’s for: Players who install Tianshu mods that provide local AI, voice or background assistant features need this library. Modpack builders combining several Tianshu modules also depend on it for shared support.
Questions
Does Tianshu Libs need to be installed on servers?
Which loader should Tianshu Libs be installed with?
Why is Tianshu Libs needed when other Tianshu mods are installed?
In the catalog
Tianshu Library is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
Tianshu Libs is a required library for the Tianshu series of Minecraft mods. It does not add many visible features by itself. Instead, it provides the shared foundation that other Tianshu mods need in order to run features such as local AI, voice-related functions, background assistants, and other advanced systems.
Official listing
- Modrinth page
- modrinth.com/mod/tianshu-library
- Owner
- EroDragon
- Published
- 2026-06-17
- Updated on Modrinth
- 2026-07-29
- Facts verified
- 2026-10-15
