v0.2.0

ToggleAI
Developer Docs

Feature flags, remote configuration, structured logging, and AI-powered A/B testing. Ship features without fear across every platform.

Core Services

01. FLAG ENGINE

Feature Flagging Service

Provides robust toggle states supporting Boolean, String, Number, and JSON multivariate variations. Features high-performance local cached evaluations (sub-ms execution with zero network dependency), multi-condition targeting rules, percent rollouts, and instant safety kill switches.

02. CONFIG ENGINE

Remote Configuration

An enterprise key-value storage engine facilitating dynamic schema updates. Seamlessly customize properties and configurations on the fly across different environments (Development, Staging, Production) with built-in rollback versioning.

03. TELEMETRY ENGINE

Structured Log Ingestion

Maintains high-velocity, batched log buffer transport pipelines that safely route debugging, warning, error, and fatal logs. Enriches events automatically with device platform (OS, vendor, CPU model) and package-level details without blocking application threads.

04. AI LAYER

Predictive & Proactive Insights

Provides intelligent suggests to auto-clean stagnant code paths, runs automated statistical analysis over multivariate experiment conversions, and utilizes machine learning churn predictors to highlight at-risk user cohorts based on config interaction vectors.

Public Edge Gateway Architecture

All core services communicate strictly via zero-trust edge endpoints secured with environment-scoped client and server keys. Internal administration panels, SQLite/PostgreSQL schemas, and management routines are entirely shielded from client runtimes.

Jump To

Platform Capabilities

Sub-ms Evaluation

Flags evaluated locally in-memory from cached payload. Zero network latency.

Advanced Targeting

14 condition operators, user segments, percentage rollouts, kill switches.

A/B Experiments

Hypothesis-driven testing with traffic allocation, metrics tracking, and statistical confidence.

Structured Logging

Batched, buffered log ingestion with error monitoring and global capture.

Universal SDKs

Works everywhere — Node.js, browsers, NestJS, edge runtimes, Flutter, Android, Go.

Scoped API Keys

Fine-grained access control with origin/IP allow-lists and rate limiting.

Architecture

Your App
ToggleAI SDK
ToggleAI API

Local Evaluation

SDK caches config payload. Flags evaluated in-memory with zero network calls. Sub-millisecond response.

Background Polling

SDK polls GET /sdk/config every 30s to keep the cache fresh.

Server Evaluation

For real-time accuracy, SDK calls POST /sdk/evaluate on the backend.

SDK Status

SDKInstallStatus
TypeScript / Nodenpm install toggleai-sdkStable
Pythonpip install toggleai-sdkStable
Flutter / Darttoggleai: ^1.0.0Stable
Gogo get github.com/toggleai/go-sdkStable
Kotlin / Androidcom.toggleai:sdk-kotlinStable
Javacom.toggleai:sdk-javaBeta
Rusttoggleai = "0.1"Beta

Terminal Noir Design System — ToggleAI © 2026