{"id":20384548,"url":"https://github.com/kitbashery/modular-ai","last_synced_at":"2025-08-30T23:34:25.053Z","repository":{"id":60894040,"uuid":"525135361","full_name":"Kitbashery/Modular-AI","owner":"Kitbashery","description":"Visual behaviour \u0026 AI design tool for Unity.","archived":false,"fork":false,"pushed_at":"2023-05-05T21:56:46.000Z","size":1588,"stargazers_count":34,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T04:21:53.767Z","etag":null,"topics":["3d","ai","asset","behavior","behaviour","design","modular","open-source","pathfinding","unity","unity3d-plugin","visual-scripting"],"latest_commit_sha":null,"homepage":"https://kitbashery.com/docs/modular-ai","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kitbashery.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","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},"funding":{"github":"kitbashery","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-08-15T20:51:02.000Z","updated_at":"2024-08-28T15:28:13.000Z","dependencies_parsed_at":"2024-11-15T02:31:14.006Z","dependency_job_id":"f95f9fbd-414b-4d54-8b02-389ebe8cdc73","html_url":"https://github.com/Kitbashery/Modular-AI","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitbashery%2FModular-AI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitbashery%2FModular-AI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitbashery%2FModular-AI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitbashery%2FModular-AI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kitbashery","download_url":"https://codeload.github.com/Kitbashery/Modular-AI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248544675,"owners_count":21121998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["3d","ai","asset","behavior","behaviour","design","modular","open-source","pathfinding","unity","unity3d-plugin","visual-scripting"],"created_at":"2024-11-15T02:28:25.603Z","updated_at":"2025-04-12T09:23:56.541Z","avatar_url":"https://github.com/Kitbashery.png","language":"C#","readme":"\u003c!-- ONLINE DOCUMENTATION FOUND @ https://kitbashery.com/docs/modular-ai --\u003e\n\n![](https://kitbashery.com/assets/images/kitbashery-github-banner.jpg)\n\n[![Unity Version](https://img.shields.io/badge/Unity-2021.3%2B-blue.svg)](https://unity3d.com/get-unity/download)\n[![GitHub](https://img.shields.io/github/license/kitbashery/modular-ai.svg)](https://github.com/Kitbashery/Modular-AI/blob/main/.github/LICENSE.md)\n[![OpenUPM](https://img.shields.io/badge/Install-openUPM-blue)](https://openupm.com/packages/com.kitbashery.modular-ai.html)\n[![DevKit](https://img.shields.io/badge/Dev%20Kit-.unitypackage-blue)](https://github.com/Kitbashery/Modular-AI/releases/download/Development-Package/Kitbashery_ModularAI.unitypackage)\n[![Documentation](https://img.shields.io/badge/Docs-Kitbashery.com-%23ffaf0c)](https://kitbashery.com/docs/modular-ai)\n[![Contributing](https://img.shields.io/badge/Contribute-guidelines-lightgrey)](https://github.com/Kitbashery/.github/blob/main/.github/CONTRIBUTING.md)\n\n#### For a more performant, stable and fully featured solution check out our latest asset:\n[![Smart GameObjects](https://kitbashery.com/assets/images/smart-gameobjects-uas-sale.jpg)](https://assetstore.unity.com/packages/slug/248930?aid=1100lvf66)\n\n# Modular-AI\nModular AI is an inspector based visual behaviour designer.\n\n## Features:\n* Implements competing utility theory behaviours for dynamic AI behaviours.\n* Zero string comparisons or calls to reflection.\n* Behaviours can be fully configured during runtime.\n* Not tied to a specific pathfinding solution.\n* Fully extendable via code modules.\n\n![](https://kitbashery.com/assets/images/kitbashery-modular-ai-agent-component.jpg)\n\n### Built-in Modules:\n\n#### Unity Pathfinding:\n* Flee/Follow\n* Wander\n* Patrol\n\n#### Memory:\n* Remember players, AI agents, or environment objects.\n* Focus/target objects in memory\n* Invoke custom events.\n\n#### Sensors:\n* Eye-level scans\n* Physics Scan Options for 2D \u0026 3D\n* Integrated with memory\n\n#### Animation:\n* Idle, Walk, Run \u0026 Jump\n* Attack, Death Animations\n* Dynamic Hit reactions\n\n# Getting Started:\nAll components can be found under Kitbashery in the component menu:\n![](https://kitbashery.com/assets/images/kitbashery-modular-ai-component-navigation.jpg)\n\nOnline documentation \u0026 scripting API is found at:\n\nhttps://kitbashery.com/docs/modular-ai\n\n## Utility Theory:\n\nModular AI uses utility theory for its AI behaviour logic. An AI agent can have as many behaviours as you want.\n\n#### Note: Since v.2.0.2 Modular AI supports linear state-machine-like evaluation by default with optional competing utility theory behaviours.\n\n### Behaviours:\nBehaviours are comprised of conditions and actions and have a score value. The behaviour with the score that best meets the score type you set will execute its actions.\n### Conditions:\nConditions are true/false statements based on what the AI knows about the game world. If a condition meets its desired state then it will add its score to the behaviour's total score.\n### Actions:\nActions are executed in the order they are arranged if a behaviour's total score meets the score type better than any other behaviour.\n\n\n## Module Scripting:\nTake a look at the docs for [ExampleModule.cs](https://kitbashery.com/docs/modular-ai/example-module.html) for how to create your own modules.\n\n\n\n---\nThe name Kitbashery \u0026 all associated images Copyright \u0026copy; 2023 Kitbashery. All Rights Reserved.\n","funding_links":["https://github.com/sponsors/kitbashery"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitbashery%2Fmodular-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitbashery%2Fmodular-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitbashery%2Fmodular-ai/lists"}