# libgdx/gdx-ai

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

Repository: https://github.com/libgdx/gdx-ai
Canonical: https://ross.abutalabs.com/products/gdx-ai
Language: Java
License: Apache-2.0
License Family: permissive
Topics: libgdx, pathfinding, steering-behaviors, formation-motion, behavior-trees, java, artificial-intelligence, framework, npc, state-machines, decision-making, gamedev, movement
Last push: 2024-10-01T16:56:55+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4378, "days_push": 701, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1300, forks 253 (observed 2026-08-28T04:04:17.508060+00:00)

## What it is
gdxAI is a Java artificial intelligence framework for game development, designed as a libGDX extension but usable independently. It provides steering behaviors, formation motion, pathfinding (A*, hierarchical), behavior trees, finite state machines, messaging, and scheduling.

## Use cases
- implement NPC steering behaviors in a Java game
- add A* pathfinding to my game characters
- build NPC decision making with behavior trees
- create finite state machines for enemy AI
- make formations of units move together
- add game AI to a libGDX project

## When to choose
- you are building a Java or libGDX game needing common game AI techniques
- you want garbage-collection-friendly AI code optimized for mobile
- you need steering, pathfinding, and decision making in one framework

## When to avoid
- your game is not on the JVM
- you need advanced AI like machine learning or GOAP planning
- you want a framework with no libGDX jar dependency

## Facets
- artifact type: framework
- maturity: stable
- function: game-engine, simulation, agent-framework
- domain: artificial-intelligence
- platform: jvm, cross-platform
- tags: steering-behaviors, pathfinding, behavior-trees, finite-state-machines, npc-ai, formation-motion, libgdx, game-development, mobile

## Member repositories
- libgdx/gdx-ai (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:17.508060+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:52:19.044248+00:00, confidence not recorded.
  - readme: https://github.com/libgdx/gdx-ai (fetched 2026-08-28T04:04:17.508060+00:00, sha 1bb3dce08818)
- Data as of 2026-08-30T08:39:29.467469+00:00.
