Neocortex Logo
Use the Neocortex Web API to add conversational AI, AI NPCs and smart companions to any game, app or platform, whatever language or engine you use.

Neocortex Web API for Cross-Platform Conversational AI

FeatureWeb APIWeb

Neocortex now offers a platform-independent Web API for conversational AI, allowing developers to integrate smart NPCs, AI companions, and contextual dialogue systems into any game or application. Whether you're working in a custom engine, a browser-based game, or backend infrastructure, the Web API offers a flexible and lightweight alternative to our existing SDKs.

Add Conversational AI to Any Platform

In addition to our SDKs, the Web API provides another way to integrate Neocortex, especially useful for:

  • Custom game engines and proprietary runtimes
  • Web and mobile apps not built on Unity or Unreal
  • Backend services that need to coordinate AI interactions
  • Tooling, pipelines, or services that run outside the main client

The Web API makes it easy to work with Neocortex using standard HTTP methods in any programming language or stack.

Quick Start: Make Your First API Call

Here's how to send a message to an AI NPC or companion using the Neocortex Web API:

POST https://neocortex.link/api/v2/chat
Headers:
  x-api-key: YOUR_API_KEY
  Content-Type: application/json
Body:
  {
      "characterId": "YOUR_PROJECT_ID",
      "message": "Hello there!"
  }

Replace YOUR_API_KEY and YOUR_PROJECT_ID with your credentials. The response will include the character's reply, with optional context tracking and memory.

Refer to the Quick Start guide for setup, and explore the full API Reference for streaming responses, audio support, and advanced controls.

Use Cases: AI NPCs, Companions, and More

Neocortex's Web API is designed for developers building:

  • AI-powered NPCs in browser games or lightweight clients
  • Real-time chat companions in web or mobile UIs
  • Game tooling or pipeline services that interact with AI characters
  • Backend systems coordinating AI-driven behavior

This approach is ideal when low-level control, cross-platform support, or custom runtime integration is needed.

The Web SDK Is Now Available

The JavaScript package for browsers and Node.js is out: @neocortex-link/web on npm. It has three parts:

  • A server proxy. It keeps your API key on your server.
  • A typed browser client. It handles streaming voice and microphone input.
  • Drop-in chat components. They work in React, Vue or plain HTML.
npm install @neocortex-link/web

See the Web SDK quick start to put a talking character on your site.

Get Started with the Neocortex Web API

To integrate conversational AI into your project:

Whether you're adding AI NPCs to a custom engine, building AI companions into a web app, or creating backend infrastructure for in-game characters, the Neocortex Web API gives you the flexibility to implement conversational AI anywhere.

Try it today and start building smarter, more immersive experiences.

Written by

Neocortex Team

Date

Aug 4, 2025

Read time

2 min

Similar Posts