Back to mods
URAI project artwork

CurseForge · Minecraft mod

URAI

you are ai - respond to chat messages using the google gemini ai api

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which URAI release should I use?

Updated 6 months ago
Latest stable file urai-1.0.2-mc1.21.11.jar
Game version 1.21.11
Loader Fabric

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.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

All 1 required mods have matching files

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 listed on this file 2 pulled in by those mods
Mod Menu Optional for urai-1.0.2-mc1.21.11.jar
optional
Matching file found Matched file: v17.0.1 for 1.21.11
Text Placeholder API Needed by Mod Menu
pulled in
Matching file found Matched file: placeholder-api-2.8.2+1.21.10.jar
Fabric API Needed by Mod Menu
pulled in
Matching file found Matched file: [1.21.11] Fabric API 0.141.6+1.21.11

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.

  1. 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.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 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

Youtube Discord Twitter/X

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.

URAI Config

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 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

URAI versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.