Skip to content
@bastio-ai

Bastio AI

Protecting AI applications.
██████   █████  ███████ ████████ ██  ██████
██   ██ ██   ██ ██         ██    ██ ██    ██
██████  ███████ ███████    ██    ██ ██    ██
██   ██ ██   ██      ██   ██    ██ ██    ██
██████  ██   ██ ███████    ██    ██  ██████

The AI Security Platform — Gateway, Governance, Workspace

Website Docs Status X LinkedIn


Bastio 2.0 — Now Live

Four products. One platform. Self-host the OSS, or run it as a service on Bastio Cloud.

"Make secure, affordable AI the default."

One line change. Sub-10 ms latency. Full protection.


The Platform

🛡️ Bastio Gateway — OSS

The AI security gateway. Drop-in OpenAI-compatible proxy with prompt injection blocking, PII redaction, jailbreak detection, response caching, multi-provider routing, and full audit logging. Single Go binary, Docker Compose, or Helm.

FSL-1.1-ALv2 · Go + React · Self-hostable

☁️ Bastio Cloud — Hosted

The managed version. Same gateway, plus auth, orgs, billing, SSO (SAML/OIDC), RBAC, and audit. SOC 2, HIPAA, GDPR ready. Free tier — pay only for what you proxy.

Hosted · api.bastio.com · cloud.bastio.com

🔍 Bastio Governance — OSS

Chrome + Edge extension that audits Shadow AI usage across ChatGPT, Claude, Gemini, Copilot, and others. Four-layer detector (regex / secrets / code / Presidio) intercepts sensitive content with Block + Configurable Redirect. SCIM 2.0 for IdP rollouts.

FSL-1.1-ALv2 · MV3 · "Free 14-day Shadow AI Audit"

💬 Bastio Workspace — Hosted

A secure AI chat workspace for teams. Bring your own keys or use Bastio Cloud as the provider — every message routes through the gateway, so security and audit are on by default. Custom domains supported.

Hosted · workspace.bastio.com


Quick Start — Drop-in Proxy

Before — calling OpenAI directly:

from openai import OpenAI

client = OpenAI(
    api_key="sk-...",
)

After — routed through Bastio:

from openai import OpenAI

client = OpenAI(
    base_url="https://api.bastio.com/v1",  # <- just change this
    api_key="bastio-...",                   # <- just change this
)

Every request now gets security, caching, compliance, and failover. Same change works against a self-hosted Bastio Gateway — just point base_url at your install.

Sign Up Free · Self-Host the OSS · Read the Docs


Supported Providers

OpenAI · Anthropic · Google Gemini · AWS Bedrock · Azure OpenAI · Mistral · Groq · and more

One endpoint, every provider. Automatic failover when one goes down.


Feature Overview

Feature Description Impact
Prompt Injection Blocking Detect and block malicious prompt manipulation Prevent data leaks and misuse
PII Masking Redact sensitive data before it hits the LLM Compliance without manual review
Response Caching Semantic caching for repeated queries 30–70% cost reduction
Multi-Provider Routing Route by cost, latency, or capability Optimize spend & reliability
Budget Guardrails Spend limits per team, project, or key No surprise bills
Audit Logging Immutable logs of every request and decision SOC 2 / HIPAA / GDPR ready
Automatic Failover Reroute when a provider is down Zero-downtime AI ops
Real-Time Observability Dashboards for latency, tokens, and costs Full LLM visibility
Shadow AI Audit Browser extension visibility into unsanctioned AI use Catch leaks before they ship
OpenAI-Compatible API Drop-in proxy — any OpenAI SDK client Integrate in minutes

Open Source

Repo What License
🛡️ bastio The AI Security Gateway — Go backend + React dashboard. Ships the Python and TypeScript SDKs from sdk/. FSL-1.1-ALv2
🔍 bastio-extension Bastio Governance — Chrome/Edge Shadow AI extension FSL-1.1-ALv2
🔧 bast AI-powered terminal assistant CLI MIT

Client SDKs

pip install bastio                  # Python
npm install @bastio/core            # TypeScript / JavaScript
npm install @bastio/mastra          # Mastra processor
npm install @bastio/vercel-ai       # Vercel AI SDK middleware

All SDKs are MIT-licensed and live in the bastio repo under sdk/.

Watch this org to get notified when we ship new repos.


Get Started

🌐 Website  ·  :book: Documentation  ·  :rocket: Sign Up Free  ·  :package: Self-Host  ·  :email: Contact


"Make secure, affordable AI the default."
Founded by Daniel Jacobsen
X · LinkedIn · bastio.com

Popular repositories Loading

  1. bast bast Public

    Bast is a free, open-source CLI built to bring security to AI-powered terminal operations. It integrates with Bastio AI Security Gateway to protect your data before it reaches the LLM.

    Go 8

  2. bastio-vercel-aisdk bastio-vercel-aisdk Public

    This project showcases how Bastio AI Security works together with the Vercel AI SDK to build secure AI-powered applications.

    TypeScript 1

  3. clawdbot-integration clawdbot-integration Public

    This config routes all LLM requests through Bastio's security gateway. You get: prompt injection blocking, tool-call validation, PII masking, caching, and full audit logs.

    1

  4. pi-extension pi-extension Public

    Bastio AI Security Gateway extension for the Pi coding agent

    TypeScript 1

  5. bastio bastio Public

    Open-source AI security gateway. PII, jailbreak, prompt injection, secret detection - self-hosted.

    Go 1

  6. bastio-extension bastio-extension Public

    Audit Shadow AI usage and intercept sensitive data before it reaches public AI tools.

    TypeScript 1

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…