30-Second Setup
Get Bifrost running in your Go application with minimal setup. This guide shows you how to integrate multiple AI providers through a single, unified interface.1. Install Package
2. Set Environment Variable
3. Create main.go
4. Run Your App
What Just Happened?
- Account Interface:
MyAccountprovides API keys and list of providers to Bifrost for initialisation and key lookups. - Provider Resolution:
schemas.OpenAItells Bifrost to use OpenAI as the provider. - Model Selection:
"gpt-4o-mini"specifies which model to use. - Unified API: Same interface works for any provider/model combination (OpenAI, Anthropic, Vertex etc.)
Next Steps
Now that you have Bifrost running, explore these focused guides:Essential Topics
- Provider Configuration - Multiple providers & automatic failovers
- Streaming Responses - Real-time chat, audio, and transcription
- Tool Calling - Functions & MCP server integration
- Multimodal AI - Images, speech synthesis, and vision
Advanced Topics
- Core Features - Caching, observability, and governance
- Integrations - Drop-in replacements for existing SDKs
- Architecture - How Bifrost works internally
- Deployment - Production setup and scaling
Happy coding with Bifrost! 🚀

