Open app
Moonborn — For you

API + SDKs + recipes for shipping persona-driven apps Developer

API + SDKs + recipes for shipping persona-driven apps.

Suggested reading order
01
Quickstart

Generate your first persona in five minutes.

Open →
02
Authentication

Authenticate requests to the Persona API

Open →
03
Build your first persona

From a one-line intent to a fully audited, four-layer persona with a captured voice fingerprint — in five minutes.

Open →
04
Set up a chat session

Open a chat session against a persona, send a message, and read the streaming reply with the drift envelope attached.

Open →
05
Handle voice drift

Configure thresholds, wire the `persona.audit_failed` webhook into your QA queue, and (optionally) enable auto-recovery so flagged replies never reach the user.

Open →
06
OpenAI-compat migration

One-line swap from the OpenAI SDK to Moonborn's `/v1/openai` shim. Streaming, tool calling, and function calling pass through.

Open →
07
MCP server integration

Connect Claude / Cursor / agent frameworks to Moonborn via the Model Context Protocol server. Personas appear as resources, chat as a tool.

Open →
08
Soul, Self, Mask, Surface

Why generated characters feel flat — and how Moonborn's four-layer model produces personas that hold up under conversational pressure.

Open →
09
Voice fingerprint

The voice fingerprint, drift detection, and recovery strategies that keep a persona from sliding under long conversations or model swaps.

Open →
10
TypeScript SDK

Type-safe SDK for Node.js and browser applications

Open →
11
Python SDK

SDK for Python applications

Open →
12
Api Reference
Open →