Hacker
Arka Kundu
@kunduarka089
Elsewhere
Projects
Feature Guard AI
Flagsmith Experimentation HackathonNov 2026
I built FeatureGuard AI to solve a problem that developers often face: a new update can unexpectedly break a feature that was previously working fine. Instead of relying on developers to manually monitor errors and react after users report problems, I wanted to build a system that could monitor features, detect performance drops, investigate them using AI, and help take corrective action. The project consists of a monitoring dashboard and a demo shopping website, both accessible here: Dashboard: https://featureguard-ai.onrender.com/ Demo shopping site: https://featureguard-ai.onrender.com/shop The shopping website simulates a real e-commerce application where users can browse products and place orders. The checkout functionality is controlled using a feature flag connected to Flagsmith Cloud. This means I can enable or disable the checkout feature remotely without modifying or redeploying the application's code. Whenever a user interacts with the application, the backend collects the interaction data, including whether it was successful or failed. These events are stored in a PostgreSQL database, which allows the system to maintain performance history even after redeployments. The dashboard uses this data to display event statistics, success rates, feature status and performance trends. For feature flag management, I integrated Flagsmith Cloud using its API. My Flask backend communicates with Flagsmith to retrieve feature flag states and change them when a rollback or other approved action is required. For AI analysis, I integrated xAI's Grok API. When the monitoring system detects a performance anomaly, it sends relevant performance metrics and failure information to Grok, which analyses the data and generates a report explaining the observed issue and recommending a possible action. The monitoring system checks performance every 15 seconds while running and requires a minimum of five samples before evaluating an issue. It looks for sharp decreases in performance and offers two modes of operation. In Manual Mode, the AI generates a report and proposes disabling the affected feature, but the change is not applied until I review and approve it through the dashboard. I can also reject the recommendation. In Automatic Mode, the system automatically disables the affected feature through Flagsmith if its overall success rate falls below the configured 50% threshold. I built the project using Flask, PostgreSQL, Flagsmith Cloud and the Flagsmith API, and xAI's Grok API for analysing performance data and generating recommendations. The application is deployed on Render. Through FeatureGuard AI, I wanted to demonstrate how feature flags and AI can work together not just to identify software regressions, but also to help developers investigate them and respond before they affect more users.