CurseForge · Minecraft mod
URAI
you are ai - respond to chat messages using the google gemini ai api
Quick answer
Which URAI release should I use?
urai-1.0.2-mc1.21.11.jar targets 1.21.11 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.
Where it goes
Is URAI required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does urai-1.0.2-mc1.21.11.jar need?
urai-1.0.2-mc1.21.11.jar. Change the file and its required mods may change too.
Install Cloth Config API (Fabric/Forge/NeoForge) first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
2 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add URAI without breaking your instance.
Built for urai-1.0.2-mc1.21.11.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use urai-1.0.2-mc1.21.11.jar. It targets 1.21.11 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Cloth Config API (Fabric/Forge/NeoForge) first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside urai-1.0.2-mc1.21.11.jar. It opens that exact file at the source.
About this project
What does URAI add?
Support Me
Information
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.
Dependencies
Cloth Config API (Required)
Mod Menu (Optional, but recommended for easier config access)
Setup
To setup the mod, you must create your own Gemini API Key in Google AI Studio and enter it into the Config. Do not share your API Key with anyone. There are free and paid usage plans for Gemini - be careful about what you choose. You can track your usage in the AI Studio.
The only necessary fields in the Config for the mod to work are Mod Enabled, the API Key, Model Code, Message Delay, Max Tokens, and Prefix.
Config
Gemini Model Code - identifies what model to send api request to. Found here
Prefix - marks the start of a question for Gemini in chat. If a player's chat message contains the prefix, the contents of their chat message after the prefix will be sent to Gemini
Max Number of Tokens - determines how long Gemini's responses are. be conscious about token usage limits in AI Studio
Context Message - passed as a system instruction to Gemini (optional)
Initial Intro Message - even if it contains the prefix, it will be ignored and not sent to Gemini. this message will not be automatically sent by the mod; if you want to use it to "introduce yourself" as Gemini, you'll have to send it manually.

Troubleshooting
If you don't get any responses from Gemini in chat, check your Usage page in Google AI Studio to see if an API request was made and if there were any errors. You can also see any mod error messages in your Minecraft launcher's console.
If you see that there was an API error, try experimenting with different Gemini model codes. I've sometimes had issues with certain Gemini models but others have worked.
If the mod doesn't work no matter the Gemini model, it could be an issue with your Firewall or ISP blocking the API request. There are also certain countries where the Gemini API free and/or paid tiers are restricted.
Public Usage
if you'd like to use assets/modified versions of this mod in your own projects and publicly share them, credit me and link this page or my YouTube video.
- as long as you credit me, you may use this mod or assets from this mod in your own public social media posts, mod packs, resource packs, and bedrock ports
- please do not create new showcase webpages, download links, or claim credit for making this mod or assets from this mod.
- if you are unsure, message me on discord (L33tfox) for permission
Project description from CurseForge.
Pick your setup
URAI by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.11
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
URAI versions and loaders
urai-1.0.2-mc1.21.11.jar
22 Mar 2026
urai-1.0.1-mc1.21.11.jar
7 Jan 2026
urai-1.0.0-mc1.21.11.jar
6 Jan 2026
Looking for an older file? The official CurseForge project page is in Resources.


