Hacker

Debasish Tripathy

@debs

Joined Sep 2026Ai engineering at PhilipsIndia

Projects

  • Blast Radius: an AI agent incident commander on Flagsmith

    Flagsmith Experimentation HackathonNov 2026

    When your AI agent fleet starts burning money or gets prompt-injected, this Agent Skill shrinks the blast radius with Flagsmith. It rolls back only the bad release variant and quarantines only the attacked tenant, then proves the result per identity and re-ramps through a canary that rolls itself back. A human approves every production change. What it does: an Agent Skill (SKILL.md plus scripts) that takes a coding agent through the whole incident: 1. observe: condenses fleet telemetry into about 5 verdict lines per release variant and per tenant. 2. plan: picks the smallest blast radius and prints the exact Flagsmith CLI commands. 3. Approval gate: production changes stop with exit code 3 until a named human approves. 4. apply: snapshot, then `flagsmith flag update agent_release --weight v2=0` (roll back one variant, no redeploy), `flagsmith segment create` plus `flag update agent_autonomy --segment … --disable` (quarantine only the attacked tenant), and `flag update agent_session_token_budget --value 150000` (circuit breaker). It then verifies every tenant with `flagsmith evaluate --identity --trait`. 5. canary: guarded re-ramp. Each step needs fresh approval. If cost goes above 2x control or loops above 2%, it rolls back to 0% automatically, because that direction only reduces risk. 6. Incident trail: every action, approver and auto-rollback, plus a one-command approval-gated restore. It includes a live web dashboard of 240 simulated agent sessions. Each session evaluates its flags from Flagsmith state every tick, covering segments, trait rules and percentage buckets. In the video you can watch red looping tiles and purple injected tiles turn calm as the skill flips flags. Honest notes for judges: fleet traffic and agent behaviour are simulated. The Flagsmith API is an offline mock that covers only the endpoints the demo uses. Every command shown is the real Flagsmith CLI. The agent's lines and the human's "approved" line in the video are scripted. The dashboard's dollar figures use an assumed $3 per 1M tokens. The same scripts work against Flagsmith Cloud or a self-hosted instance with a Master API key, a project and an environment key. License: MIT. Solo: Debasish Tripathy.