An integration is a protocol adapter that translates between Bifrost’s unified API and provider-specific API formats. Each integration handles request transformation, response normalization, and error mapping between the external API contract and Bifrost’s internal processing pipeline.Integrations enable you to utilize Bifrost’s features like governance, MCP tools, load balancing, semantic caching, multi-provider support, and more, all while preserving your existing SDK-based architecture. Bifrost handles all the overhead of structure conversion, requiring only a single URL change to switch from direct provider APIs to Bifrost’s gateway.Bifrost converts the request/response format of the provider API to the Bifrost API format based on the integration used, so you don’t have to.
import openaiclient = openai.OpenAI( base_url="http://localhost:8080/openai", # Point to Bifrost api_key="dummy-key" # Keys are handled in Bifrost now)
That’s it! Your application now benefits from Bifrost’s features with no other changes.