ModsFinder

chat lib

by zhengzhengyiyi

chat lib is a Fabric library that gives other mods a way to send messages to a local Ollama AI service from inside Minecraft.

FabricClient-side onlyApache License 2.0Open source1.20.2 – 1.21.10

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

  1. Simple API interface

    Provides a small set of calls that other Fabric mods can use to send prompts and receive replies.

  2. Asynchronous requests

    Chat calls run without blocking, so the game keeps responding while a reply from the model is pending.

  3. Local Ollama integration

    Connects to a local Ollama service to produce dialogue, keeping the model on the player's own machine.

  4. 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.21.101.0.0
1.21.91.0.0
1.21.81.0.0
1.21.71.0.0
1.21.61.0.0
1.21.51.0.0
1.21.41.0.0
1.21.31.0.0
1.21.21.0.0
1.21.11.0.0
1.211.0.0
1.20.x5 of 5 versions with builds
1.20.61.0.0
1.20.51.0.0
1.20.41.0.0
1.20.31.0.0
1.20.21.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
chat libFabric1.20.2 – 1.21.10Client-side only2025-10-19
Chat Icon APIFabric1.16.5Client-side only2021-01-25
Chat screen animationFabric1.18 – 1.19.3Client-side only2023-01-11
SimpleChat (fork)Fabric1.18.2 – 1.20.1Server-side only2023-09-15

Questions

Does chat lib need Fabric API?

Yes. Fabric API is listed as a required dependency and has to be installed alongside chat lib.

Does the server need chat lib installed?

No. Servers do not need it; each player installs it for their own game.

Does chat lib work without Ollama?

The library is built to integrate with a local Ollama service, so that service must be installed and started for AI replies to work.

Which game versions does chat lib support?

Files exist for 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1 – 1.21.10, the latest being 1.0.0 for 1.21.10.

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

All projects

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.
zhengzhengyiyi, on the Modrinth page

Official listing

Owner
zhengzhengyiyi
Published
2025-10-19
Updated on Modrinth
2025-10-19
Facts verified
2026-10-15

Tags