🚀Start free with 10,000 API requests/month included
Live Interactive Demo

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.

Vercel AI SDK+Bastio Guard Endpoint+OpenAI GPT-4o Mini

AI Chat Interface

Powered by Bastio Security + OpenAI via Vercel AI SDK

Try a Security Scenario

No messages yet

Select a preset scenario above or type your own message

Security Logs

Real-time threat detection across 5 security layers

No security logs yet

Click a preset scenario or send a message to see threat detection in action

How This Demo Works

1

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.

2

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!

3

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.

4

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

1

Pattern Matching

Aho-Corasick algorithm checks 1000+ known attack patterns in <10ms

2

Bot Detection

User agent analysis, timing patterns, and behavioral fingerprinting

3

ML Classification

14 threat types including jailbreaks, toxicity, and social engineering

4

Threat Lists

MaxMind GeoLite2, Tor nodes, VPN/proxy detection, cloud provider IPs

5

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.