Cortex · AI for your Roblox game · all guides

How to make an AI companion in Roblox

Give players a pet or ally that reacts and chats in your game's voice — not a canned line, a real conversation.

One server-side request

Put a ModuleScript in ServerStorage and call it from a server Script — your key never touches the client.

local Cortex = require(game.ServerStorage.Cortex)
local ai = Cortex.new("YOUR_KEY")

print(ai:ask(
  "You are the player's loyal fox companion. One short warm line.",
  "we finally beat the boss!"
))

~3 seconds, and you pay in Robux via a game pass. No cards, no backend.

🎁 Open beta — free keys for the first devs. Founding testers keep a permanent founder discount when it goes paid, plus a Robux reward + your game featured for shipping it in a live game with feedback.

Get started

Get a free beta key → Free kit on GitHub Live demo

More guides: ai npc · ai chatbot · chat moderation · ai quests · ai companion · ai shopkeeper · dynamic dialogue · ai dungeon master · ai lore generator · smart enemies · ai tutorial npc · ai story generator