Software
py_trees
By splintered-reality, from github.com/splintered-reality/py_trees (opens in a new tab)
- Middleware
- Library
- BSD-3-Clause
PyTrees is a Python library for behaviour trees, used to build decision-making logic for robots and similar systems. It is meant for medium-sized decision engines.
Facts
- GitHub stars
- 652read on 6 Nov 2026
- Last update
- 4 Nov 2026Newest commit on devel
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Intermediate
Checked on GitHub on 6 Nov 2026.
Licenses
- Code
- BSD-3-Clause (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) at commit 49bcffd (opens in a new tab), on 6 Nov 2026. A license text Robotheca's reader does not know: a person at Robotheca set it on 9 Nov 2026.
- Commercial use
- Yes
Overview
What it does: Robotheca's summary
- Provides behaviours, decorators, sequences, selectors, parallels and a behaviour tree container.
- Offers blackboards for sharing data between behaviours.
- Includes a library of ready-made behaviours, decorators and idioms.
- Adds a ports API and XML parser for declarative behaviour definitions.
- Can serialise trees to a dot graph or render them as ascii/unicode in a terminal.
- Ships demo scripts to explore the library; tested on Linux and Mac.
Written by Robotheca from the project's README (opens in a new tab) at commit 41ec377, not by its creator.
The README
Files and versions
- Repository on GitHubgithub.com/splintered-reality/py_trees (opens in a new tab)
- The version Robotheca read49bcffd (opens in a new tab)
- Latest releasev2.6.x (10 Sept 2026)
Robotheca read the repository at two versions: the summary at 41ec377 and the facts at 49bcffd (read on 6 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
Use it
How to install it, in the creator's words: The project's website (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.