URAI
by L33tfox
URAI is a client-side Fabric mod that sends chat messages to Google Gemini and posts the replies back into the game chat.
What it does
A player writes a chat message that starts with a set prefix, and the mod forwards the text after the prefix to the Google Gemini API. The reply appears in chat. Each request is made over HTTP from the player's own client, so the messages go to Google directly and not through a server.
Setup needs a personal Gemini API key, created in Google AI Studio and entered into the config. Mod Menu is optional but makes the config easier to reach. The config holds only the fields the mod needs to run, letting the player set whether it is on, the key, which model to query and how fast requests are sent. Gemini access depends on the account's region and plan, and some networks or firewalls block the API.
URAI is published for Fabric only, in a single build for 1.21.11, with the latest file 1.0.2 dated 2026-03-22. It has been available since 2026-01-06. The source code is public, while the mod itself is All rights reserved and not open source.
Key features
Prefix-triggered chat
Only chat messages that begin with the configured prefix are sent to Gemini, so ordinary chat is left alone.
Configurable model and limits
The model code, maximum response tokens and message delay can be changed in the config to control reply length and request pace.
Context and intro messages
A context message can be passed to Gemini as an optional system instruction, and an initial intro message can be sent automatically or by hand.
Model troubleshooting
If an API error appears, a different Gemini model code can be tried, since some models work where others do not.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Players who want a chat assistant inside Minecraft and are prepared to create their own Google AI Studio key. Server owners who allow clients to use it should note that the mod runs at the player's own risk.
How it compares
Gemini in Minecraft is a client-side Fabric mod for 1.21 – 1.21.8 under the MIT License, so it is open source. Cassiopeia is a client-side Fabric mod for 1.21.5 – 1.21.11 and is All rights reserved, so it is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| URAI | Fabric | 1.21.11 | Client-side only | 2026-03-22 |
| Gemini in Minecraft | Fabric | 1.21 – 1.21.8 | Client-side only | 2025-08-05 |
| Cassiopeia | Fabric | 1.21.5 – 1.21.11 | Client-side only | 2026-06-06 |
Questions
Does URAI need Fabric API?
Do servers need URAI installed?
Which Minecraft version does URAI support?
Why do some Gemini model codes fail?
In the catalog
URAI is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from L33tfox
Similar mods
What the author says
this is a clientside fabric mod for 1.21.11 that makes http requests to the google gemini ai api to automatically respond to chat messages using gemini. using this mod on servers is at your own risk. Mod Menu (Optional, but recommended for easier config access)
Official listing
- Modrinth page
- modrinth.com/mod/urai
- Owner
- L33tfox
- Published
- 2026-01-06
- Updated on Modrinth
- 2026-03-22
- Facts verified
- 2026-10-15
