Neocortex Logo

Web SDK

AI characters on any website

Install one npm package, add a small proxy to your server, and drop a talking character onto any page. Your API key never reaches the browser.

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

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 Web SDK

  1. 1

    Install the package

    Add the SDK to your project:

    npm install @neocortex-link/web
  2. 2

    Add the proxy

    Mount createNeocortexHandler on your server. It keeps your API key there, checks who is talking and limits which characters they can reach.

  3. 3

    Drop in a character

    Place the chat element on any page:

    <neocortex-chat endpoint="/api/neocortex" character-id="..." voice></neocortex-chat>

Requirements

  • Node 20+, Next.js, Cloudflare Workers, Bun or Deno on the server
  • Any modern browser
  • A free Neocortex account and API key
Read the Web SDK docs

What you get

Built for Web SDK developers

01

Key stays on your server

A built-in proxy holds the key, checks your own login and refuses everything you did not allow.

02

Drop-in components

Chat, group chat, quiz, microphone and status elements that work in React, Vue, Svelte or plain HTML.

03

Streaming voice

Replies start speaking a fraction of a second after they arrive.

04

Voice input

A microphone with speech detection or push-to-talk, transcribed by the character.

05

Actions and emotions

Register handlers for the actions characters take and react to their emotions.

06

Themeable

Restyle every element with CSS custom properties, in light or dark mode.

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, accent, language, voice and knowledge nodes connected to an agent, 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 Web SDK: common questions

Is the Neocortex Web SDK free?

The SDK is open source under Apache-2.0. Conversations use credits from your Neocortex plan, which includes a free tier.

Why does it need a server?

Neocortex API keys are secret. The SDK's proxy runs on your server so the key never reaches the browser, where anyone could read and spend it.

Does it work with React or Vue?

Yes. The UI is made of standard Web Components, which work in React, Vue, Svelte, Angular and plain HTML.

Can I build my own UI?

Yes. The browser client gives you SmartAgent, GroupDirector and QuizAgent classes with events for every line, emotion and action.

Comparing tools?

How Neocortex compares for Web SDK teams

Put a character on your site

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