Skip to Content
BSupervisorGetting Started

BSupervisor is a real-time safety layer that monitors and audits AI agent behavior. It collects every action as an event, evaluates them against predefined rules to detect threats, and tracks LLM usage costs.

What BSupervisor Does

FeatureDescription
Real-time rule evaluationAutomatically detects threats with 8 built-in safety rules
Custom rulesCreate audit rules that match your organization’s security policies
Cost trackingMonitor LLM API costs per agent and per model with anomaly detection
Daily reportsAutomated reports covering rule violations, cost trends, and anomalies
Alert integrationsInstant notifications via Telegram, Slack, or email

Quick Start

Step 1: Create an Account and Sign In

  1. Go to supervisor.bsvibe.dev  in your browser.
  2. Click the Sign in with BSVibe button.
  3. After signing in, you’ll see the dashboard.

BSupervisor Dashboard — View event counts, rule violations, and cost trends at a glance.

The dashboard displays:

  • Event Count: Total events collected (today / this week / this month)
  • Rule Violations: Violation count and severity distribution
  • Cost Overview: LLM cost chart per agent
  • Recent Alerts: Latest alert list

Step 2: Connect Your Agents

On the Settings page, connect the AI agent platforms you want to monitor:

Integration MethodHow to Set UpSupported Platforms
BSVibe auto-integrationAutomatically connected when using BSNexusBSNexus
API key basedEnter the platform’s API keyOpenAI, Anthropic
WebhookSet the BSupervisor-provided Webhook URL in your agentCustom agents

Integration steps:

  1. Click Settings > Integrations.
  2. Click the Connect button for the platform you want to integrate.
  3. Enter the required credentials (API keys, etc.).
  4. Click Test Connection to verify the connection.
  5. Click Save to store the settings.

Step 3: Review Built-in Rules

Navigate to the Rules page to see the 8 built-in safety rules, which are enabled by default:

Rule Management Page

#RuleSeverityDescription
1SQL Injection detectionCriticalDetects SQL injection patterns in queries
2Prompt Injection detectionCriticalDetects prompt manipulation attempts
3PII leak preventionCriticalDetects personal information (names, emails, phone numbers) being sent externally
4Excessive resource usageWarningDetects CPU, memory, and network usage exceeding thresholds
5Unauthorized external API callsWarningDetects calls to URLs not on the allowlist
6Sensitive file accessCriticalDetects access to .env, certificates, key files, and other sensitive files
7Abnormal token usageWarningDetects abnormally high token usage compared to the average
8Repetitive error patternsInfoDetects repeated identical errors within a time window

Each rule can be individually enabled/disabled, and its thresholds and notification channels can be customized.

Step 4: Set Up Alert Channels

To receive instant notifications when rules are violated:

  1. Click Settings > Notifications.
  2. Add notification channels:
    • Telegram: Enter a Bot Token and Chat ID.
    • Slack: Enter a Slack Webhook URL.
    • Email: Enter the notification email address.
  3. Configure alert policies by severity:
    • Critical: Instant alert on all channels
    • Warning: Alert on selected channels
    • Info: Dashboard only (no alert by default, configurable)

Step 5: Monitor the Dashboard

Once set up, monitor the following on the Dashboard in real time:

  • Event timeline: Agent events sorted chronologically
  • Violation chart: Daily/weekly violation trend graphs
  • Cost trends: LLM cost charts per agent and per model

BSupervisor Cost Tracking

Next Steps

  • Core Concepts — Understand event collection, the rule engine, and cost tracking architecture
  • Rule Management — Detailed guide to creating and managing custom rules
Last updated on