Aelio
Installation

Prerequisites

System requirements and dependencies before installing Aelio.

Runtime requirements

RequirementVersionRequired for
Node.js≥ 20SDK, server, widget
pnpm≥ 9Building Aelio from source
Python≥ 3.9Python SDK only
DockerAny recentProduction server deployment

LLM provider (optional for local dev)

Set an API key for real LLM responses. Without one, the server uses a built-in mock LLM:

ProviderAPI keyConfig profile
OpenAI (default)OPENAI_API_KEYconfig.openai.yaml
AnthropicANTHROPIC_API_KEYconfig.anthropic.yaml
GeminiGEMINI_API_KEYconfig.gemini.yaml
GroqGROQ_API_KEY
OllamaNone (local)

Secrets

You need one shared secret for SDK ↔ Server auth:

export AELIO_SDK_SECRET=change-me-in-production

Generate a strong secret for production:

openssl rand -hex 32

Never put AELIO_SDK_SECRET in frontend code.

Three secrets (do not conflate)

SecretPurposeWhere it lives
AELIO_SDK_SECRETSDK ↔ Server authServer env + your backend env
LLM API keyServer ↔ LLM providerServer env only
Session tokenWidget ↔ Server authIssued per-user, short-lived

Repository setup (from source)

git clone https://github.com/aelio-dev/aelio.git
cd aelio
pnpm install
pnpm build

Database (for your app)

Aelio Server uses embedded SQLite. Your application uses its own database (Postgres, MySQL, etc.) — Aelio never touches it.

On this page