bifrost  by maximhq

Fastest LLM gateway for reliable AI apps

created 5 months ago
467 stars

Top 64.9% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Bifrost is a high-performance AI gateway designed to simplify AI application development by providing a unified API to over 10 providers, including OpenAI, Anthropic, and Bedrock. It offers automatic failover, load balancing, and zero-downtime deployments, targeting developers seeking to build reliable and scalable AI-powered applications.

How It Works

Bifrost acts as a central routing layer, abstracting away provider-specific complexities. It uses a provider-agnostic architecture with well-defined interfaces, allowing for easy extension to new AI providers. The system supports multiple transport layers (HTTP, gRPC) and a plugin-first design for custom middleware and integrations like the Model Context Protocol (MCP). This approach enables seamless tool integration and dynamic configuration without requiring restarts.

Quick Start & Requirements

  • Install/Run: npx @maximhq/bifrost
  • Prerequisites: Node.js 18+ (or Docker), AI provider API key.
  • Setup Time: Under 30 seconds.
  • Documentation: Documentation Hub

Highlighted Details

  • Adds only 11µs latency at 5,000+ RPS.
  • Built-in Web UI for visual configuration and real-time monitoring.
  • Supports 10+ AI providers with automatic failover and dynamic key management.
  • Native Model Context Protocol (MCP) support for seamless tool integration.

Maintenance & Community

  • Active development by Maxim.
  • Discord server available for assistance and discussions.
  • Contributing Guide for community involvement.

Licensing & Compatibility

  • Licensed under Apache 2.0.
  • Permissive license suitable for commercial and closed-source applications.

Limitations & Caveats

The project is actively developed, and while benchmarks are provided, users should validate performance and reliability within their specific deployment environments. Specific details on supported MCP integrations beyond the core protocol are not extensively detailed in the README.

Health Check
Last commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
91
Issues (30d)
25
Star History
256 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.