A complete autonomous security operations platform — from deployment to detection to response.
Here is absolutely everything TokioAI handles for you.
🛡️
Intelligent WAF (Web Application Firewall)
Nginx-based reverse proxy with 15+ WAF signatures detecting SQL Injection, XSS (reflected/stored),
path traversal (../../etc/passwd), command injection (;cat, |whoami), SSRF, Log4Shell,
scanner fingerprints (Nikto, sqlmap, Nmap), WordPress exploits (wp-login, xmlrpc),
exposed configs (.env, .git), and protocol violations. Every HTTP request is inspected in real time.
🧠
ML Threat Classification (OWASP Top 10)
Machine learning-powered real-time processor classifies every request by severity
(critical, high, medium, low, normal) and maps each threat to OWASP Top 10 2021 categories:
A01 (Broken Access Control), A03 (Injection), A05 (Security Misconfiguration),
A06 (Vulnerable Components), A07 (Auth Failures), A10 (SSRF), and more.
False positives are minimized with smart path exclusions for legitimate requests.
🔒
3-Tier Auto-Blocking Engine
Automatic IP blocking via three independent layers: (1) Immediate block on critical WAF
signature matches (SQLi, RCE). (2) Episode-based block when behavioral analysis detects
sustained attack patterns. (3) Rate-limit block when request volume thresholds are exceeded.
Blocked IPs are written to an Nginx blocklist and the proxy reloads in seconds — zero downtime.
📊
Episode Detection & Attack Correlation
Groups related attack events from the same IP within configurable time windows into "episodes".
Multi-vector attacks (e.g., scanning → injection → config probing → exfiltration attempts) are
correlated into a single episode. Episode severity auto-escalates based on event count and types.
Episodes trigger blocking when thresholds are exceeded.
☁️
One-Command GCP Deployment
Deploy the entire WAF + ML + Dashboard stack on Google Cloud Platform with a single natural language
command. TokioAI creates: VPC network + subnet, firewall rules, static IP, Compute Engine VM,
Docker containers (Nginx, Kafka, Zookeeper, PostgreSQL, ML Processor, Dashboard API, Blocklist Sync),
SSL certificates via Let's Encrypt with auto-renewal, and DNS configuration — all automated.
📈
Auto-Scaling Infrastructure
Designed for high-traffic and DDoS scenarios. GCP Managed Instance Groups (MIG) support
horizontal scaling. The Kafka pipeline handles millions of events per minute.
Infrastructure can be created, destroyed, and recreated instantly via natural language commands.
🖥️
Real-Time Security Dashboard
Beautiful dark-theme dashboard with JWT login, live traffic charts (Chart.js),
severity distribution, recent traffic table (with normal/info/low/medium/high/critical labels),
blocked IPs management (block/unblock from UI), episode viewer with risk scores,
and advanced filters by IP address, URL pattern, and date/time range. All data refreshes in real time.
✋
Manual + Auto IP Blocking
Block or unblock any IP manually from the dashboard with a single click, or let the auto-blocking
engine handle it. All blocks — manual and automatic — are enforced immediately at the Nginx proxy
level via a shared blocklist volume. A sidecar container monitors changes and reloads Nginx config
automatically. Full audit trail of all block/unblock actions in PostgreSQL.
🤖
Autonomous AI Agent (Natural Language)
The core AI agent (tokio-cli) accepts natural language commands in any language.
It understands context, executes tools, chains multi-step operations, handles errors and retries
intelligently, and requires explicit confirmation for dangerous actions. Supports OpenAI (GPT-4),
Anthropic (Claude), and Google Gemini as LLM backends with automatic fallback.
💬
Telegram Bot Integration
Full-featured Telegram bot: deploy sites, destroy infrastructure, check WAF status,
receive real-time attack alerts and episode notifications, block/unblock IPs,
query attack analytics, and manage your entire security stack — all from your phone.
Access control via owner ID + allowed users list.
🏠
Home Assistant + Alexa Voice Control
Integrates with Home Assistant via Alexa Media Player for voice-controlled security operations.
"Alexa, ask TokioAI for a security report" — get attack summaries, check blocked IPs,
and control your SOC operations completely hands-free from any Alexa-enabled device.
🔧
SSH Host & Router Control
Full remote administration via SSH: manage cron jobs, create/edit scripts, control systemctl services,
read logs, install/remove packages, reboot — all with safety confirmations. Includes dedicated
router control for OpenWrt/GL.iNet devices: manage firewall rules, DNS, DHCP, connected clients,
VPN tunnels, and network diagnostics at the network layer.
🌐
DNS & Domain Management
Automated DNS management via Hostinger API: create, update, and delete DNS records
programmatically. Automatically configures DNS when deploying to GCP. Supports A, CNAME,
MX, TXT, and other record types. Handles TTL management and propagation verification.
🔐
SSL/TLS Certificates (Let's Encrypt)
Automatic SSL certificate provisioning and renewal via Let's Encrypt + Certbot.
HTTP to HTTPS redirect enforced at the proxy level. Certificates are stored in
persistent volumes and renewed automatically before expiration. Zero manual intervention.
📡
Kafka Event Streaming Pipeline
Apache Kafka + Zookeeper backbone for reliable, high-throughput event streaming.
A log processor tails Nginx access logs and publishes structured JSON events.
The real-time processor consumes events, classifies threats, and writes results to PostgreSQL.
Handles millions of events per minute for high-attack/DDoS scenarios.
🗄️
PostgreSQL Analytics Database
Full relational database schema storing: WAF logs (every request), episodes (attack groups),
blocked IPs (with reason, duration, audit trail), and system events. Supports multi-tenant
architecture with tenant_id isolation. All data is queryable via the Dashboard API with
filters, pagination, and time-range selection.
🐳
Docker Compose — Everything Containerized
The entire platform runs as Docker containers orchestrated by Docker Compose.
Profile-based deployment: "local" for on-premise (Raspberry Pi, server), "gcp" for cloud.
Each service is isolated, restartable, and independently scalable.
One file defines the entire infrastructure.
⚡
Infrastructure as Code — Create & Destroy
Tell TokioAI "deploy mysite.com on GCP" and the entire infrastructure is created.
Tell it "destroy the GCP infrastructure" and everything is cleaned up.
All operations use the Google Cloud Python SDK — no external tools (Terraform, gcloud CLI)
needed. The agent handles VM creation, networking, Docker setup, SSL, and DNS — all programmatically.