Aelio
Overview

Why Aelio?

The problem we solve and how Aelio differs from alternatives.

The problem

Every SaaS product eventually needs a conversational interface for its customers — support chat, order tracking, self-service actions. Building this from scratch means:

  • Integrating an LLM and managing prompts
  • Building a chat widget with reconnect and history
  • Wiring WhatsApp or other messaging channels
  • Implementing safety rails (confirm before cancel/delete)
  • Building per-customer memory across sessions
  • Handling identity across Web and WhatsApp
  • Deploying and scaling chat infrastructure

This takes months and a dedicated team. Most SaaS products either skip it or ship a basic chatbot that can't actually do anything.

Who solves what today

Tool categorySolvesDoesn't solve
OpenAPI → MCP (Claude Desktop, Cursor)Developer calls APIs from AI IDEEnd-customer chat on WhatsApp/Web
Chatbot builders (Intercom, Drift)Support chat UIReal backend tool execution
LLM frameworks (LangChain, CrewAI)Agent orchestrationProduction channels, safety, memory
Voice AI (Vapi, Bland)Phone callsText chat, SaaS tool integration

Nobody owns the SaaS-to-end-customer conversational layer with real backend integration, safety, memory, and multi-channel delivery.

What Aelio solves

NeedHow Aelio solves it
End user is a customer, not a developerWidget + WhatsApp channels with identity resolution
Interaction on WhatsApp, WebBuilt-in channel adapters + BYO provider hooks
Identity, session, safetyLifecycle states, read/write/destructive gates, confirmations
Persistent user understandingAnalytical agent + vector memory (not just turn-by-turn)
Real backend actionsSDK exposes your actual functions — not API docs
No credential sharingSDK dials out; your auth/DB stay in your process
Fast integrationOne SDK install, one YAML, one container — under 30 minutes

Key differentiators

SDK dials out (not webhooks in)

Your backend opens one WebSocket to Aelio. No inbound ports, no firewall changes, no webhook URLs to configure. Your API keys and database credentials never leave your process.

Functions, not API docs

You expose real handler functions with aelio.expose(). The LLM calls them with typed parameters. No OpenAPI ingestion, no schema drift, no hallucinated endpoints.

Two agents, one system

The conversational agent handles real-time chat. The analytical agent builds persistent customer intelligence in the background. Memory is core, not an optional bolt-on.

Production safety

Read/write/destructive safety levels. Write actions require explicit user confirmation. Lifecycle states gate which tools are available. Built into every turn.

Single-container deployment

One Docker image (~190MB). SQLite embedded. No Redis, no separate vector DB, no Kafka. Self-host on any cloud or run locally.

Open source

Apache-2.0 intent. No vendor lock-in. Inspect, modify, and self-host everything.

When to use Aelio

Use Aelio when

  • Your SaaS customers need to ask questions and take actions via chat
  • You want WhatsApp + Web from one integration
  • You have existing backend logic you want to expose conversationally
  • You need safety rails and memory without building them
  • You want to ship in days, not months

Consider alternatives when

  • You only need a static FAQ chatbot with no backend actions
  • You need voice/telephony (not Aelio's focus in V1)
  • You want a no-code chatbot builder with a visual flow editor
  • Your use case is developer-to-AI-agent (use MCP instead)

The integration promise

// This is the entire integration for most SaaS products:
import { aelio } from '@aelio/sdk';

aelio.expose('getOrderStatus', handler, { safety: 'read', ... });
aelio.expose('cancelOrder', handler, { safety: 'write', ... });

await aelio.listen({ secret: process.env.AELIO_SDK_SECRET });

Plus a script tag for the widget. That's it.

On this page