
Modrinth · Minecraft mod
SecondBrain
AI-powered NPCs that chat and play like real players
Quick answer
Which SecondBrain release should I use?
SecondBrain 3.1.7 targets 1.20.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is SecondBrain required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does SecondBrain 3.1.7 need?
3.1.7. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add SecondBrain without breaking your instance.
Built for SecondBrain 3.1.7. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 3.1.7. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 3.1.7. It opens that exact file at the source.
About this project
What does SecondBrain add?
SecondBrain

A Fabric mod that brings intelligent NPCs to your minecraft world. Create player-like characters controlled by LLMs that respond to your chat messages and perform basic player actions.
This mod works fully serverside. It must also be installed on a client for setup.
Requirements
- Minecraft Version: 1.20.1/1.21.1
- Running Ollama server OR Player2 App OR an OpenAi Key
Mod Installation
- Download the Mod:
- Get the latest version of the
SecondBrainmod from the Modrinth page.
- Get the latest version of the
- Install the Mod:
- Place
secondbrain.jarin yourmodsfolder on your minecraft fabric server and client.
- Place
- Launch Minecraft:
- Start the Minecraft client and the server, and you're ready!
Usage with Ollama/OpenAi
Note: Player must be an operator to execute the following commands
GUI
- Open the gui with the
/secondbraincommand and create/spawn, despawn/delete or edit the NPCs there. - Also edit the base configuration there.
Commands (Deprecated)
Warning: This command uses default ollama/openai settings!
Spawn NPCs:Use the/secondbrain add <npcname> <openai|ollama>(currently only ollama is supported) command to create an NPC. (Example: `/secondbrain add sailex428 OLLAMA)
Remove NPCs:Use the/secondbrain remove <npcname>command to remove an NPC from the game world.
Interact with NPCs:
- Just write in the chat to interact with the NPC.
Setup Ollama
Ollama (Local LLM)
Download Ollama:
- Visit Ollamas Website and download the installer for your operating system.
Install and Run Ollama:
- Follow the setup instructions to install.
- Start Ollama and ensure it's running in the background.
Connect to the Mod:
- Use the gui to create/edit an NPC and put in the address to your ollama server (complete url with http://...;
if you're running your ollama on your local pc then you can just use the one that's already typed in)
- Use the gui to create/edit an NPC and put in the address to your ollama server (complete url with http://...;
Setup OpenAi (Paid)
- Create API Key
- Visit OpenAi's website, sign up/log in and create a API key
- Copy the created key
- Use the Key in the mod
- Open the GUI and create an NPC with the LLM Type
OPENAIand paste key into the Key field. (The key wont be ever shared with any other clients that has access to the GUI, also not your client. It will be saved in a secondbrain config file on the server)
- Open the GUI and create an NPC with the LLM Type
Usage with Player2 App
The mod will automatically sync the selected Characters from the player2 App to NPCs in your singleplayer world.
If you updated a description/name in the player2 App you can sync these changes with the command/secondbrain player2 SYNC
It's not possible to change any configs from the Character with this mod.
Interact with NPCs
- Write messages in the chat or directly to a specific NPC
- Press and hold alt (win) or opt (macOS) key to talk directly to the LLM/AI
- Activate Text-To-Speech for any NPC in the config gui to hear the LLM/AI output
Setup Player2 (Free, Limited)
Download Player2 App
- Visit player2's website and download the App for your operating system.
Start the App and select Characters
- Start the downloaded App and select the Characters you wanna use as NPCs
License
This project is licensed under the LGPL-3.0
Disclaimer
Credits
This project utilizes components from the following projects:
Thank you to the developers of these projects for their amazing work!
Project description from Modrinth.
Pick your setup
SecondBrain by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.10
1 loader build1.21.8
1 loader build1.21.3
1 loader build1.21.1
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.1
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
SecondBrain versions and loaders
3.1.7
secondbrain-1.20.1-v3.1.7-alpha.jar
18 Apr 2026
3.1.7
secondbrain-1.21.1-v3.1.7-alpha.jar
18 Apr 2026
3.1.7
secondbrain-1.21.10-v3.1.7-alpha.jar
18 Apr 2026
3.1.7
secondbrain-1.21.11-v3.1.7-alpha.jar
18 Apr 2026
3.1.7
secondbrain-1.21.8-v3.1.7-alpha.jar
18 Apr 2026
3.1.6
secondbrain-1.21.11-v3.1.6-alpha.jar
25 Mar 2026
3.1.5
secondbrain-1.21.8-v3.1.5-alpha.jar
6 Dec 2025
3.1.5
secondbrain-1.21.10-v3.1.5-alpha.jar
6 Dec 2025
3.1.5
secondbrain-1.21.1-v3.1.5-alpha.jar
6 Dec 2025
3.1.5
secondbrain-1.20.1-v3.1.5-alpha.jar
6 Dec 2025
3.1.4
secondbrain-1.21.8-v3.1.4-alpha.jar
23 Nov 2025
3.1.4
secondbrain-1.21.10-v3.1.4-alpha.jar
23 Nov 2025
Looking for an older file? The official Modrinth project page is in Resources.