RepositoryJavaScript
pruttned

pruttned/owl-bt

owl-bt is editor for Behavior trees. It has been inspired by Unreal engine behavior trees in a way, that it supports special node items like decorators and services. This makes trees smaller and much more readable.

187sao
29fork
3issue
1lượt xem

🦉 owl-bt — Trình soạn thảo Behavior Tree lấy cảm hứng từ Unreal Engine, tự động bố cục, xuất JSON mở

"Tập trung vào nội dung logic AI, không loay hoay layout — owl-bt lo phần hình, dev lo phần não."

owl-bt là một trình soạn thảo Behavior Tree (cây hành vi) mã nguồn mở, được phát triển bởi đội ngũ làm game Tendril: Echo Received vì các công cụ hiện có không đáp ứng được nhu cầu: tập trung vào nội dung logic thay vì vẽ vị trí node, định dạng mở không gắn chặt engine cụ thể, và cho phép tự định nghĩa hoàn toàn các loại node. Dự án viết bằng JavaScript, chạy như một dịch vụ web cục bộ (mặc định cổng 8955), cài đặt qua npm install -g owl-bt và thao tác hoàn toàn bằng dòng lệnh / bàn phím.

✨ Điểm nổi bật

  • Ba loại item cốt lõi: Node (nhiệm vụ đơn lẻ hoặc composite), Decorator (bộ lọc/biến đổi giá trị trả về, có thể đánh dấu chạy định kỳ mỗi tick), Service (chạy task nền tại node đang thực thi).
  • Tự động bố cục: Không cho kéo thả thủ công — cây tự căn chỉnh, giúp dev chỉ quan tâm logic.
  • Điều khiển bàn phím + Command Palette: Gần như mọi thao tác tạo/sửa cây đều làm bằng phím tắt, palette truy xuất bằng Ctrl+Shift+P (giống Sublime Text).
  • Hot-reload dự án: Sửa file cấu hình owl-bt.json là thấy ngay trên editor đang chạy, không cần khởi động lại.
  • Undo/Redo đầy đủ: Hỗ trợ hoàn tác/lặp lại cho mọi hành động.
  • Định dạng JSON mở: Cây và dự án lưu dưới dạng JSON thuần, dễ parse và tích hợp vào Unity, MonoGame, Godot, hay engine tùy chỉnh.
  • Hệ thống kiểu dữ liệu tùy chỉnh: Định nghĩa property type riêng (string/number + regex), enum, min/max cho number, description có placeholder {{PropertyName}}.
  • Cấu hình qua file .owlbtrc: Đổi port, tuỳ biến môi trường mà không chạm code.

💡 Vì sao đáng chú ý

owl-bt giải quyết triệt để nỗi đau phổ biến của các editor Behavior Tree khác: ép buộc dev lo layout và khóa chặt vào một engine/runtime. Bằng cách tách hoàn toàn dữ liệu (JSON) khỏi công cụ soạn thảo, và mô phỏng mô hình Decorator/Service của Unreal Engine — cho phép gán logic 가로 (guard, cooldown, blackboard check) vào node mà không làm rối cây — owl-bt giúp cây hành vi vừa gọn vừa diễn đạt được logic phức tạp. Hot-reload và command palette biến quy trình lặp lại (iterate) thành trải nghiệm mượt mà, đặc biệt phù hợp cho team nhỏ hoặc solo dev cần công cụ AI hành vi nhẹ, không phụ thuộc, có thể nhúng vào bất kỳ pipeline nào.


#BehaviorTree #GameAI #OpenSource #GameDev #JavaScript #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
RepositoryMDX
f/prompts.chat

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

179.0k
Dec 1, 2026
RepositoryTypeScript
thedotmack/claude-mem

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

121.3k
Dec 2, 2026
RepositoryJupyter Notebook
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

109.4k
Nov 26, 2026
RepositoryJupyter Notebook
microsoft/AI-For-Beginners

12 Weeks, 24 Lessons, AI for All!

71.5k
Nov 15, 2026
RepositoryTypeScript
Idered/behavior-tree

🌲 Manage React state with Behavior Trees

119
Feb 13, 2022
RepositoryC++
AutoAPMS/auto-apms

A versatile framework for developing robot behaviors using behavior trees in ROS 2.

110
Nov 17, 2026
RepositoryC#
MinaPecheux/UnityTutorials-BehaviourTrees

The code for a short tutorial on how to create a simple guard AI using behaviour trees in Unity/C# (in text or video format)!

108
Nov 2, 2021
RepositoryTypeScript
codetypess/behavior3-ts

behavior tree for ts/js

61
Nov 12, 2026