Developer

Everything you need to route intent into your own models and products. Typed SDKs, a streaming API and a quickstart that runs in five minutes.

01 — Overview

Cortex turns intention into a stream of structured events your code can subscribe to.

The ring decodes intent on-device and emits an abstracted event: a short text, a confidence score and a privacy scope. Your app never sees raw neural signal.

Stream

Sub-15ms intent events over WebSocket or SSE.

Route

Send intents to any model, local or hosted.

Act

Return a response and Cortex renders it as thought.

02 — SDK

Seamless thought translation, in your language.

  • TypeScript@cortex/sdkWeb, Node, Edge
  • SwiftCortexKitiOS, visionOS, macOS
  • Pythoncortex-sdkResearch and pipelines
terminal
1$ npm i @cortex/sdk
2$ npx cortex pair // pairs the ring on your temple
03 — Intent API

Generative reasoning flow over a plain REST surface.

  • GET/v1/intentsStream intents from a paired ring in real time.
  • POST/v1/intents/:id/resolveAttach a model response to an intent.
  • GET/v1/ringsList rings paired with the current account.
  • POST/v1/sessionsOpen a thought session with privacy scope.
04 — Quickstart

From zero to your first resolved thought.

quickstart.ts
1import { Cortex } from '@cortex/sdk'
2
3const ring = await Cortex.connect({ scope: 'private' })
4
5ring.on('intent', async (thought) => {
6 const answer = await model.run(thought.text)
7 await thought.resolve(answer)
8})