The OpenFeature Remote Evaluation Protocol (OFREP) is an API specification for feature flagging that enables vendor-agnostic communication between applications and flag management systems. It defines a standard API layer between the provider and the flag management system, allowing any open source or commercial system to implement the protocol and be compatible with community-maintained providers.
- Vendor Agnostic: Connect to any OFREP-compliant flag management system without vendor-specific implementations
- Standardized: Built on a common OpenAPI specification for consistent integration
- Flexible: Works on both client-side and server-side applications
- Community Maintained: Generic OFREP providers maintained by the OpenFeature project
OFREP is a protocol, not a provider. It defines how to communicate with feature flag management systems and works on top of OpenFeature SDKs by providing standardized providers.
graph LR
A[Your Application] --> B[OpenFeature SDK]
B --> C[OFREP Provider]
C --> D[OFREP API]
D --> E[Flag Management System]
- Your application uses the OpenFeature SDK
- The OpenFeature SDK uses an OFREP provider
- The OFREP provider communicates with your flag management system via the standardized OFREP API
- Your flag management system implements the OFREP specification
OFREP supports both paradigms defined by OpenFeature:
- Evaluation happens by calling the OFREP API with context
- API request with evaluation context is made on every evaluation
- Context per evaluation
- All flags are evaluated in one OFREP API call using a common static context
- Then local flag evaluation happens against the cached static context
- Context represents a single user or session
The OpenFeature community maintains OFREP providers for multiple languages. View the complete list of OFREP providers in the ecosystem.
Several flag management systems support OFREP. View the complete list of OFREP-compliant systems in the ecosystem.
To create an OFREP provider for a new language:
- Review the server provider guideline or client provider guideline
- Implement the provider for your SDK according to the guidelines
- Register your provider in the OpenFeature ecosystem
To make your flag management system OFREP-compliant:
- Implement the OFREP OpenAPI specification
- Test your implementation with existing OFREP providers
- Register your system in the OpenFeature ecosystem
- OpenAPI Specification: OFREP OpenAPI Spec
- Provider Guidelines:
- Ecosystem:
- CNCF Slack: Join #openfeature-remote-evaluation-protocol
OFREP is an open standard maintained by the OpenFeature community. We welcome contributions:
- Implement OFREP in your flag management system
- Create providers for additional languages
- Provide feedback on the specification
- Share your experience using OFREP
Join the #openfeature-remote-evaluation-protocol channel on the CNCF Slack to get involved.