Experience Bastio in Action
See real-time AI security threat detection with drop-in OpenAI compatibility. Built with Vercel AI SDK to showcase authentic integration.
AI Chat Interface
Powered by Bastio Security + OpenAI via Vercel AI SDK
Try a Security Scenario
Security Logs
Real-time threat detection across 5 security layers
How This Demo Works
Authentic Customer Setup
This demo uses a real Bastio customer account (demo@bastio.ai) with an actual proxy and API key - the same setup you would use in production.
Vercel AI SDK Integration
The chat interface uses Vercel's AI SDK with a custom base URL pointing to Bastio's Guard endpoint. Just change the baseURL - that's it!
Real-Time Security Analysis
Every message passes through 5 security layers: Pattern Matching, Bot Detection, ML Classification, Threat Lists, and PII Detection - all in under 15ms.
OpenAI Compatibility
Bastio is 100% OpenAI-compatible. The AI SDK thinks it's talking to OpenAI, but gets enterprise-grade security protection transparently.
5-Layer Security Architecture
Pattern Matching
Aho-Corasick algorithm checks 1000+ known attack patterns in <10ms
Bot Detection
User agent analysis, timing patterns, and behavioral fingerprinting
ML Classification
14 threat types including jailbreaks, toxicity, and social engineering
Threat Lists
MaxMind GeoLite2, Tor nodes, VPN/proxy detection, cloud provider IPs
PII Detection
14 PII types with SHA-256 hashing, business logic validation, ReDoS protection
Ready to Secure Your AI?
Get started with Bastio in minutes. Drop-in replacement for OpenAI with enterprise security.