Skip to content

SDK feature parity

All official Amlexia SDKs implement the same core feature set.

FeatureNodePythonGoRuby
Buffered client + auto flush
from_env / env config
Optional timestamp (server default)
Auto cost estimation (ingest)
Sampling (sample_rate 0–1)
Diagnostic mode
Health check
CLI amlexia health
HTTP outbound wrapper
OpenAI helper
Anthropic helper
Tracing (trace/span context)
402 monthly usage handling

Packages

LanguageInstall
Node.jsnpm install @amlexiahq/node
Pythonpip install amlexia
Gogo get github.com/amlexiahq/amlexia-go
Rubygem install amlexia

Environment variables

VariableRequired
AMLEXIA_SDK_KEYYes
AMLEXIA_INGEST_URLNo (default https://ingest.amlexia.com)
AMLEXIA_ENVIRONMENTNo (production, staging, …)
AMLEXIA_RELEASENo

Runtimes

Node SDK also runs on Bun, Deno, and Cloudflare Workers — see Bun, Deno & Edge.