Neocortex Logo

Roblox via Web API

AI NPCs for Roblox

Design a character in the browser, then have a server Script send what players type to the Neocortex Web API over HttpService. There is no plugin to install: the connection is one HTTPS call.

  • Free plan
  • No credit card
  • Unity, Unreal, Godot, Web SDK and Web API
Cora, the Neocortex AI character, waving hello
  • 5

    ways to integrate

    Unity, Unreal, Godot, Web SDK, Web API

  • 20+

    languages

    set per character

  • 10 s

    to clone a voice

    or design one from text

  • €0

    to start

    free plan and editor testing

Powered by Industry Leaders

CDG Booster ProgramTehnopol AI AcceleratorNvidia Inception ProgramMicrosoft Partner | Microsoft for StartupsAWS Partner | AWS StartupsCloudflare Startup ProgramFal AI Startup ProgramElevenLabs Grants
CDG Booster ProgramTehnopol AI AcceleratorNvidia Inception ProgramMicrosoft Partner | Microsoft for StartupsAWS Partner | AWS StartupsCloudflare Startup ProgramFal AI Startup ProgramElevenLabs Grants

Get started

From zero to a talking character in Roblox

  1. 1

    Design your character

    Build personality, knowledge, emotion and actions in the visual editor, and test it in the browser.

  2. 2

    Store your key

    Turn on Allow HTTP Requests, then add your API key to the Creator Hub secrets store for the domain api.neocortex.link.

  3. 3

    Call it from a server Script

    POST the player's message with HttpService:RequestAsync, your character ID in characterIds and the key in the x-api-key header, to:

    https://api.neocortex.link/v3/chat

Requirements

  • Allow HTTP Requests turned on for your experience
  • A server Script (HttpService does not run in LocalScripts)
  • A free Neocortex account and API key
Read the Roblox docs

What you get

Built for Roblox developers

01

Nothing to install

No Studio plugin and no package. One server Script makes the call.

02

Built outside Studio

Personality, lore and actions live in the visual editor, tested in the browser before you write any Luau.

03

Ready for the text filter

Replies reach your server as text, so you run them through TextService:FilterStringAsync before any player sees them.

04

Memory per player

Save the returned sessionId per player in a DataStore and the NPC picks up where it left off.

05

Actions and emotions

Replies carry actions such as OPEN_GATE and an emotion on every line. Your server decides what runs.

06

Same character everywhere

The character you build also works in Unity, Unreal, Godot and on the web.

07

Knows what is around

Send nearby parts as entities in metadata, and actions come back with the id of the one they target.

08

Knows what happened

Send up to 20 recent events per request, each with a priority, such as a player feeding an animal.

09

Group scenes

Put several character ids in one call and each NPC answers in turn, on a Pro or Team plan.

How it works

Characters you design, not prompts you babysit

  • Personality, emotion, knowledge and world are nodes you connect, not prompts you rewrite.
  • Intents and actions turn what a player says into something your game does.
  • Test every character in the browser for free before it reaches your engine.
neocortex.link/dashboard/characters
Neocortex visual character editor: emotion, personality, knowledge, language and voice nodes connected to an agent in a world, with intents mapped to in-game actions

What Our Customers Say

Discover what creators are saying about building with Neocortex.

After trying several Smart NPC providers, I came across Neocortex while looking for a stateful conversational AI solution for our Virtual Education platform. Neocortex stood out and topped all our key considerations.

Vallikat Peethamber
Managing Director

Neocortex opened scalable solutions for our VR platform, letting us create scenarios that make training more immersive. Keeping AI agents within clear boundaries is hard, but Neocortex handles it very well and makes customization easy.

Ottó Farkas
IT Specialist / Project Manager

In classroom practice, Neocortex and its action-based mechanism provide students with an out-of-the-box way to bridge conversational agents into software and hardware-based interaction design workflows.

Hongming Li
Lecturer / Instructor

I found out about Neocortex while I was working on my final-year project, and the platform's ease of integration and accessibility enabled me to seamlessly implement smart NPCs in my application. Highly recommend it!

Angela Pellillo
Backend Developer

Neocortex was the first step in bringing LLM-powered NPCs into a real Unity3D prototype, fast-tracking development and growing my TikTok account from 0 to 4000 followers within a month!

Brandan Chen
Associate Game Producer

After trying several Smart NPC providers, I came across Neocortex while looking for a stateful conversational AI solution for our Virtual Education platform. Neocortex stood out and topped all our key considerations.

Vallikat Peethamber
Managing Director

Neocortex opened scalable solutions for our VR platform, letting us create scenarios that make training more immersive. Keeping AI agents within clear boundaries is hard, but Neocortex handles it very well and makes customization easy.

Ottó Farkas
IT Specialist / Project Manager

In classroom practice, Neocortex and its action-based mechanism provide students with an out-of-the-box way to bridge conversational agents into software and hardware-based interaction design workflows.

Hongming Li
Lecturer / Instructor

I found out about Neocortex while I was working on my final-year project, and the platform's ease of integration and accessibility enabled me to seamlessly implement smart NPCs in my application. Highly recommend it!

Angela Pellillo
Backend Developer

Neocortex was the first step in bringing LLM-powered NPCs into a real Unity3D prototype, fast-tracking development and growing my TikTok account from 0 to 4000 followers within a month!

Brandan Chen
Associate Game Producer

From idea to playable character in a weekend

Game-jam teams use Neocortex to put talking, acting AI characters into playable games within a single weekend.

Read a game jam story

FAQ

Neocortex for Roblox: common questions

Is there a Neocortex plugin for Roblox?

No. A server Script calls the Neocortex Web API with HttpService. There is no Roblox SDK or Studio plugin to install.

Where does the API key go?

In your experience's secrets store on the Creator Hub, for the domain api.neocortex.link. The server Script reads it with HttpService:GetSecret, so it never reaches players.

Do I have to filter AI replies on Roblox?

Yes. Roblox requires filtering any displayed text you do not control. Run every reply through TextService:FilterStringAsync on the server before showing it.

Can Roblox NPCs speak out loud?

Not with live streamed audio, because Roblox only plays audio it hosts. Use Roblox's AudioTextToSpeech, or pre-voiced lines uploaded as audio assets.

How do I stop one Roblox player from using all my credits?

Send the player's UserId as playerId and set a per-player credit limit in the dashboard. Once a player reaches it, the API refuses their calls with HTTP 429 and the code player_credit_limit.

What happens when my credits run out?

The chat call returns HTTP 402 with the code insufficient_credits. Check the usage endpoint first and fall back to scripted lines when its status is empty.

Comparing tools?

How Neocortex compares for Roblox teams

Give your Roblox NPC a mind

Free plan, no credit card. Build a character in the browser and talk to it in minutes.