Skip to content

netEdwards/CognitiveBlocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 CognitiveBlocks

CognitiveBlocks is a Minecraft mod + SDK built with the Fabric API that brings GPT-powered intelligence directly into the game world.

Imagine agents, NPCs, and in-game assistants that can understand and respond to your natural language — with memory, tools, and the ability to act in the world.
This is the start of that vision.


🧩 What It Does

  • 🤖 /chat command to talk to an AI model (OpenAI GPT)
  • 🧠 Memory for player conversations and context
  • 🌍 Real-time player state logging (biome, location, inventory)
  • 🎭 Dynamic AI personalities (friendly assistant, sarcastic gamer, etc.)
  • 🛠️ Extensible prompt system (SystemPrompt) with variable injection
  • 🔧 Foundation for future agent-driven tools and behaviors

📸 Project Vision

This is not just a mod — it's a platform:

Goal: Create controllable, autonomous AI agents in Minecraft that:

  • Understand the world state
  • Accept natural language commands
  • Execute multi-step plans (with LLM guidance)
  • Adapt to the player and environment over time

🌐 Planned Features

  • AI-controlled NPCs (companions, workers, scouts)
  • Natural language task execution
  • Pathfinding (A* with smart caching)
  • Tool use + interaction with modded content
  • Dynamic personality switching
  • In-game model diagnostics and debugging

🚀 Getting Started (Dev)

✅ Prerequisites

  • Java 17+
  • IntelliJ IDEA (recommended)
  • Minecraft 1.20.x
  • Fabric Mod Loader
  • OpenAI API Key

🛠️ Dev Setup

git clone https://github.com/yourname/CognitiveBlocks.git
cd CognitiveBlocks
# Open in IntelliJ and sync Gradle

About

A SDK and Mod development initiative to experiment and solve problems in a game world with AI.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages