chat lib
chat lib is a Fabric library that gives other mods a way to send messages to a local Ollama AI service from inside Minecraft.
What it does
Other mods call the library's simple API interface to exchange chat messages with an AI model. The requests run asynchronously, so a call does not block the game thread while the model answers. The library is built to integrate with a local Ollama service, which has to be installed and started separately before the calls can succeed.
Fabric API is required and must sit next to chat lib in the mods folder. It is installed on the player's side alone, so servers need nothing. Files are released for Fabric across 16 game versions, 1.20.2 – 1.21.10, and the code is licensed under the Apache License 2.0, which makes it open source.
Key features
Simple API interface
Provides a small set of calls that other Fabric mods can use to send prompts and receive replies.
Asynchronous requests
Chat calls run without blocking, so the game keeps responding while a reply from the model is pending.
Local Ollama integration
Connects to a local Ollama service to produce dialogue, keeping the model on the player's own machine.
AI chat for mods
Serves as a shared base for mods that need AI-driven chat, so each one does not have to implement the connection itself.
Compatibility
Latest build for each game version and loader.
1.21.x11 of 11 versions with builds
1.20.x5 of 5 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
Chat Icon API is a Fabric library for 1.16.5, released under the MIT License, and it is client-side only. Chat screen animation covers Fabric 1.18 – 1.19.3, is client-side only and is open source under the MIT License. SimpleChat (fork) is server-side only and targets 1.18.2 – 1.20.1, so it works on the server without a client install. chat lib instead focuses on AI chat through a local Ollama service for 1.20.2 – 1.21.10.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| chat lib | Fabric | 1.20.2 – 1.21.10 | Client-side only | 2025-10-19 |
| Chat Icon API | Fabric | 1.16.5 | Client-side only | 2021-01-25 |
| Chat screen animation | Fabric | 1.18 – 1.19.3 | Client-side only | 2023-01-11 |
| SimpleChat (fork) | Fabric | 1.18.2 – 1.20.1 | Server-side only | 2023-09-15 |
Questions
Does chat lib need Fabric API?
Does the server need chat lib installed?
Does chat lib work without Ollama?
Which game versions does chat lib support?
In the catalog
chat lib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,569 mods support Minecraft 1.21.10.
More from zhengzhengyiyi
Similar mods
What the author says
A Fabric mod library providing AI chat functionality for Minecraft mods. Integrates with local Ollama service to enable intelligent dialogue capabilities.
Official listing
- Modrinth page
- modrinth.com/mod/chat-lib
- Owner
- zhengzhengyiyi
- Published
- 2025-10-19
- Updated on Modrinth
- 2025-10-19
- Facts verified
- 2026-10-15
