VillagerGPT
by tjhorner
Villagers on a server gain a conversation option through VillagerGPT, a Fabric mod whose AI villagers can talk, haggle and propose trades.
What it does
Each villager is assigned one personality from a list in the config file, and that personality shapes how it answers. Its profession is chosen at random, and the villager is aware of the world around it: the time of day, world information, the player, its reputation score and its own name, including custom names. Players talk to a villager by chatting with it, and the conversation is powered by the same kind of large language model that ChatGPT uses. Players can haggle, and a villager can propose a trade that opens the trading menu just as a right-click would.
The mod is licensed under the MIT License and is open source, with its source code published publicly. It needs the Fabric loader, Fabric API and Fabric Language Kotlin, and it is published only for Fabric. Files cover 1.19 – 26.2, with six release versions, including 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4 and 26.2. The latest file is 2.1-fabric for 26.2, dated 2026-08-07 on the beta channel.
Key features
Villager conversations
Players talk with villagers through a language model, and conversations start and continue without a command.
Haggling and trades
A villager can settle better deals after a conversation, and can offer a trade through the normal trading screen.
Personality list
The list of personalities in config.yml sets which archetypes villagers are given, and entries can be added, removed or edited.
Villager actions
Villagers perform actions through tool or function calling, which requires a model that supports it.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Questions
Does VillagerGPT need an OpenAI API key?
Which model should be set in the config?
Does Fabric API have to be installed?
In the catalog
VillagerGPT is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 13,894 mods support Minecraft 26.2.
Similar mods
What the author says
VillagerGPT breathes new life into your server's villagers, allowing players to talk and trade with them using the same technology that powers ChatGPT. Players can have a conversation with any villager and haggle for better deals, or come up with previously impossible trades. AI villagers are aware of various aspects…
Official listing
- Modrinth page
- modrinth.com/mod/villagergpt
- Owner
- tjhorner
- Published
- 2023-04-22
- Updated on Modrinth
- 2026-08-07
- Facts verified
- 2026-10-15
