FlamxGames/godot-ai-assistant-hub

Embed AI assistants in Godot with the ability to read and write code in Godot's Code Editor.

What it solves

Godot AI Assistant Hub is a plugin for the Godot game engine that allows developers to embed AI assistants directly into their development workflow. It solves the problem of switching between the game engine and external AI tools by providing an interface to interact with Large Language Models (LLMs) for coding, scene editing, and project management within the editor.

How it works

The plugin acts as an interface between Godot and various LLM providers (such as Ollama, llama.cpp, Google Gemini, and others). It does not run the models directly but connects to them via API. It offers two primary workflows:

  • Tools Workflow: For models with tooling capabilities, the assistant can perform active actions in Godot, such as creating scripts, adding nodes to scenes, editing node properties, and managing files. These actions can be controlled via permissions (Allow, Ask, or Hide).
  • Quick Prompts Workflow: For simpler models, this workflow allows for targeted code edits by inserting the assistant's response directly into the Godot Code Editor using keywords like {CODE} and {CHAT}.

Who it’s for

Game developers using Godot who want to use AI to augment their development capacity while maintaining creative control. It is particularly suited for those who prefer local LLMs to avoid subscriptions and maintain privacy.

Highlights

  • Deep Godot Integration: Assistants can scan scene node trees, edit node properties, and create scripts/scenes.
  • Local-First Design: Strong support for local providers like Ollama and llama.cpp.
  • Granular Security: Tool access can be set to "Allow", "Ask", or "Ask" for every individual tool to prevent unintended changes.
  • Extensible Architecture: Developers can create multiple specialized assistant types tailored to specific tasks or scenes.
  • Context Awareness: Assistants can be aware of the current scene and script being edited for more-related queries.

Related

  • Project
  • Project
  • Project
  • Project