# ashblue/fluid-behavior-tree

Behavior trees for Unity3D projects. Written with a code driven approach on the builder pattern.

Repository: https://github.com/ashblue/fluid-behavior-tree
Canonical: https://ross.abutalabs.com/products/fluid-behavior-tree
Language: C#
License: MIT
License Family: permissive
Topics: unity3d, behavior-tree, unity3d-plugin, ai, builder-pattern, unity-package-manager
Last push: 2026-05-08T21:22:43+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 8, longevity 100
- inputs: {"age_days": 3061, "days_push": 117, "days_rel": 662, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1181, forks 126 (observed 2026-08-28T04:03:54.181333+00:00)

## What it is
A code-driven behavior tree library for Unity3D built with the builder pattern and a fluent API. It includes pre-built task nodes, a runtime tree visualizer for debugging, and support for custom reusable nodes.

## Use cases
- build AI behavior trees for Unity game characters
- create NPC decision-making logic in C# without visual editors
- debug behavior trees at runtime in the Unity editor
- write maintainable game AI for large Unity projects
- define enemy AI state logic with a fluent builder API

## When to choose
- you want code-first behavior trees instead of node-graph editors in Unity
- you need a lightweight, well-tested behavior tree library with no integration overhead
- you want runtime visualization of your AI trees for debugging

## When to avoid
- you need a visual node-based behavior tree editor for designers
- your project is not built on Unity
- you need behavior trees outside of game AI contexts

## Facets
- artifact type: library
- maturity: active
- function: game-engine, simulation, developer-tools
- domain: artificial-intelligence, gaming-tools
- platform: game-engine, cross-platform
- tags: behavior-tree, unity3d, builder-pattern, ai, game-ai, fluent-api, game-development

## Member repositories
- ashblue/fluid-behavior-tree (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:54.181333+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-30T06:25:01.148422+00:00, confidence not recorded.
  - readme: https://github.com/ashblue/fluid-behavior-tree (fetched 2026-08-28T04:03:54.181333+00:00, sha bd6e68674a5c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
