# Bifrost - [OSS (152 pages)](https://docs.getbifrost.ai/_llms/oss.txt): Documentation for OSS. ## Enterprise ### Getting Started - [Bifrost Enterprise Gateway](https://docs.getbifrost.ai/enterprise/overview.md): Production-grade AI gateway for organizations running mission-critical AI workloads. Built on top of open-source Bifrost with high-availability clustering, fine-grained governance, audit-grade compliance, and managed deployment options. ### Moving from OSS - [Overview](https://docs.getbifrost.ai/enterprise/moving-from-oss/overview.md): What carries over from open-source Bifrost, what changes, and how to migrate your SQLite config store to PostgreSQL before upgrading. - [Sizing & redundancy](https://docs.getbifrost.ai/enterprise/moving-from-oss/sizing.md): Hardware sizing for Bifrost Enterprise gateway pods and PostgreSQL, with and without object storage for large logs. - [Cross-region deployment](https://docs.getbifrost.ai/enterprise/moving-from-oss/cross-region.md): Why Bifrost tolerates geographically distributed pods without putting database latency on the request path. - [Security hardening](https://docs.getbifrost.ai/enterprise/moving-from-oss/security-hardening.md): Mandatory controls before exposing Bifrost Enterprise to production traffic: IdP-enforced identity, scoped virtual keys, locked-down CORS, and a minimal header allowlist. - [Versioning](https://docs.getbifrost.ai/enterprise/moving-from-oss/versioning.md): Why Enterprise and OSS use independent version numbers, and how to find the OSS base each Enterprise release is built on. ### Release Cadence - [Release Cadence](https://docs.getbifrost.ai/enterprise/release-cadence.md): How Bifrost Enterprise releases are versioned and shipped ### Migration Guides - [Migrating to Enterprise v2.0.0](https://docs.getbifrost.ai/enterprise/migration-guides/v2.0.0.md): Breaking changes and migration instructions for the Enterprise v2.0.0 release - [Migrating to Enterprise v1.4.0](https://docs.getbifrost.ai/enterprise/migration-guides/v1.4.0.md): Breaking changes and migration instructions for the Enterprise v1.4.0 release ### Features - [User Provisioning (OIDC + SCIM)](https://docs.getbifrost.ai/enterprise/user-provisioning.md): Authenticate users, sync teams, and provision roles, business units, and access profiles from your identity provider using OAuth 2.0 / OIDC, background directory sync, and inbound SCIM 2.0. - [How Identity Sync Works](https://docs.getbifrost.ai/enterprise/how-identity-sync-works.md): How Bifrost keeps users, roles, teams, business units, and access profiles in step with your identity provider: what happens at sign-in, over SCIM, and in the background, and what happens when access is removed. - [Teams, Business Units & Customers](https://docs.getbifrost.ai/enterprise/teams-business-units-customers.md): Model your organization in Bifrost Enterprise: how customers, business units, teams, and users fit together, who owns which keys, and which budgets every request is charged against. - [Access Profiles](https://docs.getbifrost.ai/enterprise/access-profiles.md): Define reusable provider, model, budget, rate-limit, and MCP policies once, then apply them to users, roles, teams, business units, and customers. - [Role-Based Access Control](https://docs.getbifrost.ai/enterprise/rbac.md): Manage user access with fine-grained permissions across Bifrost resources using roles and permissions. - [Data Access Control (DAC)](https://docs.getbifrost.ai/enterprise/data-access-control.md): Decide which users, teams, business units, customers, keys, logs, and dashboards each person can see, based on their role and where they sit in your organization. - [Virtual MCPs](https://docs.getbifrost.ai/enterprise/virtual-mcps.md): Enterprise scoping for Virtual MCPs: access-profile grants, data access control visibility, project assignment, and cluster propagation. - [Projects](https://docs.getbifrost.ai/enterprise/projects.md): Scope a request to a piece of work with its own access, its own budget, and its own line in every report, chosen per request by the caller. - [Prompt Deployments](https://docs.getbifrost.ai/enterprise/prompt-deployments.md): Enterprise version routing for the Prompt Repository: CEL matching rules and weighted traffic distribution decide which committed prompt version serves each request. - [Audit Logs](https://docs.getbifrost.ai/enterprise/audit-logs.md): Track administrative activity in Bifrost Enterprise with signed audit events, filtering, and export support. - [Secret Management](https://docs.getbifrost.ai/enterprise/secret-management.md): Connect AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault, or Azure Key Vault so Bifrost never stores plaintext API keys in its database. - [Log Exports](https://docs.getbifrost.ai/enterprise/log-exports.md): Offload Bifrost request and response payloads to S3, GCS, or Azure Blob Storage while keeping searchable metadata in the logs database. - [Clustering](https://docs.getbifrost.ai/enterprise/clustering.md): Enterprise-grade high-availability clustering with automatic service discovery, intelligent traffic distribution, and gossip-based state synchronization for production deployments. - [Circuit Breaker](https://docs.getbifrost.ai/enterprise/circuit-breaker.md): Automatic failover to a backup provider when a primary endpoint degrades, based on configurable HTTP response header signals. - [In-VPC Deployments](https://docs.getbifrost.ai/enterprise/invpc-deployments.md): Deploy Bifrost within your private cloud infrastructure with VPC isolation, custom networking, and enhanced security controls for enterprise environments. #### Workload Identity - [Workload Identity](https://docs.getbifrost.ai/enterprise/workload-identity/overview.md): Let CI pipelines and cloud workloads call Bifrost with a short-lived token from their own platform, running as a service account, with no keys stored in Bifrost. - [Microsoft Entra](https://docs.getbifrost.ai/enterprise/workload-identity/entra.md): Map Azure managed identities and app registrations to Bifrost service accounts so AKS services, Azure Functions and CI pipelines call Bifrost with their Entra token. - [AWS](https://docs.getbifrost.ai/enterprise/workload-identity/aws.md): Map AWS IAM roles to Bifrost service accounts so Lambda functions, ECS tasks, EC2 instances and EKS pods call Bifrost with a short-lived AWS token instead of a stored key. - [OIDC providers](https://docs.getbifrost.ai/enterprise/workload-identity/oidc.md): Map Okta, Auth0, Keycloak or any OIDC provider's machine clients to Bifrost service accounts by client ID, so services call Bifrost with a client-credentials token. #### Guardrails - [Overview](https://docs.getbifrost.ai/enterprise/guardrails.md): Enterprise-grade content safety and security validation with Prompt Guardrails, native regex, secrets detection, Presidio, Azure AI Language PII, AWS Bedrock Guardrails, Azure Content Safety, Google Model Armor, CrowdStrike AIDR, Gray Swan Cygnal, Patronus AI, Check Point's AI Agent Security, Repell… - [Redaction Modes](https://docs.getbifrost.ai/enterprise/guardrails/redaction.md): Configure Bifrost-managed guardrail redaction for runtime payloads, Bifrost logs, and trace-export connectors. ##### Providers - [Secrets Detection](https://docs.getbifrost.ai/enterprise/guardrails/secrets-detection.md): Detect leaked API keys, tokens, private keys, and credentials in LLM inputs and outputs with Bifrost Enterprise's built-in Gitleaks-backed guardrail. - [Prompt Guardrails](https://docs.getbifrost.ai/enterprise/guardrails/prompt-guardrails.md): Use a configured LLM or decision model as a judge to enforce natural-language policies on LLM and MCP inputs and outputs. - [Custom Regex](https://docs.getbifrost.ai/enterprise/guardrails/custom-regex.md): Create in-process regex guardrails for organization-specific policies, including the built-in PII Detection template. - [Microsoft Presidio](https://docs.getbifrost.ai/integrations/guardrails/presidio.md): Use Microsoft Presidio Analyzer with Bifrost Guardrails for configurable PII detection, blocking, and redaction. - [Azure AI Language PII](https://docs.getbifrost.ai/integrations/guardrails/azure-language-pii.md): Use Azure AI Language PII detection with Bifrost Guardrails for configurable PII detection, blocking, and redaction. - [AWS Bedrock Guardrails](https://docs.getbifrost.ai/integrations/guardrails/aws-bedrock.md): Integrate AWS Bedrock Guardrails with Bifrost for enterprise-grade content filtering, PII protection, prompt attack detection, and image content analysis. - [Azure Content Safety](https://docs.getbifrost.ai/integrations/guardrails/azure-content-safety.md): Integrate Azure AI Content Safety with Bifrost for multi-modal content moderation, severity-based filtering, prompt shield, and custom blocklist support. - [Google Model Armor](https://docs.getbifrost.ai/integrations/guardrails/google-model-armor.md): Integrate Google Cloud Model Armor with Bifrost Enterprise to inspect LLM prompts and responses, block policy violations, and apply Sensitive Data Protection de-identification. - [CrowdStrike AIDR](https://docs.getbifrost.ai/integrations/guardrails/crowdstrike-aidr.md): Integrate CrowdStrike AI Detection and Response with Bifrost Enterprise to inspect LLM inputs and outputs, block policy violations, redact sensitive content, and send AI security telemetry to AIDR. - [Gray Swan Cygnal](https://docs.getbifrost.ai/integrations/guardrails/grayswan.md): Integrate Gray Swan Cygnal Monitor with Bifrost for AI safety monitoring with natural language rule definitions, violation scoring, and advanced threat detection. - [Patronus AI](https://docs.getbifrost.ai/integrations/guardrails/patronus-ai.md): Integrate Patronus AI with Bifrost for LLM security and safety including hallucination detection, PII identification, toxicity screening, and custom evaluators. - [Check Point's AI Agent Security](https://docs.getbifrost.ai/integrations/guardrails/checkpoint.md): Integrate Check Point's AI Agent Security with Bifrost to screen prompts and responses, enforce Check Point policies, and redact supported findings. - [Repello Argus](https://docs.getbifrost.ai/integrations/guardrails/repello-argus.md): Integrate Repello Argus with Bifrost to enforce asset-defined AI security policies on LLM prompts and responses. - [Singulr AI](https://docs.getbifrost.ai/integrations/guardrails/singulr-ai.md): Use Singulr AI policies with Bifrost Enterprise to block unsafe LLM traffic and apply policy-selected PII redaction. - [Noma Security](https://docs.getbifrost.ai/integrations/guardrails/noma-security.md): Use Noma Security AI-DR runtime protection profiles with Bifrost Enterprise to block, mask, or alert on LLM prompts, responses, and tool activity. - [A10 Guardrails](https://docs.getbifrost.ai/integrations/guardrails/a10.md): Use an A10 Guardrails firewall with Bifrost Enterprise to block or rewrite LLM requests and responses according to A10 policies. #### Alerting - [Alerting](https://docs.getbifrost.ai/enterprise/alerting/overview.md): Define CEL-based alert rules over governance metrics and dispatch notifications to Slack, Microsoft Teams, PagerDuty, and webhooks when budgets or rate limits cross your thresholds. - [Alert Rules](https://docs.getbifrost.ai/enterprise/alerting/alert-rules.md): Define CEL-based alert rules in Bifrost Enterprise - scope them to virtual keys, teams, or customers, optionally target a specific budget, and send triggers to channels. - [Alert Channels](https://docs.getbifrost.ai/enterprise/alerting/alert-channels.md): Configure where Bifrost Enterprise delivers alerts - Slack, Microsoft Teams, PagerDuty, or any HTTP webhook - with encrypted configuration, SSRF protection, and per-channel cooldowns. - [Alert History](https://docs.getbifrost.ai/enterprise/alerting/alert-history.md): Review delivered alert notifications, skipped alerts, and failed delivery attempts in Bifrost Enterprise. #### Adaptive Routing - [Adaptive Routing](https://docs.getbifrost.ai/enterprise/adaptive-routing/overview.md): Route every request to the healthiest provider and key, hold back keys a provider refuses, and see what adaptive routing did and why. - [How Adaptive Routing Works](https://docs.getbifrost.ai/enterprise/adaptive-routing/how-it-works.md): How adaptive routing picks providers and keys, the states they move through, what it does with requests that name a provider, and how it holds and releases keys a provider refuses. - [Incidents and Monitoring](https://docs.getbifrost.ai/enterprise/adaptive-routing/incidents-and-monitoring.md): Read the adaptive routing dashboard, work through incidents, follow a request in the logs, and recognise the common cases. ### Security - [Security at Bifrost](https://docs.getbifrost.ai/security.md): Overview of security practices across Bifrost's CI/CD pipelines, container images, supply chain, and deployment infrastructure. ## Edge ### Overview - [Bifrost Edge](https://docs.getbifrost.ai/edge/overview.md): Governance for AI on every machine. Bifrost Edge runs on every computer of your organization and routes all AI traffic - chat apps, browser AI, coding agents, and MCP servers - through your Bifrost so security and compliance stay intact everywhere. - [How Edge works](https://docs.getbifrost.ai/edge/how-it-works.md): The Bifrost Edge experience from a user's point of view: one browser sign-in, an always-on menu-bar agent, and every AI request routed through Bifrost automatically. ### Governance & Control - [Govern AI apps](https://docs.getbifrost.ai/edge/app-governance.md): Decide which AI applications are allowed on company machines. Bifrost Edge gives admins fleet-wide control over AI app usage, with clear behavior for users when an app is permitted or blocked. - [Govern MCP servers](https://docs.getbifrost.ai/edge/mcp-governance.md): See every MCP server configured across your fleet and allow or deny each one. Bifrost Edge inventories the MCP servers inside each AI app and enforces your policy directly on the device. - [Security & guardrails](https://docs.getbifrost.ai/edge/security.md): Bifrost Edge routes AI traffic from every app through your guardrails, so PII redaction, secrets detection, content safety, and policy enforcement apply everywhere - out of the box, with the profiles you already configured. ### Admin controls - [Devices](https://docs.getbifrost.ai/edge/admin-devices.md): View the machines running Bifrost Edge, who they belong to, and the AI apps and MCP servers installed on each. - [Approvals](https://docs.getbifrost.ai/edge/admin-approvals.md): Review the AI apps and MCP servers discovered across your fleet and approve or deny each one. - [Configurations](https://docs.getbifrost.ai/edge/admin-configurations.md): Set the fleet-wide options for Bifrost Edge: the organization certificate and how often agents check in. ### Deployment - [Deploy with MDM](https://docs.getbifrost.ai/edge/deployment-mdm.md): Roll Bifrost Edge out to every machine silently through your device management platform. Edge ships with a managed configuration so Jamf, Intune, and Kandji can install and point it at your Bifrost with no per-user setup. ### Onboarding Instructions - [Set up Edge](https://docs.getbifrost.ai/edge/setup.md): Configure your identity provider, provision users and access, configure Edge, install the agent, and verify that AI traffic is governed. - [Prepare identity and access](https://docs.getbifrost.ai/edge/setup-bifrost.md): Configure the identity provider, provision users, and assign roles and access profiles before installing Bifrost Edge. - [Configure Edge](https://docs.getbifrost.ai/edge/setup-edge-control.md): Create the Edge certificate and review the fleet settings before installing the agent. - [Install Edge directly](https://docs.getbifrost.ai/edge/install-direct.md): Download and install Bifrost Edge on an individual macOS, Windows, or Linux device. - [Deploy Edge with MDM](https://docs.getbifrost.ai/edge/install-mdm.md): Deploy the Edge package, managed configuration, and certificate trust settings to a fleet. - [Sign in and verify](https://docs.getbifrost.ai/edge/sign-in-and-verify.md): Sign in to Edge and prove that the device, certificate, traffic capture, and Bifrost routing are working. - [Troubleshoot Edge setup](https://docs.getbifrost.ai/edge/troubleshooting.md): Resolve configuration, sign-in, certificate, traffic-capture, and gateway failures during Edge onboarding. ### Reference - [Supported applications](https://docs.getbifrost.ai/edge/supported-applications.md): The AI apps and surfaces Bifrost Edge governs today, across desktop apps, coding agents, browser AI, providers, and MCP discovery. Don't see your app? Request it in one click. ## Integrations ### Runbooks - [Set up Claude Code with Amazon Bedrock](https://docs.getbifrost.ai/runbooks/claude-code-bedrock.md): Configure Bedrock model deployments in Bifrost and connect Claude Code end to end. - [Set up Codex CLI with Amazon Bedrock](https://docs.getbifrost.ai/runbooks/codex-bedrock.md): Configure Bedrock-hosted GPT deployments in Bifrost and connect Codex CLI end to end. ### CLI Agents & Editors - [Overview](https://docs.getbifrost.ai/cli-agents/overview.md): Use Bifrost with LibreChat, Claude Code, Codex CLI, Gemini CLI, Qwen Code, and more by pointing each tool at the correct Bifrost endpoint. - [Cursor](https://docs.getbifrost.ai/cli-agents/cursor.md): Add Bifrost as a custom model in Cursor, configure MCP tools, and use virtual keys for team access control. - [LibreChat](https://docs.getbifrost.ai/cli-agents/librechat.md): Integrate LibreChat with Bifrost to access any AI provider through a modern open-source chat interface with virtual keys and observability. - [Claude Code](https://docs.getbifrost.ai/cli-agents/claude-code.md): Route Claude Code through Bifrost with a static virtual key or dynamically issued credentials, then verify that every request is governed by Bifrost. - [Claude Desktop](https://docs.getbifrost.ai/cli-agents/claude-desktop.md): Route Claude Desktop App traffic through Bifrost for multi-provider routing, virtual keys, and observability. - [Claude for Office](https://docs.getbifrost.ai/cli-agents/claude-for-office.md): Use Claude for Office (Microsoft 365 add-in) with Bifrost to route requests through any provider with virtual keys, budget controls, and observability. - [GitHub Copilot](https://docs.getbifrost.ai/cli-agents/github-copilot.md): Route GitHub Copilot App, Copilot CLI, and the VS Code Copilot Chat extension through Bifrost using each surface's Bring Your Own Key (BYOK) support. - [Codex CLI](https://docs.getbifrost.ai/cli-agents/codex-cli.md): Use Codex CLI with Bifrost through a custom Responses API provider. - [Gemini CLI](https://docs.getbifrost.ai/cli-agents/gemini-cli.md): Use Gemini CLI with Bifrost's GenAI-compatible endpoint and a Bifrost virtual key. - [Qwen Code](https://docs.getbifrost.ai/cli-agents/qwen-code.md): Use Alibaba's Qwen Code with Bifrost for AI-powered coding with any provider, virtual keys, and observability. - [OpenCode](https://docs.getbifrost.ai/cli-agents/opencode.md): Use OpenCode with Bifrost through a generated provider, Enterprise SSO, or a virtual key. - [Zed Editor](https://docs.getbifrost.ai/cli-agents/zed-editor.md): Integrate Zed editor with Bifrost to use any AI provider for code assistance with virtual keys and observability. - [Roo Code](https://docs.getbifrost.ai/cli-agents/roo-code.md): Use Roo Code with Bifrost to access any AI provider through a powerful VS Code extension with virtual keys and observability. - [Open WebUI](https://docs.getbifrost.ai/cli-agents/open-webui.md): Integrate Open WebUI with Bifrost to access any AI provider through a modern open-source chat interface with virtual keys and observability. ### SDKs & Frameworks - [LiteLLM SDK](https://docs.getbifrost.ai/integrations/litellm-sdk.md): Use Bifrost as a drop-in proxy for LiteLLM applications with zero code changes. - [Langchain SDK](https://docs.getbifrost.ai/integrations/langchain-sdk.md): Use Bifrost as a drop-in proxy for Langchain applications with zero code changes. - [Pydantic AI SDK](https://docs.getbifrost.ai/integrations/pydanticai-sdk.md): Use Bifrost as a drop-in proxy for Pydantic AI agents with zero code changes. - [TypeSafe SDK](https://docs.getbifrost.ai/integrations/typesafe-sdk.md): Use TypeSafe's official Python and JavaScript SDKs with Bifrost by changing one base URL. - [Passthrough](https://docs.getbifrost.ai/integrations/passthrough.md): Forward provider-native requests through Bifrost with full core pipeline processing, including logs and observability. #### OpenAI SDK - [Overview](https://docs.getbifrost.ai/integrations/openai-sdk/overview.md): Use Bifrost as a drop-in replacement for OpenAI API with full compatibility and enhanced features. - [Files and Batch API](https://docs.getbifrost.ai/integrations/openai-sdk/files-and-batch.md): Upload files and create batch jobs for asynchronous processing using the OpenAI SDK through Bifrost across multiple providers. #### Anthropic SDK - [Overview](https://docs.getbifrost.ai/integrations/anthropic-sdk/overview.md): Use Bifrost as a drop-in replacement for Anthropic API with full compatibility and enhanced features. - [Files and Batch API](https://docs.getbifrost.ai/integrations/anthropic-sdk/files-and-batch.md): Upload files and create batch jobs for asynchronous processing using the Anthropic SDK through Bifrost across multiple providers. #### Bedrock SDK - [Overview](https://docs.getbifrost.ai/integrations/bedrock-sdk/overview.md): Use Bifrost as a Bedrock-compatible gateway for the Converse and Invoke APIs, with Bifrost features on top. - [Files and Batch API](https://docs.getbifrost.ai/integrations/bedrock-sdk/files-and-batch.md): Manage S3-based files and batch inference jobs using the AWS Bedrock SDK (boto3) through Bifrost across multiple providers. #### GenAI SDK - [Overview](https://docs.getbifrost.ai/integrations/genai-sdk/overview.md): Use Bifrost as a drop-in replacement for Google GenAI API with full compatibility and enhanced features. - [Files and Batch API](https://docs.getbifrost.ai/integrations/genai-sdk/files-and-batch.md): Upload files and create batch jobs for asynchronous processing using the Google GenAI SDK through Bifrost across multiple providers. #### Cohere SDK - [Overview](https://docs.getbifrost.ai/integrations/cohere-sdk/overview.md): Use Bifrost as a drop-in replacement for the Cohere API with full compatibility and enhanced features. ### Identity Providers (SSO) #### Okta - [SSO using OIDC](https://docs.getbifrost.ai/enterprise/setting-up-okta/oidc.md): Configure Okta as your identity provider for Bifrost Enterprise using OpenID Connect. - [Setup SCIM](https://docs.getbifrost.ai/enterprise/setting-up-okta/scim.md): Enable real-time user and group provisioning from Okta to Bifrost Enterprise using SCIM 2.0. #### Microsoft Entra - [SSO using OIDC](https://docs.getbifrost.ai/enterprise/setting-up-entra/oidc.md): Configure Microsoft Entra ID (Azure AD) as your identity provider for Bifrost Enterprise using OpenID Connect. - [Setup SCIM](https://docs.getbifrost.ai/enterprise/setting-up-entra/scim.md): Enable real-time user and group provisioning from Microsoft Entra ID to Bifrost Enterprise using SCIM 2.0. #### Zitadel - [SSO using OIDC](https://docs.getbifrost.ai/enterprise/setting-up-zitadel/oidc.md): Configure Zitadel (cloud or self-hosted) as your identity provider for Bifrost Enterprise using OpenID Connect. #### Keycloak - [SSO using OIDC](https://docs.getbifrost.ai/enterprise/setting-up-keycloak/oidc.md): Configure Keycloak as your identity provider for Bifrost Enterprise using OpenID Connect. #### Google Workspace - [SSO using OIDC](https://docs.getbifrost.ai/enterprise/setting-up-google-workspace/oidc.md): Configure Google Workspace as your identity provider for Bifrost Enterprise using OAuth 2.0 / OIDC. - [Setup SCIM](https://docs.getbifrost.ai/enterprise/setting-up-google-workspace/scim.md): Enable real-time user and group provisioning from Google Workspace to Bifrost Enterprise. #### Auth0 - [SSO using OIDC](https://docs.getbifrost.ai/enterprise/setting-up-auth0/oidc.md): Configure Auth0 as your identity provider for Bifrost Enterprise using OpenID Connect. #### Generic OIDC - [SSO using OIDC](https://docs.getbifrost.ai/enterprise/setting-up-generic-oidc/oidc.md): Configure any standard OpenID Connect provider as your identity provider for Bifrost Enterprise. - [Setup SCIM](https://docs.getbifrost.ai/enterprise/setting-up-generic-oidc/scim.md): Enable real-time user and group provisioning from any SCIM 2.0-capable identity provider to Bifrost Enterprise. #### Auth Proxy - [Cloudflare ZTNA (Access)](https://docs.getbifrost.ai/enterprise/auth-proxy/cloudflare-ztna.md): Front Bifrost Enterprise with Cloudflare Access (Zero Trust) as an identity-aware proxy that authenticates every request before it reaches Bifrost. - [AWS ALB (Application Load Balancer)](https://docs.getbifrost.ai/enterprise/auth-proxy/aws-alb.md): Front Bifrost Enterprise with an AWS Application Load Balancer as an identity-aware proxy that authenticates every request before it reaches Bifrost. - [Generic OIDC Proxy](https://docs.getbifrost.ai/enterprise/auth-proxy/generic-proxy.md): Front Bifrost Enterprise with any OIDC-based identity-aware proxy that injects a signed JWT header on every request. ### Content Safety (Guardrails) - [Secrets Detection](https://docs.getbifrost.ai/enterprise/guardrails/secrets-detection.md): Detect leaked API keys, tokens, private keys, and credentials in LLM inputs and outputs with Bifrost Enterprise's built-in Gitleaks-backed guardrail. - [Prompt Guardrails](https://docs.getbifrost.ai/enterprise/guardrails/prompt-guardrails.md): Use a configured LLM or decision model as a judge to enforce natural-language policies on LLM and MCP inputs and outputs. - [Custom Regex](https://docs.getbifrost.ai/enterprise/guardrails/custom-regex.md): Create in-process regex guardrails for organization-specific policies, including the built-in PII Detection template. - [Microsoft Presidio](https://docs.getbifrost.ai/integrations/guardrails/presidio.md): Use Microsoft Presidio Analyzer with Bifrost Guardrails for configurable PII detection, blocking, and redaction. - [Azure AI Language PII](https://docs.getbifrost.ai/integrations/guardrails/azure-language-pii.md): Use Azure AI Language PII detection with Bifrost Guardrails for configurable PII detection, blocking, and redaction. - [AWS Bedrock Guardrails](https://docs.getbifrost.ai/integrations/guardrails/aws-bedrock.md): Integrate AWS Bedrock Guardrails with Bifrost for enterprise-grade content filtering, PII protection, prompt attack detection, and image content analysis. - [Azure Content Safety](https://docs.getbifrost.ai/integrations/guardrails/azure-content-safety.md): Integrate Azure AI Content Safety with Bifrost for multi-modal content moderation, severity-based filtering, prompt shield, and custom blocklist support. - [Google Model Armor](https://docs.getbifrost.ai/integrations/guardrails/google-model-armor.md): Integrate Google Cloud Model Armor with Bifrost Enterprise to inspect LLM prompts and responses, block policy violations, and apply Sensitive Data Protection de-identification. - [CrowdStrike AIDR](https://docs.getbifrost.ai/integrations/guardrails/crowdstrike-aidr.md): Integrate CrowdStrike AI Detection and Response with Bifrost Enterprise to inspect LLM inputs and outputs, block policy violations, redact sensitive content, and send AI security telemetry to AIDR. - [Gray Swan Cygnal](https://docs.getbifrost.ai/integrations/guardrails/grayswan.md): Integrate Gray Swan Cygnal Monitor with Bifrost for AI safety monitoring with natural language rule definitions, violation scoring, and advanced threat detection. - [Patronus AI](https://docs.getbifrost.ai/integrations/guardrails/patronus-ai.md): Integrate Patronus AI with Bifrost for LLM security and safety including hallucination detection, PII identification, toxicity screening, and custom evaluators. - [Check Point's AI Agent Security](https://docs.getbifrost.ai/integrations/guardrails/checkpoint.md): Integrate Check Point's AI Agent Security with Bifrost to screen prompts and responses, enforce Check Point policies, and redact supported findings. - [Repello Argus](https://docs.getbifrost.ai/integrations/guardrails/repello-argus.md): Integrate Repello Argus with Bifrost to enforce asset-defined AI security policies on LLM prompts and responses. - [Singulr AI](https://docs.getbifrost.ai/integrations/guardrails/singulr-ai.md): Use Singulr AI policies with Bifrost Enterprise to block unsafe LLM traffic and apply policy-selected PII redaction. - [Noma Security](https://docs.getbifrost.ai/integrations/guardrails/noma-security.md): Use Noma Security AI-DR runtime protection profiles with Bifrost Enterprise to block, mask, or alert on LLM prompts, responses, and tool activity. - [A10 Guardrails](https://docs.getbifrost.ai/integrations/guardrails/a10.md): Use an A10 Guardrails firewall with Bifrost Enterprise to block or rewrite LLM requests and responses according to A10 policies. ### Observability - [Built-in Observability](https://docs.getbifrost.ai/features/observability/default.md): Monitor and analyze every AI request and response in real-time. Track performance, debug issues, and gain insights into your AI application's behavior with comprehensive request tracing. - [Maxim AI](https://docs.getbifrost.ai/features/observability/maxim.md): Integrate Maxim SDK for comprehensive LLM observability, tracing, and evaluation. - [Datadog](https://docs.getbifrost.ai/features/observability/datadog.md): Native Datadog integration for APM traces, LLM Observability, and metrics - [OpenTelemetry (OTel)](https://docs.getbifrost.ai/features/observability/otel.md): Integrate with OpenTelemetry collectors for enterprise observability and distributed tracing - [Prometheus](https://docs.getbifrost.ai/features/observability/prometheus.md): Monitor Bifrost metrics with Prometheus scraping or Push Gateway for multi-node deployments - [Kafka](https://docs.getbifrost.ai/features/observability/kafka.md): Stream Bifrost request traces as JSON to a Kafka topic for custom analytics, archival, and downstream processing - [BigQuery](https://docs.getbifrost.ai/features/observability/bigquery.md): Stream every LLM trace into Google BigQuery as one row per request for SQL-based analytics, cost reporting, and long-term retention. - [Pub/Sub](https://docs.getbifrost.ai/features/observability/pubsub.md): Publish Bifrost request traces as JSON to a Google Cloud Pub/Sub topic for custom analytics, archival, and downstream processing - [Splunk](https://docs.getbifrost.ai/features/observability/splunk.md): Ship Bifrost request traces to Splunk over HTTP Event Collector (HEC) as flattened per-request events plus a derived metric set ### Vector Databases - [Weaviate](https://docs.getbifrost.ai/integrations/vector-databases/weaviate.md): Weaviate vector database integration for semantic caching in Bifrost. - [Redis / Valkey](https://docs.getbifrost.ai/integrations/vector-databases/redis.md): Redis and Valkey vector store integration for semantic caching in Bifrost. - [Qdrant](https://docs.getbifrost.ai/integrations/vector-databases/qdrant.md): Qdrant vector database integration for semantic caching in Bifrost. - [Pinecone](https://docs.getbifrost.ai/integrations/vector-databases/pinecone.md): Pinecone vector database integration for semantic caching in Bifrost. ## Deployment Guides - [Deploy Bifrost](https://docs.getbifrost.ai/deployment-guides/overview.md): Choose where to run Bifrost and follow the deployment path for that platform - [Bifrost Deployment Requirements](https://docs.getbifrost.ai/deployment-guides/runtime-contract.md): The container, storage, configuration, networking, health, and scaling details needed to deploy Bifrost ### Managed Kubernetes - [Amazon Elastic Kubernetes Service](https://docs.getbifrost.ai/deployment-guides/platforms/eks.md): Deploy Bifrost to an existing Amazon EKS cluster - [Google Kubernetes Engine](https://docs.getbifrost.ai/deployment-guides/platforms/gke.md): Deploy Bifrost to an existing Google Kubernetes Engine cluster - [Azure Kubernetes Service](https://docs.getbifrost.ai/deployment-guides/platforms/aks.md): Deploy Bifrost to an existing Azure Kubernetes Service cluster - [Terraform + k8s](https://docs.getbifrost.ai/deployment-guides/k8s.md): Deploy Bifrost as a service in Kubernetes clusters across AWS, Azure, and GCP using Terraform ### Hosted Containers - [ECS](https://docs.getbifrost.ai/deployment-guides/ecs.md): Deploy Bifrost as a service in ECS AWS clusters - [fly.io](https://docs.getbifrost.ai/deployment-guides/fly.md): This guide explains how to deploy Bifrost on fly.io - [Google Cloud Run](https://docs.getbifrost.ai/deployment-guides/platforms/cloud-run.md): Deploy the Bifrost container on Google Cloud Run - [Render](https://docs.getbifrost.ai/deployment-guides/platforms/render.md): Deploy the Bifrost container as a Render web service - [Railway](https://docs.getbifrost.ai/deployment-guides/platforms/railway.md): Deploy the Bifrost container as a Railway service ### Config as Code #### Helm - [Quick Start](https://docs.getbifrost.ai/deployment-guides/helm.md): Deploy Bifrost on Kubernetes using the official Helm chart - quickstart for OSS and Enterprise - [Values Reference](https://docs.getbifrost.ai/deployment-guides/helm/values.md): Complete reference for Bifrost Helm chart values - key parameters, how to supply them, and links to example files - [Client Configuration](https://docs.getbifrost.ai/deployment-guides/helm/client.md): Configure the Bifrost client: connection pool, logging, CORS, header filtering, compat shims, and MCP settings - [Provider Setup](https://docs.getbifrost.ai/deployment-guides/helm/providers.md): Configure LLM providers in the Bifrost Helm chart - API keys, cloud-native auth, and self-hosted endpoints - [Storage](https://docs.getbifrost.ai/deployment-guides/helm/storage.md): Configure Bifrost storage backends in Helm - SQLite, PostgreSQL (embedded and external), per-store overrides, and S3/GCS/Azure Blob object storage for logs - [Plugins](https://docs.getbifrost.ai/deployment-guides/helm/plugins.md): Configure Bifrost plugins in Helm - telemetry, logging, semantic cache, OpenTelemetry, Datadog, governance, and custom plugins - [Governance](https://docs.getbifrost.ai/deployment-guides/helm/governance.md): Configure Bifrost governance in Helm - budgets, rate limits, virtual keys, routing rules, and admin authentication - [Alerting](https://docs.getbifrost.ai/deployment-guides/helm/alerting.md): Configure Bifrost Enterprise alert channels, rules, history retention, and webhook network controls in Helm - [Guardrails](https://docs.getbifrost.ai/deployment-guides/helm/guardrails.md): Configure guardrails providers and rules in Bifrost Helm deployments - [Secret Management](https://docs.getbifrost.ai/deployment-guides/helm/secret-management.md): Configure AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault, or Azure Key Vault in Bifrost Helm deployments - [Cluster Mode & HA](https://docs.getbifrost.ai/deployment-guides/helm/cluster.md): Run Bifrost in a multi-replica cluster with gossip-based peer discovery, distributed state sync, and high-availability configuration - [Troubleshooting](https://docs.getbifrost.ai/deployment-guides/helm/troubleshooting.md): Diagnose and fix common issues with Bifrost Helm deployments - pods, database, ingress, secrets, PVCs, and performance #### config.json - [Quick Start](https://docs.getbifrost.ai/deployment-guides/config-json.md): Configure Bifrost using a config.json file - GitOps-friendly, no-UI deployments, and multinode OSS setups - [Source of Truth & Reconciliation](https://docs.getbifrost.ai/deployment-guides/config-json/source-of-truth.md): How config.json, the config store, split mode, and authoritative file sync interact at startup - [Schema Reference](https://docs.getbifrost.ai/deployment-guides/config-json/schema-reference.md): All top-level keys available in config.json, their types, and where each is documented - [Client Configuration](https://docs.getbifrost.ai/deployment-guides/config-json/client.md): Configure the Bifrost client in config.json - connection pool, logging, CORS, header filtering, compat shims, and MCP settings - [Provider Setup](https://docs.getbifrost.ai/deployment-guides/config-json/providers.md): Configure LLM providers in config.json - API keys, cloud-native auth, per-provider network settings, and self-hosted endpoints - [Storage](https://docs.getbifrost.ai/deployment-guides/config-json/storage.md): Configure Bifrost storage backends in config.json - config_store, logs_store, vector_store, and object storage for logs - [Plugins](https://docs.getbifrost.ai/deployment-guides/config-json/plugins.md): Configure Bifrost plugins in config.json - semantic cache, OpenTelemetry, Maxim, Datadog, and custom plugins - [Governance](https://docs.getbifrost.ai/deployment-guides/config-json/governance.md): Seed virtual keys, budgets, rate limits, routing rules, and admin auth in config.json - [Alerting](https://docs.getbifrost.ai/deployment-guides/config-json/alerting.md): Configure Bifrost Enterprise alert channels, rules, evaluation frequency, history retention, and webhook network controls in config.json - [Cluster](https://docs.getbifrost.ai/deployment-guides/config-json/cluster.md): Configure enterprise cluster mode in config.json using peers or automatic discovery - [Guardrails](https://docs.getbifrost.ai/deployment-guides/config-json/guardrails.md): Configure content moderation and policy enforcement in config.json using guardrails_config - [Secret Management](https://docs.getbifrost.ai/deployment-guides/config-json/secret-management.md): Configure AWS Secrets Manager, GCP Secret Manager, HashiCorp Vault, or Azure Key Vault in config.json using config_store.vault_store ### Enterprise Deployment - [Overview](https://docs.getbifrost.ai/deployment-guides/enterprise/overview.md): Deploy Bifrost Enterprise in your cloud environment with secure, private container image distribution - [AWS Deployment](https://docs.getbifrost.ai/deployment-guides/enterprise/aws.md): Deploy Bifrost Enterprise on AWS using ECR with IRSA or IAM Task Roles - [GCP Deployment](https://docs.getbifrost.ai/deployment-guides/enterprise/gcp.md): Deploy Bifrost Enterprise on GCP using Artifact Registry with Workload Identity - [Azure Deployment](https://docs.getbifrost.ai/deployment-guides/enterprise/azure.md): Deploy Bifrost Enterprise on Azure AKS using Workload Identity Federation to GCP Artifact Registry - [On-Premise Deployment](https://docs.getbifrost.ai/deployment-guides/enterprise/on-premise.md): Deploy Bifrost Enterprise in on-premise or air-gapped environments using Docker credentials ### Common setup instructions - [Install make command](https://docs.getbifrost.ai/deployment-guides/how-to/install-make.md): This guide explains how to install make command. - [Multinode Deployment](https://docs.getbifrost.ai/deployment-guides/how-to/multinode.md): Deploy multiple Bifrost nodes with shared configuration for high availability in OSS deployments - [Nginx reverse proxy](https://docs.getbifrost.ai/deployment-guides/how-to/nginx-reverse-proxy.md): Run Bifrost behind NGINX with streaming-safe settings for SSE and WebSocket traffic - [Security best practices](https://docs.getbifrost.ai/deployment-guides/how-to/security-best-practices.md): Best practices for hosting Bifrost on the public internet: strong dashboard credentials, enforced inference auth, locked-down CORS, and reverse-proxy security headers. - [Air-Gapped Deployment](https://docs.getbifrost.ai/deployment-guides/how-to/airgapped.md): Run Bifrost in environments without outbound internet access. - [Docker Performance Tuning](https://docs.getbifrost.ai/deployment-guides/docker-tuning.md): Optimize Bifrost container performance with Go runtime tuning, resource limits, and system configuration - [API (690 pages)](https://docs.getbifrost.ai/_llms/api.txt): Documentation for API. ## Contributing ### Contributing - [Setting up the repository](https://docs.getbifrost.ai/contributing/setting-up-repo.md): Complete guide to setting up the Bifrost repository for local development. - [Raising a Pull Request](https://docs.getbifrost.ai/contributing/raising-a-pr.md): Guidelines for submitting high-quality pull requests to Bifrost. - [Code Conventions](https://docs.getbifrost.ai/contributing/code-conventions.md): Code style and convention guidelines for contributing to Bifrost. - [Adding a new provider](https://docs.getbifrost.ai/contributing/adding-a-provider.md): Learn how to contribute a new provider to Bifrost. - [Adding config store](https://docs.getbifrost.ai/contributing/adding-a-configstore.md): Learn how to contribute a backend for the config store in Bifrost - [Adding a log store](https://docs.getbifrost.ai/contributing/adding-a-logstore.md): Learn how to contribute a backend for the log store in Bifrost - [Adding a vector store](https://docs.getbifrost.ai/contributing/adding-a-vectorstore.md): Learn how to contribute a backend for the vector store in Bifrost ### Core Architecture - [Concurrency](https://docs.getbifrost.ai/architecture/core/concurrency.md): Deep dive into Bifrost's advanced concurrency architecture - worker pools, goroutine management, channel-based communication, and resource isolation patterns. - [Request Flow](https://docs.getbifrost.ai/architecture/core/request-flow.md): Deep dive into Bifrost's request processing pipeline - from transport layer ingestion through provider execution to response delivery. - [Model Context Protocol (MCP)](https://docs.getbifrost.ai/architecture/core/mcp.md): Deep dive into Bifrost's Model Context Protocol (MCP) integration - how external tool discovery, execution, and integration work internally. - [Plugins](https://docs.getbifrost.ai/architecture/core/plugins.md): Deep dive into Bifrost's extensible plugin architecture - how plugins work internally, lifecycle management, execution model, and integration patterns. ### Framework - [What is framework?](https://docs.getbifrost.ai/architecture/framework/what-is-framework.md): Framework is Bifrost's shared storage and utilities SDK package that provides common database interfaces and logic for the plugin ecosystem. - [Model Catalog](https://docs.getbifrost.ai/architecture/framework/model-catalog.md): A centralized system for managing model information, pricing, and capabilities across all supported AI providers. - [Config Store](https://docs.getbifrost.ai/architecture/framework/config-store.md): A persistent and flexible configuration management system for Bifrost, supporting multiple database backends. - [Log Store](https://docs.getbifrost.ai/architecture/framework/log-store.md): A robust and queryable system for persisting API request and response logs, with support for multiple database backends. - [Vector Store](https://docs.getbifrost.ai/architecture/framework/vector-store.md): Vector database implementations for semantic search, embeddings storage, and AI-powered features in Bifrost. - [Streaming](https://docs.getbifrost.ai/architecture/framework/streaming.md): Framework utility for aggregating and processing real-time stream chunks from AI providers ## Benchmarks - [Getting Started](https://docs.getbifrost.ai/benchmarking/getting-started.md): Introduction to Bifrost's performance capabilities and how to choose the right instance size for your workload. - [t3.medium](https://docs.getbifrost.ai/benchmarking/t3.medium.md): Detailed performance metrics and analysis for Bifrost running on AWS t3.medium instances (2 vCPUs, 4GB RAM). - [t3.xlarge](https://docs.getbifrost.ai/benchmarking/t3.xl.md): Detailed performance metrics and analysis for Bifrost running on AWS t3.xlarge instances (4 vCPUs, 16GB RAM). - [Run Your Own Benchmarks](https://docs.getbifrost.ai/benchmarking/run-your-own-benchmarks.md): Step-by-step guide to benchmark Bifrost in your own environment using the official benchmarking tool. - [Changelogs (322 pages)](https://docs.getbifrost.ai/_llms/changelogs.txt): Documentation for Changelogs. ## OpenAPI Specs - [openapi](/openapi/openapi.json) ## Optional - [Discord](https://discord.gg/exN5KAydbU) - [GitHub](https://github.com/maximhq/bifrost) - [Try Enterprise](https://www.getmaxim.ai/bifrost/enterprise) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [OSS (152 pages)](https://docs.getbifrost.ai/_llms/oss.txt): Documentation for OSS. - [API (690 pages)](https://docs.getbifrost.ai/_llms/api.txt): Documentation for API. - [API / Integrations (179 pages)](https://docs.getbifrost.ai/_llms/api/integrations.txt): Documentation for API / Integrations. - [API / Platform (237 pages)](https://docs.getbifrost.ai/_llms/api/platform.txt): Documentation for API / Platform. - [Changelogs (322 pages)](https://docs.getbifrost.ai/_llms/changelogs.txt): Documentation for Changelogs. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.