# Tencent/behaviac

behaviac is a framework of the game AI development, and it also can be used as a rapid game prototype design tool. behaviac supports the behavior tree, finite state machine and hierarchical task network(BT, FSM, HTN)

Repository: https://github.com/Tencent/behaviac
Canonical: https://ross.abutalabs.com/products/behaviac
Homepage: http://www.behaviac.com/
Language: C#
License: NOASSERTION
License Family: other
Topics: bt, behavior-tree, behavior-trees, fsm, htn, game, unity, game-ai
Last push: 2023-07-07T07:25:48+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3572, "days_push": 1153, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3043, forks 815 (observed 2026-08-28T04:07:39.402682+00:00)

## What it is
behaviac is a game AI development framework from Tencent supporting behavior trees, finite state machines, and hierarchical task networks. It includes a Windows-only visual designer for authoring and debugging behaviors, with C++ and C# runtime libraries that run on all major platforms including Unity.

## Use cases
- design NPC AI with behavior trees for a Unity game
- implement enemy state machines using FSM or HTN
- rapidly prototype game AI logic in a visual editor
- share behavior definitions between client and server game code
- debug game AI behaviors in real time during play

## When to choose
- you need behavior trees, FSMs, or HTN for game AI in C++ or C#/Unity
- you want a visual designer with live debugging for game behaviors
- you need cross-platform runtime support for client and server game AI

## When to avoid
- you need a designer on macOS or Linux (designer is Windows-only)
- you are building non-game agent systems better served by modern agent frameworks
- you need a project with frequent updates and active community maintenance

## Facets
- artifact type: framework
- maturity: maintenance
- function: game-engine, simulation, developer-tools
- domain: artificial-intelligence, gaming-tools
- platform: windows, cpp, c, cross-platform
- tags: behavior-tree, fsm, htn, game-ai, unity, visual-designer, csharp, game-development, linux, macos, android, ios

## Member repositories
- Tencent/behaviac (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:39.402682+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-29T18:46:50.605179+00:00, confidence not recorded.
  - readme: https://github.com/Tencent/behaviac (fetched 2026-08-28T04:07:39.402682+00:00, sha ad7755bc0779)
- Data as of 2026-08-30T08:39:29.467469+00:00.
