{"id":26854845,"url":"https://github.com/h-iaac/behaviortrees","last_synced_at":"2026-05-20T07:40:24.008Z","repository":{"id":194851911,"uuid":"691705652","full_name":"H-IAAC/BehaviorTrees","owner":"H-IAAC","description":"Unity implementation of basic behavior trees and extensions such as utility and external trees.","archived":false,"fork":false,"pushed_at":"2024-08-30T16:36:48.000Z","size":394,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-07-08T10:49:28.102Z","etag":null,"topics":["behavior-tree","game-ai","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/H-IAAC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-14T18:02:22.000Z","updated_at":"2025-06-01T02:21:53.000Z","dependencies_parsed_at":"2023-09-15T11:45:37.701Z","dependency_job_id":"9f889c15-6c94-4110-b2ab-5f6f9e5bd48e","html_url":"https://github.com/H-IAAC/BehaviorTrees","commit_stats":null,"previous_names":["h-iaac/behaviortrees"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/H-IAAC/BehaviorTrees","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-IAAC%2FBehaviorTrees","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-IAAC%2FBehaviorTrees/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-IAAC%2FBehaviorTrees/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-IAAC%2FBehaviorTrees/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/H-IAAC","download_url":"https://codeload.github.com/H-IAAC/BehaviorTrees/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H-IAAC%2FBehaviorTrees/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33250375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-20T04:48:54.280Z","status":"ssl_error","status_checked_at":"2026-05-20T04:48:10.851Z","response_time":356,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behavior-tree","game-ai","unity"],"created_at":"2025-03-30T23:28:25.909Z","updated_at":"2026-05-20T07:40:24.002Z","avatar_url":"https://github.com/H-IAAC.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/badge/DOI-10.5281/zenodo.19411137-1082c3?style=for-the-badge)](https://doi.org/10.5281/zenodo.19411137)\n\n# Behavior Trees\n\nUnity implementation of basic behavior trees and extensions such as utility and external trees.\n\nIt also provides a visual interface for editing the behavior trees.\n\nThis project was developed as part of the Cognitive Architectures research line from \nthe Hub for Artificial Intelligence and Cognitive Architectures (H.IAAC) of the State University of Campinas (UNICAMP).\nSee more projects from the group [here](https://github.com/brgsil/RepoOrganizer).\n\n[![](https://img.shields.io/badge/-H.IAAC-eb901a?style=for-the-badge\u0026labelColor=black)](https://hiaac.unicamp.br/)\n[![](https://img.shields.io/badge/-Arq.Cog-black?style=for-the-badge\u0026labelColor=white\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ljg4Miw0Ljg4MiwwLDAsMCwuNDY0LTMuNzYxLDQuOTQsNC45NCwwLDAsMC00Ljc1NC0zLjYzWm0zNi43NzYtMTAuMzQ2YTQuOTUsNC45NSwwLDEsMCw0LjIyMiwyLjM0NUE0LjkyMyw0LjkyMywwLDAsMCw5NjUuNDc5LDIyNS4xODdabS0yMC45NTItNS40MTVhNC45NTEsNC45NTEsMCwxLDAsNC45NTEsNC45NTFBNC45NTcsNC45NTcsMCwwLDAsOTQ0LjUyNywyMTkuNzcyWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTkyMi4xNDMgLTIxOC4yKSIgZmlsbD0iIzgzMDNmZiI+PC9wYXRoPjwvc3ZnPiA=)](https://h-iaac.github.io/HIAAC-Index)\n\n## Repository Structure\n\n- BehaviorTrees: Unity project with the package\n\n## Requirements\n- Unity\n\n## Installation / Usage\n\n**Installation**\n\n- Open the `Package Manager`\n- Click the add **+** button in the status bar, select \"`Add Package from git URL...`\"\n- Enter the url: `https://github.com/H-IAAC/BehaviorTrees.git?path=BehaviorTrees`\n\n**Usage**\n\n- Create a new `Behavior Tree` in \"Create\\Behavior Tree\\Behavior Tree\"\n- Double click for open the editor.\n- Add the nodes and connect to the root.\n- Assign the tree to run on a object with the `Behavior Tree Runner` component.\n\n## Citation\n\u003c!--Don't remove the following tags, it's used for placing the generated citation from the CFF file--\u003e\n\u003c!--CITATION START--\u003e\n```bibtex\n@software{my_citation,\nauthor = {Cardoso do Nascimento, Elton and Dornhofer Paro Costa, Paula},\ndoi = {10.5281/zenodo.19411137},\ntitle = {Behavior Trees},\nurl = {https://github.com/H-IAAC/BehaviorTrees}\n}\n```\n\u003c!--CITATION END--\u003e\n## Authors\n\n- (2022-) [EltonCN](https://github.com/EltonCN): M. Eng. student, FEEC-UNICAMP\n- (Advisor, 2022-) Paula Dornhofer Paro Costa: Professor, FEEC-UNICAMP\n\n## References\n\nBasic implementation:\n\n[1] M. Dawe, S. Gargolinski, L. Dicken, T. Humphreys, and D. Mark, “Behavior Selection Algorithms,” in Game AI Pro 360 (S. Rabin, ed.), pp. 1–14, CRC Press, 1 ed., Sept. 2019\n\n[2] Why Memory Nodes is a Bad Idea in Behavior Trees (intro to BTs part 5B), (Jan. 07, 2022). Accessed: Sep. 14, 2023. [Online Video]. Available: https://www.youtube.com/watch?v=W7p34qhBux8\n\n[3] Unity | Create Behaviour Trees using UI Builder, GraphView, and Scriptable Objects [AI #11], (May 28, 2021). Accessed: Sep. 14, 2023. [Online Video]. Available: https://www.youtube.com/watch?v=nKpM98I7PeM\n\n[4] Behaviour Tree Editor with UI Builder - Part2 [AI #12], (Jun. 18, 2021). Accessed: Sep. 14, 2023. [Online Video]. Available: https://www.youtube.com/watch?v=jhB_GFgS6S0\n\n[5] UNITY DIALOGUE GRAPH TUTORIAL - Variables and Search Window, (Mar. 18, 2020). Accessed: Sep. 14, 2023. [Online Video]. Available: https://www.youtube.com/watch?v=F4cTWOxMjMY\n\nDecision Behavior Trees:\n\n[5] B. Merrill, “Building Utility Decisions into Your Existing Behavior Tree”.\n\n[6] Utility Behavior Trees (intro to BTs part 12), (Nov. 16, 2021). Accessed: Sep. 14, 2023. [Online Video]. Available: https://www.youtube.com/watch?v=ju4GY1gtP8s\n\nExternal Trees and Behavior tags:\n\n[7] Martin Cerny, Tomas Plch, Matej Marko, Petr Ondracek, and Cyril Brom, “Smart Areas - A Modular Approach to Simulation of Daily Life in an Open World Video Game:,” in Proceedings of the 6th International Conference on Agents and Artificial Intelligence, (ESEO, Angers, Loire Valley, France), pp. 703–708, SCITEPRESS - Science and and Technology Publications, 2014.\n\n[8] Free Range AI: Creating Compelling Characters for Open World Games, (Mar. 12, 2017). Accessed: Sep. 14, 2023. [Online Video]. Available: https://www.youtube.com/watch?v=jDCFMITrtHc\n\n\n## Acknowledgements\n\nProject supported by the brazilian Ministry of Science, Technology and Innovations, with resources from Law No. 8,248, of October 23, 1991","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-iaac%2Fbehaviortrees","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh-iaac%2Fbehaviortrees","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh-iaac%2Fbehaviortrees/lists"}