Hacker

Asir Hashmi

@highlord

Joined Nov 2026Devops at WiproIndia

Projects

  • FlagPilot — PR-to-Experiment AI Agent

    Flagsmith Experimentation HackathonNov 2026

    Project title FlagPilot — PR-to-Experiment AI Agent What did you build, and what problem does it solve? Who would use it, and how does it work? FlagPilot is an AI-powered PR-to-Experiment agent designed for developers, product teams and engineering teams who want to turn code changes into measurable product experiments. Developers regularly submit pull requests, but identifying experimentation opportunities, designing hypotheses, configuring feature flags and setting up metrics can be time-consuming and error-prone. FlagPilot connects GitHub, Gemini and Flagsmith to automate this process. It analyzes GitHub pull requests, examines changed files and code diffs, identifies potential risks, and generates structured experiment proposals containing hypotheses, control and treatment variations, success metrics, instrumentation requirements and implementation recommendations. It also accepts natural-language experiment requests and converts them into validated proposals. Through GitHub Actions, FlagPilot performs read-only preflight checks and, after human approval, provisions Flagsmith multivariate features, variations, metrics and draft experiments through the Management API. A separate approval-gated workflow starts the experiment and verifies its running status. The result is a safer and more transparent workflow that bridges code review and product experimentation. Which parts of Flagsmith did you use? FlagPilot integrates multiple parts of the Flagsmith ecosystem: 1. Flagsmith Management API — to create and verify multivariate features, keyed variations, metrics and draft experiments. 2. Flagsmith CLI v2 — installed and used for resource inspection and verification. 3. Flagsmith JavaScript SDK — used in the demo application through getExperimentFlag(), trackEvent() and flushEvents() to handle experiment assignment, exposure and conversion tracking. 4. Flagsmith Experimentation — to configure and manage experiments, rollout, variants and metrics. 5. Flagsmith warehouse integration — used in the preflight and experiment verification workflow to check warehouse connectivity and experiment results. The Management API performs resource provisioning, while the CLI is used for inspection. All sensitive operations are protected by human approval gates.