SecondBrain

Quick rating

SecondBrain

No reviews yet

AI-powered NPCs that chat and play like real players

No Theme
No Genre
Adventure/Exploration
NPCs
UI & Menu Tool
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Optional
Server Required

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 only
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

SecondBrain

mod-logo

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

  1. Download the Mod:
    • Get the latest version of the SecondBrain mod from the Modrinth page.
  • Install the Mod:
    • Place secondbrain.jar in your mods folder on your minecraft fabric server and client.
  • 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 /secondbrain command 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!

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

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

Setup OpenAi (Paid)

  1. 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 OPENAI and 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)

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)

  1. Download Player2 App

  • 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!

Screenshots

Gallery

  • Main Screen
    Main Screen
  • Creating an NPC
    Creating an NPC

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~24,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works