API & Integrations

Embed Sara into
your product

A powerful, developer-first API to bring emotionally intelligent AI conversations into any app, workflow, or platform.

chat.ts
import TranquilAI from '@tranquilai/sdk';const sara = new TranquilAI({  apiKey: process.env.TRANQUIL_API_KEY,});const response = await sara.chat({  userId: 'user_123',  message: "I'm feeling overwhelmed.",});console.log(response.reply);// → "It sounds like things feel heavy //    right now. Want to talk about it?"

Everything you need

Simple REST API

A clean, well-documented API that lets you embed Sara into any app in minutes. Supports streaming responses.

Built-in Safety Rails

Clinical safety guardrails come baked in. Crisis detection and escalation triggers are handled out of the box.

Persistent Memory

Sara remembers past conversations per user, enabling longitudinal, hyper-personalized therapeutic experiences.