Back
Use the Neocortex Web API to integrate conversational AI, AI NPCs, and smart companions into your games, apps, or native platforms—regardless of language or engine.

Neocortex Web API for Cross-Platform Conversational AI

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.

React/Node Integration Package Coming Soon

A dedicated React + Node.js integration package is on the way. It will include typed interfaces, audio streaming support, and a simple chat component to get up and running quickly in browser-based environments.

Once released, developers will be able to install it via npm and integrate AI companions directly into their UIs with minimal setup.

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

Date

Mon, 04 Aug 2025