# Home

**AI Tree** is a versatile and highly optimized AI framework for Unity, designed to simplify and streamline the process of building complex AI behaviors while maintaining flexibility and functionality. Its standout feature is a **unique decorator and service system**, which dramatically reduces the complexity of traditional graph structures. Where typical graph systems may require 30 nodes to create a complex NPC behavior, **AI Tree** achieves the same, or even better, results with just **5 nodes**, enhancing both development speed and ease of use.

* **Open Source, No DLLs**: All code is written in C# and fully accessible for modification. This ensures that developers have complete control over the system, enabling deep customization without the restrictions of precompiled libraries.
* **Powerful Perception and Environmental Query Systems**: AI Tree’s advanced perception system allows for dynamic responses to the game world. Characters can detect and react to environmental changes, players, and other NPCs in real-time, making them feel more responsive and lifelike. The environment query system supports fine-tuned control over decision-making processes, helping AI adapt to different gameplay situations seamlessly.
* **Optimized Node-Based AI Creation**: AI Tree offers an intuitive, node-based editor interface, where developers can quickly design complex AI behaviors using simple visual tools. It includes built-in actions, conditions, and decorators to cover a wide range of gameplay scenarios, from basic patrols to sophisticated decision-making.
* **Modular Graph Structure**: The system supports reusable subgraphs, modular behaviors, and shared nodes across different AI agents, allowing developers to build upon existing logic and create scalable, maintainable systems.
* **Full Integration with Popular Assets**: AI Tree is compatible with third-party tools like **Playmaker**, **Odin Inspector**, **Photon**, **Mirror**, and the **Dialog System for Unity**, enabling smooth integration into existing projects and expanding its use case beyond AI logic.

#### Support & Learning Resources:

* [**YouTube Tutorials**](https://www.youtube.com/playlist?list=PLJQVtFp2M1KjHSMtoTg6C_2KwTegUwAhh) **-** Access a library of in-depth video lessons to help you get started quickly, covering everything from basic setup to advanced behavior design.
* [**Real-Time Support**](https://discord.gg/RBwRGWReG2) **-** Join our active Discord community where developers and AI experts provide real-time assistance, tips, and feedback on your projects.
* **Comprehensive Documentation -** Detailed, step-by-step guides with code examples are available to walk you through every aspect of the system.

{% embed url="https://renowned-games.com/aitree/demo.html" fullWidth="false" %}
WebGL demo
{% endembed %}

{% embed url="https://github.com/tamerlan-shakirov/AITreeSamples" fullWidth="false" %}
Open source AI Tree samples
{% endembed %}

{% embed url="https://www.youtube.com/@RenownedGamesMedia" %}
Renowned Games official tutorials
{% endembed %}

{% embed url="https://assetstore.unity.com/packages/tools/ai/ai-tree-229578" %}
AI Tree asset store link
{% endembed %}

{% content-ref url="integrations" %}
[integrations](integrations)
{% endcontent-ref %}

**🔥 Unique Features**

* Environment Query System!
* Perception System!

✨ **Main Features**

* Intuitive visual tree graph!
* Over 175 built-in nodes!
* Ability create custom nodes, decorators and services!
* Parallel nodes support!
* Global and local variables!
* Visual runtime debugger!
* Extensive documentation and videos!
* Source Code Included!
* Powerful API!

🧩 **Integrations**

* Adventue Creator
* A\* Pathfinding Project Pro
* Dialogue System for Unity
* Mirror Network
* Photon PUN 2 Network
* Playmaker
* SensorToolkit 2
* Ultimate Horror FPS KIT
* More coming…
