Aelio

Introduction

Aelio documentation — open-source conversational runtime for SaaS products.

Welcome to the Aelio documentation. Aelio lets any SaaS product offer its customers a production-grade AI chat experience on Web and WhatsApp — powered by your existing backend.

Three products, one system

ProductPackageWhere it runs
Convox SDK@aelio/sdk / aelio-sdkYour backend server
Chat Widget@aelio/chatYour website (browser)
Aelio ServerDocker (aelio/server)Your infrastructure

Supported platforms

PlatformSDK statusGuide
Node.js / ExpressOfficial (@aelio/sdk)Node.js
Next.jsOfficial SDK + widgetNext.js
React (Vite, CRA)Official SDK + widgetReact
Python (FastAPI, Django)Official (aelio-sdk)Python
GoWire protocol (community)Go
RubyWire protocol (community)Ruby
RustWire protocol (community)Rust

Quick start

# 1. Start Aelio server
export AELIO_SDK_SECRET=change-me-in-production
pnpm --filter @aelio/server dev

# 2. Install SDK in your backend
npm install @aelio/sdk

# 3. Expose a function and connect
import { aelio } from '@aelio/sdk';

aelio.expose('getOrderStatus', async ({ orderId }, ctx) => {
  return await db.orders.findOne({ id: orderId, userId: ctx.customerId });
}, { description: 'Get order status', params: { orderId: 'string' }, safety: 'read' });

await aelio.listen({ secret: process.env.AELIO_SDK_SECRET, url: 'ws://127.0.0.1:3010' });

See the Installation guide for the full setup, or pick your platform guide.

On this page