Game AI & Behavior Trees

Open-source libraries, engines, and editors for authoring NPC decision-making, behavior trees, and state machines inside game engines like Unity, Unreal, and Godot.

20 projects

See methodology for ranking rules; order uses public GitHub metrics within this scenario.

1–20 of 20

Rank Project Stars Forks
1 recastnavigation

Industry-standard navigation-mesh toolset for games

7.9K 1.8K
2 mage

XMage - Magic Another Game Engine

2.3K 931
3 lc0

Open source neural network chess engine with GPU acceleration and broad hardware support.

3.2K 603
4 beehave

🐝 behavior tree AI for Godot Engine

3.2K 170
5 forge

An unofficial rules engine for the world's greatest card game.

2.6K 1.1K
6 limboai

LimboAI - Behavior Trees and State Machines for Godot 4

3.0K 140
7 muzero-general

MuZero

2.9K 671
8 EGamePlay

一个基于Entity-Component模式的灵活、通用、可扩展的轻量战斗(技能)框架,配置可选使用ScriptableObject或是Excel表格. A flexible, generic, easy to extend, lightweight combat (skills) framework based on Entity-Component pattern. Configuration can choose to use ScriptableObject or Excel tables.

2.4K 545
9 Poker

A fully functional poker bot that scrapes tables via Open-CV or neural networks and uses genetic algorithms with Monte Carlo simulation for equity decisions.

2.5K 588
10 diamond

DIAMOND (DIffusion As a Model Of eNvironment Dreams) is a reinforcement learning agent trained in a diffusion world model. NeurIPS 2024 Spotlight.

2.1K 167
11 LLMUnity

Create characters in Unity with LLMs!

1.7K 194
12 3DWorld

3D Procedural Game Engine Using OpenGL

1.4K 115
13 godot-steering-ai-framework

A complete framework for Godot to create beautiful and complex AI motion. Works both in 2D and in 3D.

1.5K 89
14 DI-star

An artificial intelligence platform for the StarCraft II with large-scale distributed training and grand-master agents.

1.4K 127
15 godot-2d-space-game

A 2D space exploration and mining game made with Godot and our AI framework

1.1K 134
16 gdx-ai

Artificial Intelligence framework for games based on libGDX or not. Features: Steering Behaviors, Formation Motion, Pathfinding, Behavior Trees and Finite State Machines

1.3K 252
17 IAMDinosaur

🦄 An Artificial Inteligence to teach Google's Dinosaur to jump cactus

2.8K 533
18 Rainbow

Rainbow: Combining Improvements in Deep Reinforcement Learning

1.7K 294
19 NKGMobaBasedOnET

A Moba game framework based on ET with state-frame sync, predictive rollback, and dual-end behavior tree skill system.

1.0K 274
20 Machine-Learning-Flappy-Bird

Machine Learning for Flappy Bird using Neural Network and Genetic Algorithm

1.8K 392