Minecraft AI Bridge is a Forge 1.20.1 mod that creates a local bridge between Minecraft and external AI agents written in Python.
The goal is to allow AI systems to observe Minecraft in real time and control the game through a local TCP connection, making it possible to experiment with reinforcement learning, machine learning, autonomous agents, robotics, and LLM-powered Minecraft agents.
🔌 Local TCP connection between Minecraft and Python
🤖 Designed for AI agents and reinforcement learning
🎮 Real Minecraft action execution
👀 Real-time game state observations
🔄 Reset functionality for AI training environments
🐍 Python-compatible architecture
⚡ Low-latency local communication
🧠 Designed to support future LLM-based agent
If you find Minecraft AI Bridge useful and want to support its development, you can make a contribution through PayPhone:
Every contribution helps support future development, testing, improvements, and new AI features.
The bridge currently supports actions such as:
Move forward
Move backward
Turn left
Turn right
Jump
Other AI-controlled Minecraft actions
The mod can provide information such as:
Player position
Player health
Distance to target
Nearby blocks
Other environment information
This information can be used by an external AI agent to decide what action to take next.
Minecraft 1.20.1
│
│ Forge Mod
▼
Minecraft AI Bridge
│
│ TCP — localhost
▼
Python AI Agent
│
├── Reinforcement Learning
├── Machine Learning
└── LLM / AI Planning
The Minecraft mod acts as the body and interface, while the external Python program acts as the AI brain.
Minecraft AI Bridge can be used to experiment with:
Reinforcement learning
Autonomous Minecraft agents
AI navigation
AI-controlled characters
Machine learning research
Robotics concepts
LLM + game agents
Minecraft automation
AI training environments
Minecraft 1.20.1
Forge
Python for external AI agents
A Python AI framework such as Gymnasium or Stable-Baselines3 for reinforcement learning experiments
🚧 Early Development / Experimental
This project is actively being developed. APIs, actions, observations, and communication protocols may change in future versions.
Minecraft AI Bridge is an independent community project and is not affiliated with, endorsed by, or sponsored by Mojang Studios or Microsoft.
AI
Artificial Intelligence
Machine Learning
Reinforcement Learning
Minecraft AI
Python
Forge
Automation
Robotics