# GodotAI Dev — Local AI assistant for Godot 4 (no cloud, no API keys)

GodotAI Dev — Local AI assistant for Godot 4

I’ve been working on a local AI assistant for Godot 4 and figured I’d share it here in case anyone finds it useful. Fair warning: this is a rough, early version — not fully tested, no guarantees. Your mileage will vary quite a bit depending on your hardware, which Ollama model you’re running, and how much context window you have available.

That said, if you have Ollama set up and want to experiment, it might save you some time.

What it does

  • /fix — paste a Godot error and the AI reads your source files and attempts a patch
  • /feature — describe what you want to add, it generates GDScript with awareness of your existing project
  • /chat — ask anything about Godot or your code, no file writes
  • Git safety net — every patch is committed to a session branch, /undo reverts one patch at a time
  • Runs 100% locally — no cloud, no API keys, your code stays on your machine

What you need

  • Python 3.10+
  • Ollama running locally or on a LAN server
  • Models pulled:
ollama pull nomic-embed-text
ollama pull qwen2.5-coder:14b
ollama pull qwen3.5:2b

Links


If you try it I’d genuinely like to know what worked and what didn’t — especially on smaller models or CPU-only setups. No promises on support but happy to take a look at issues.

1 Like

How is this even possible?
Are you saying this can run without an internet connection? If not, then it is not %100 local.
Maybe its just the front end that is %100 local?

Indeed, the Ollama model runs locally, meaning your computer must download the model weights and run the AI. This does use a lot of compute, so the model is sometimes slower than the speed you get on AI chatbots online or using AI terminal tools that use APIs. Everything here can run without internet, AFAIK

@ja33man
So, how’s your power bill since you’ve started using this local LLM?

Ollama will run on your GPU, so nothing extraordinary will happen to your electric bill

That question was half ironic, half serious. I don’t like AI too much. But good to know regardless.

LLM is just a model that will come up with an answer from a pattern that it learned during training, since you are just asking and not training it, the power consumption will be similar to if you are building godot game or watching a movie.

So I did a quick look into this Ollama.
You download models that are general to a broad topic and the AI makes what it can out of that.
I have to believe that there are going to be holes in the information in a given model set and that you may not be getting the best out of AI.

*Note: The caveat being me not looking to deep into this.

If anyone reading this knows this AI well, and is familiar with the models this assistant imports, could this AI complete this request:

Write a GDScript function that returns the percentage of a height value compared to the height of the Eiffel Tower

The AI would need the towers height, ostensibly contained in a very large general info model, as well as the info required to produce GDScript code, theoretically contained in another model.