[Feature Proposal] Ruphex – Flagsmith Integration for Verified Feature-Flag Experiments

Open
#9,006 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
api, backend

Research direction

This is a design proposal for a whole new integration, so start by reading the Flagsmith API documentation and the repository's existing structure for integrations and SDK/API clients to see where such a module would live. Then narrow the six-part scope into one concrete first slice — connection and authentication, or flag discovery — before writing anything, since the issue as filed defines no file, test or acceptance criterion. Done for this issue means an agreed, scoped design with named entry points, not a working integration.

Written by the indexing model from the issue text.

Description

Description

I propose building a Flagsmith integration for Ruphex that connects feature-flag experimentation with independent implementation verification.

The goal is to enable AI coding agents to create and evaluate competing application variants while using Flagsmith to manage feature flags, experiment allocation and real-user outcomes.

Ruphex will provide the verification layer. Flagsmith will provide the feature-flag and experimentation layer.

Proposed functionality

1. Flagsmith connection
  • Connect to a Flagsmith instance using its supported API.
  • Support both Flagsmith Cloud and self-hosted deployments.
  • Discover projects, environments, feature flags and available configuration.
  • Keep credentials secure and out of source control.
2. Experiment orchestration
  • Create or configure feature flags for competing application variants.
  • Associate variants with an experiment hypothesis.
  • Configure measurable goals and conversion events.
  • Support experiment lifecycle operations through supported Flagsmith interfaces.
3. AI-agent integration
  • Allow an authorized coding agent to propose experiment configurations.
  • Require human approval before consequential operations.
  • Record the agent's actions and experiment configuration.
  • Avoid silently changing production settings.
4. Ruphex verification
  • Verify candidate implementations independently before experiment exposure.
  • Execute acceptance criteria and regression checks.
  • Attach test evidence to each candidate.
  • Distinguish technical correctness from actual user-experiment performance.
5. Results and promotion
  • Retrieve experiment results from supported sources.
  • Display variant-level outcomes and relevant metrics.
  • Keep technical verification results separate from statistical experiment results.
  • Recommend a candidate based on evidence.
  • Require human approval before promoting a winning variant.

Important design principle

Flagsmith should remain responsible for feature-flag management and experiment allocation.

Ruphex should remain responsible for candidate generation, technical verification, evidence collection and decision support.

This integration must not duplicate Flagsmith's existing experimentation functionality.

Initial scope

The first implementation should focus on:

  1. Flagsmith connection and authentication.
  2. Feature-flag discovery and management.
  3. Experiment configuration.
  4. Variant verification through Ruphex.
  5. Results retrieval and evidence presentation.
  6. Human-approved promotion.

Advanced autonomous experimentation can be considered later.

Expected outcome

A reusable, documented, self-hostable Flagsmith integration that demonstrates how AI coding agents can work with real feature-flag experiments while maintaining independent technical verification and human-controlled releases.

Dominant language
Python
Stars
9.9k
Forks
658
Avg merge
1d 15h
Merged PRs (30d)
168

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Flagsmith/flagsmith

All issues in Flagsmith/flagsmith

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.