ToggleAI
Developer Docs
Feature flags, remote configuration, structured logging, and AI-powered A/B testing. Ship features without fear across every platform.
Core Services
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.
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.
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.
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
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
| SDK | Install | Status |
|---|---|---|
| TypeScript / Node | npm install toggleai-sdk | Stable |
| Python | pip install toggleai-sdk | Stable |
| Flutter / Dart | toggleai: ^1.0.0 | Stable |
| Go | go get github.com/toggleai/go-sdk | Stable |
| Kotlin / Android | com.toggleai:sdk-kotlin | Stable |
| Java | com.toggleai:sdk-java | Beta |
| Rust | toggleai = "0.1" | Beta |
Terminal Noir Design System — ToggleAI © 2026