[Feature Proposal] Ruphex – Flagsmith Integration for Verified Feature-Flag Experiments
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
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:
- Flagsmith connection and authentication.
- Feature-flag discovery and management.
- Experiment configuration.
- Variant verification through Ruphex.
- Results retrieval and evidence presentation.
- 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
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Flagsmith/flagsmith
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Flagsmith/flagsmith#9119 · 1 comment ·
Maintainers usually reply within 1 day
-
Fix Button Alignment in SDK Installation SectionPossibly taken @manueldezman claimed this 3 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Flagsmith/flagsmith#9056 · 2 comments ·
Maintainers usually reply within 1 day
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidancePossibly taken @jcd1991 claimed this 4 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Flagsmith/flagsmith#9045 · 1 comment ·
Maintainers usually reply within 1 day
-
Expose whether an organisation is blocked for API usagePossibly taken @PiUnknown claimed this 38 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Flagsmith/flagsmith#8773 · 1 comment ·
Maintainers usually reply within 1 day
-
influx_query_manager doesn't catch ApiException, so Influx error responses 500Possibly taken @SAY-5 claimed this 13 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Flagsmith/flagsmith#8510 · 1 comment ·
Maintainers usually reply within 1 day
All issues in Flagsmith/flagsmith
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 73/100
-
day_or=True union silently becomes the ISC cron AND bug when a day field expands to its full range (e.g. '0 0 */1 * */2' fires only Sun/Tue/Thu/Sat)Possibly taken @rahul05ranjan claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
pallets-eco/croniter#309 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nyjc-computing/campus-admin#105 ·
Maintainers usually reply within 1 day
-
bug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/Gitcord-GithubDiscordBot#248 · 1 comment ·
Maintainers usually reply within 4 days