# Mugen87/yuka

JavaScript library for developing Game AI.

Repository: https://github.com/Mugen87/yuka
Canonical: https://ross.abutalabs.com/products/yuka
Homepage: https://mugen87.github.io/yuka/
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, ai, game-ai, game-development
Last push: 2026-07-23T22:10:13+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 35, longevity 100
- inputs: {"age_days": 3344, "days_push": 41, "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 1362, forks 104 (observed 2026-08-28T04:04:30.293860+00:00)

## What it is
Yuka is a standalone JavaScript library for developing Game AI, providing autonomous agent design, steering behaviors, navigation meshes, perception, triggers, and fuzzy logic. It is engine-agnostic and works with any JavaScript 3D library such as three.js or BabylonJS.

## Use cases
- add steering behaviors to moving game entities in a browser game
- implement pathfinding with navigation meshes in a JavaScript 3D game
- create state-driven and goal-driven AI agents for a web game
- give game entities vision and short-term memory perception
- use fuzzy logic to make NPC decisions smarter
- save and load game AI state via JSON serialization

## When to choose
- you are building a web-based game and need battle-tested Game AI concepts
- you want an AI engine decoupled from any particular 3D rendering library
- you need steering, pathfinding, perception, and fuzzy logic in one library

## When to avoid
- you need machine-learning-based AI rather than classic game AI techniques
- your project is not in JavaScript or a web runtime
- you need a full game engine rather than an AI-focused library

## Facets
- artifact type: library
- maturity: stable
- function: game-engine, simulation, math, serialization
- domain: artificial-intelligence, simulation
- platform: browser, cross-platform
- tags: game-ai, steering-behaviors, pathfinding, navigation-mesh, fuzzy-logic, autonomous-agents, threejs-compatible, engine-agnostic, game-development, javascript, nodejs

## Member repositories
- Mugen87/yuka (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:30.293860+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:41:28.405804+00:00, confidence not recorded.
  - readme: https://github.com/Mugen87/yuka (fetched 2026-08-28T04:04:30.293860+00:00, sha 2ecb063afd66)
  - homepage: https://mugen87.github.io/yuka/ (fetched 2026-08-29T11:59:21.022501+00:00, sha e52ee0ac7a4f)
  - registry_npm: https://registry.npmjs.org/yuka (fetched 2026-08-29T11:59:21.031421+00:00, sha 57dd365586c7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
