Game mod / tooling

Add AI to a game mod or tool

AI NPC dialogue, procedural quests and modding helpers work best with local models: no per-player API cost, works offline, and no keys shipped inside your mod.

Recommended stack

Model

Framework

Hosting

  • Fly.io: No free tier for new users; pay-as-you-go, small VMs from ~ $2/mo (verified 2026-10-14)

No-code alternative

  • Bolt.new: Free tier + paid (not verified - check site)

Rough monthly cost

$0–5/mo (local models via Ollama are free)Approximate

Difficulty

Intermediate–Advanced

Some links may be affiliate links. Disclosure

Why this stack

Step-by-step

  1. Get a hello-world mod or Godot scene running.
  2. Install Ollama, pull a small model, and call its local HTTP API from your game code.
  3. Give each NPC a short persona prompt plus recent game state.
  4. Stream responses and set a timeout so the game never freezes.

Common pitfalls

Customise this stack in the picker →

📬 The Loadout

One weekly AI build loadout: a project idea, the stack to build it, and the tools worth knowing. Free, unsubscribe anytime.

Subscribe to The Loadout