DevAIl
A downloadable project for Windows
DevAIl – AI Integration Prototype for Unreal Engine
Hi! I’m Brejack, an indie developer exploring new possibilities with AI in Unreal Engine. DevAIl is a technical prototype that demonstrates how AI can interact with an Unreal game environment.
How it works
DevAIl runs Unreal Engine alongside a local Python backend (llama_backend.exe
). This backend hosts a large language model (LLM) and provides several endpoints, including a websocket API (chat-ws
) that allows Unreal to communicate with the AI.
For now, interactions are limited to simple actions such as:
-
Making the character jump
-
Checking the current time
Each interaction has two steps:
-
Unreal sends a request to the AI via
llama_backend.exe
. -
The AI “reads” the request, considers possible function calls, and responds with the action to perform in Unreal (e.g., talk or jump).
To enable AI-environment interaction, you must set the AI mode to “auto”. The “none” option disables AI interactions.
Model requirements
DevAIl uses the llama-cpp-python tool and requires a .gguf
model placed in:
DevAIl\DevAIl\Binaries\Win64\server\llama_backend\llm
The default model is:
Qwen3-4B-Instruct-2507-Q4_K_M
Download link: https://huggingface.co/unsloth/Qwen3-4B-Instruct-2507-GGUF/tree/main
You can use other models by placing them in the same folder and specifying their name in the “Model” input.
Voice recognition (experimental)
DevAIl also integrates speech-to-text using whisper.cpp
.
To enable this feature, you must download a Whisper model and place it inside:
DevAIl\DevAIl\Content\Models
The recommended model is:
-
ggml-small.bin
👉 Download link
⚠️ Important:
-
The model must be named exactly
ggml-small.bin
, even if you choose another variant (e.g., medium, large). -
Without this file, voice recognition will not work.
How to use it
-
Hold down the “1” button (top left of the keyboard) to start listening.
-
Release the button to stop listening.
-
Your voice input will be transcribed to text and sent to the AI, enabling natural voice interaction.
Performance notes
Currently, voice recognition runs entirely on the processor (CPU) .
This means that during audio interpretation the game may appear to freeze or stutter.
This behavior is expected and due to the lack of optimization — future versions may include GPU support or asynchronous processing.
What’s possible?
This is a prototype, so possibilities are open-ended. With AI + function calling + Python, you could:
-
Create more complex interactions, e.g., AI assisting with puzzles or doors
-
Generate text on demand
-
Integrate external Python tools, such as email checks or data management
-
Connect with live chats or other experimental features
Important notes
-
DevAIl is experimental; it may break or not work on certain PCs.
-
The AI integration is for testing purposes only and does not produce final game content.
-
This is not a finished game—it’s a sandbox for testing AI integration in Unreal Engine.
###
Dev Notes
-
The server runs with FastAPI.
-
Automatic endpoint documentation is available at:
👉http://localhost:51000/docs
-
Currently, only the REST endpoints are listed in the documentation.
-
The WebSocket endpoint
/api/chat-ws
is not shown yet (this is a current limitation of FastAPI with WebSockets).
Updated | 25 days ago |
Status | Prototype |
Category | Other |
Platforms | Windows |
Author | Brejack |
Tags | ai-prototype, llm, Prototype, python, Sandbox, Unreal Engine |
Install instructions
Download, Install & In-Game Instructions
DevAIl – AI Integration Prototype for Unreal Engine
1️⃣ Download & Install
-
Download the game (
DevAIl.rar
) and the AI model (.gguf
). -
Extract the game anywhere on your PC.
-
Place the
.gguf
model inside:
DevAIl\DevAIl\Binaries\Win64\server\llama_backend\llm
Run DevAIl.exe
to start the game. The Python backend (llama_backend.exe
) will be launched from the in-game controls.
🎙 Voice recognition (experimental)
-
Download ggml-small.bin 👉 Download link
-
Place it inside:
DevAIl\DevAIl\Content\Models
-
The file must be named exactly ggml-small.bin, even if you choose another variant (medium, large).
-
Without this file, voice recognition will not work.
-
Hold “1” (top left of the keyboard) to record. Release to stop.
2️⃣ In-Game Consoles & Buttons
DevAIl has two main consoles/widgets to interact with the AI backend:
A. Main Control Console (move to the left side of the screen)
-
Start
llama_backend.exe
-
Launches the local AI server.
-
⚠ Known bug: the start indicator may not update immediately. Wait 5 seconds and press again to confirm the server is running.
-
-
Start LLM
-
Initializes the AI model.
-
-
Connect WS
-
Establishes a WebSocket connection between Unreal and
llama_backend.exe
, allowing communication with the AI.
-
-
Model
-
Optional: select a different
.gguf
model before starting the LLM.
-
B. AI Interaction Widget (attached to the screen)
-
Input field → type messages or commands for the AI.
-
Blue Send button → sends your input to the AI.
-
Selector (default: none) → determines whether the AI can perform actions using function calling:
-
Auto → enables AI to interact with the environment (e.g., jump, check time).
-
None → disables AI-environment interactions.
-
💡 Tip: Always follow this sequence:
-
Start
llama_backend.exe
-
Start LLM
-
Connect WS
-
Use the AI interaction widget
3️⃣ Closing the Backend / LLM
-
The game does not have dedicated buttons to close the LLM or
llama_backend.exe
. -
Closing the game with Alt + F4 or the window close button will automatically terminate both processes.
4️⃣ Notes
-
DevAIl is experimental; it may break or not work on certain PCs.
-
AI interactions are for testing purposes only and do not produce final game content.
-
This is a prototype / sandbox, meant for testing AI integration in Unreal Engine.