The easiest way to add AI
to your Roblox game
Install a plugin, paste a key, call one function. No backend, no HttpService boilerplate, no fighting with JSON — just NPCs, moderators, and quest systems that talk back.
From zero to a talking NPC
Most integrations are a plugin install and a paste — not a backend project.
Install the Roblox Studio plugin
One click from the Roblox Marketplace. It drops a ModuleScript into ServerScriptService and wires up HttpService for you.
Paste your API key
Grab a free key from the dashboard, paste it into the plugin panel, and it gets saved into your script automatically.
Call TomAI.chat() from any script
NPCs, moderators, quest generators — anything that needs a model call is now a single function call away.
-- Generated by the TomdacatAI plugin
local TomAI = require(game.ServerScriptService.TomAI)
local reply = TomAI.chat({
{ role = "system", content = "You are Kira, a fox merchant." },
{ role = "user", content = "Got anything rare today?" },
})
npc.Head.Dialog.Text = replyLess plumbing, more shipping
Everything you'd otherwise have to build yourself comes wired in.
Auto-setup plugin
Generates the ModuleScript, sets headers, and saves your key — no manual HttpService config.
One endpoint, 40+ models
Swap GPT-5 for Claude or Gemini by changing a string. No separate integrations per provider.
Lite credits included
Every account starts with lite credits, so you can test NPC dialogue before spending anything.
OpenAI-compatible
If you outgrow the plugin, drop straight into the OpenAI SDK shape with no migration.
Built-in moderation models
Use the same API to screen chat, usernames, or user-generated text for your game.
Usage dashboard
See exactly which scripts are calling the API, how many tokens, and what it costs — in real time.
Common questions
No. The plugin generates a ModuleScript that wraps HttpService for you. You just require it and call TomAI.chat(messages).
Install the plugin. Ship the feature today.
No backend project, no Stripe setup, no waiting on infra. Just a plugin, a key, and a function call.