Website manual

Create an account, build a tree, watch it run in 3D, and share it.

1. Create your account

  1. Open Sign up.
  2. Choose a username (3–32 letters, digits, _ or -). It is your public name on trees, comments and forum posts.
  3. Enter your email, your date of birth and a password (at least 10 characters, with upper and lower case letters and a number).
  4. Tick the box confirming you are 18 or older. The age check is enforced on the server too, so accounts for under-18s cannot be created.
  5. We email you a confirmation code. Enter it on the confirm page to activate your account, then sign in.

Forgot your password? Choose Forgot your password? on the sign-in page, enter your username or email, then enter the code we send and a new password.

2. Explore (no account needed)

Explore is a live 3D world. Three agents run behavior trees right in your browser:

  • Patroller walks a loop of waypoints.
  • Guard patrols, but chases and attacks the intruder when it gets close.
  • Coward runs away from the intruder, and heals when it is safe.

Try this:

  • Click the ground to move the red intruder and watch the Guard react.
  • Drag the health slider down and see how the trees change what they do.
  • Click an agent (or its name in the side panel) to see its tree. The coloured dot beside each node shows what it is doing right now: yellow is running, green succeeded, red failed.
  • Drag to orbit the camera, scroll to zoom.

Choose a scene

The scene selector on Explore lists the built-in scenes. Each scene declares its own controls.

Demo scene 1 is the patrol-and-intruder scene above. Controls: the health slider and the clickable intruder.

Demo scene 2 is a combat scene: four allied Troopers against an enemy Commander, two Skirmishers and a Shieldbearer. These are generic stand-ins with their own trees, not characters from any game. Controls: a damage timer.

  • Toggle the timer on or off.
  • Period sets seconds between ticks, from 1 to 20 (default 5).
  • Damage is taken per tick (default 10).
  • Target is the selected agent, or every agent of one faction.

What to watch for:

  • A Trooper holds, takes cover when under fire, and retreats once its health falls below 30 percent.
  • A Skirmisher flees when its Commander falls.
  • A Shieldbearer faces the nearest threat and advances.
  • The Commander charges, then retreats to recharge when its health is low.

Drain the enemy faction with the timer and watch the Skirmishers’ trees react. Each tree stays under 25 nodes. Here is the Trooper’s shape, trimmed to its core (the full file is examples/trooper.beetree.yaml):

version: "1.0"
metadata:
  name: trooper-core
  description: "Retreat when hurt, otherwise hold"
tree:
  type: selector
  name: trooper_root
  children:
    - type: sequence
      name: retreat_when_hurt
      children:
        - type: condition
          name: health_low
          node: IsHealthBelowThreshold
        - type: action
          name: retreat
          node: RetreatToRally
    - type: action
      name: hold_position
      node: HoldPosition

Scene 2 is inspired by a beach-landing style firefight; see the credit on References.

Demo scene 3: one tree, many agents

A squad tree ticks once per frame, and each leaf names the agent it acts on with a slot: leader, flanker or support. The scene gives each of its three agents one slot, so a single tree drives all of them. A leaf with no slot acts on the leader.

A Leader, a Flanker and a Support all run the same squad tree: the leader holds, the flanker closes in on the intruder, the support follows the leader. Each agent’s label shows its slot. Controls: the clickable intruder. See One tree, several agents for the format.

3. Build a tree

Open Build and choose New tree. (You need to be signed in.) Everything you make later lives under My trees.

The builder has a live 3D preview on the right, running your tree as you edit it.

Design tab

  • Select a node in the outline, choose a type from the dropdown, and press Add child.
  • Use Remove, ↑ and ↓ to delete and reorder.
  • Edit the selected node’s name, implementation id (the class or function your engine provides), description and parameters (a JSON object, such as {"seconds": 2}).
  • Warnings appear under the Save button as you build, for example when a sequence has no children.

YAML tab: the same tree as text. Edit it and press Apply YAML.

Engine code tab: pick Unity, Unreal or Godot and press Generate to see the code your engine would use.

Press Validate to run the server’s validator, then Save tree. Unsaved drafts of new trees are remembered in your browser.

Make the preview act out your tree

The preview understands common game-AI names. Name your leaves with words like these and the character will do something visible:

Words in the nameBehaviour
can_see_target, has_target, detectCondition: is the intruder within about 12 metres?
in_rangeCondition: is the intruder within melee reach?
health_low, is_dyingCondition: is health below 30?
chase, pursue, move_to_targetRun toward the intruder
attack, strike, meleeSwing at the intruder (fails if too far away)
shoot, fire, rangedRanged attack with a projectile
flee, run_to_cover, retreatSprint away
patrol, move_to_waypointWalk to the next waypoint
next_waypointAdvance to the following waypoint
wait, idle, searchStand still for seconds (default 1.2)
heal, regenRecover health

Anything else still runs (an action takes about a second), so any tree stays alive. This is only the preview. Your real implementations come from the generated engine code.

4. Put agents in a 3D scene

Open Build and choose New scene to arrange several agents in one world.

  1. Press Add agent, then give it a name, a character and a behavior tree. You can use a built-in sample or any of your own trees.
  2. Click the ground to move the selected agent. Click an agent in the scene to select it.
  3. Need a tree that does not exist yet? Press Write a new tree for this agent. The scene is saved, the builder opens, and saving the tree assigns it to that agent and brings you back. Edit this tree does the same for one of your own trees.
  4. Choose Private or Public (shareable link) and press Save scene.
  5. Use Watch it to see the whole scene run in Explore. A public scene can be shared with a link like https://beetreecraft.com/app/#/explore?scene=<id>.

5. Light and dark mode

The site opens in light mode. Use the Dark mode / Light mode button in the top bar to switch; your choice is remembered on this device and applies to both the site and the app. On a phone, the top bar collapses into a Menu button.

6. Share and collaborate

  • Set a tree’s visibility to Public and it appears in Community, where anyone can read, like and comment on it.
  • Open any community tree and press Fork in builder to start your own copy.
  • Press Remix on a public tree to copy it into your private trees. The copy is named “(Remix)” and shows a history line, “Remixed from … by …”, that keeps credit to the original author even if the original later goes private or is deleted. Edit the copy as you like; you can make it public only after it differs from the original. You can remix 20 trees a day, and the same action is available over the REST API and the remix_tree tool of the MCP server.
  • Join the Forum to ask for help or show off your work. The forum is plain text only: no links, images or formatting, and line breaks are kept.
  • Your Dashboard shows your trees with their likes and comments, plus your forum activity.

7. Your profile

On your profile you can change your display name and bio, and create API keys for the REST API and MCP server. A key is shown once when you create it, so copy it straight into an environment variable or secrets manager; you can revoke it on the same page. See Get an API key. When you create a key you choose a preset (Read-only, Read/write or Full) and an expiry (30 days, 90 days, a year or never); the key lists its scopes, expiry and last use, and its scopes cannot change later, so create a new key instead. See Key scopes and expiry.