
Hacker
Hasan Mehdi
@shanh134
16-year-old solo founder & System Architect at Axelr AI. Building resilient, real-time AI agent infrastructure, incident triage engines, and unified persistence layers with Python, WebSockets, and Appwrite.
Elsewhere
Stack
- Python
- JavaScript
- HTML
- CSS
- SQL
- Appwrite
- WebSockets
- mattermost
- Linux
- Git
- Docker
- AI Agents
- Distributed Systems
- System Design
- Redis
Projects
AXELR AI Flagsmith Release Agent — Autonomous AI Agent for Flag Management
Flagsmith Experimentation HackathonNov 2026
I built the Flagsmith Release Agent - an autonomous AI agent that connects to the live Flagsmith API, monitors feature flags continuously, enforces human approval gates, and runs autonomous flag lifecycle management. The problem it solves: teams waste hours weekly manually managing feature flags, reviewing stale flags, and coordinating approval. This agent automates the entire workflow end-to-end. It would be used by engineering teams, DevOps, and product managers who use feature flags for continuous delivery. It works by: 1) connecting to the live Flagsmith API, 2) running continuous telemetry analysis on each flag, 3) detecting stale or underperforming flags, 4) generating approval requests, 5) only applying changes after explicit human approval, 6) running full test verification before any deployment. Built independently by a 16-year-old developer.
Axelr Ops Room
Flip the Switch HackathonNov 2026
A Switch-native incident triage room where a human on-call engineer and an AI agent resolve production incidents together. The agent lives in Mattermost (bundled with Switch), responds to INCIDENT INC-XXXX messages with a three-bullet triage plan, and — only upon explicit human approval — persists the decision to Appwrite TablesDB as a living runbook. Every approval becomes a durable, queryable, cross-room row. Switch is the coordination layer. Appwrite is the memory. The builder This was built by a 16-year-old solo founder of Axelr AI, in roughly two hours, from scratch, in the final hours before the deadline. No team, no rehearsal. It ships as one module inside Axelr's broader engine family (Sentinel, Founder Ops, Apex) that unifies Appwrite persistence across every Axelr product — this room is the proof that the foundation works under real chat-driven load. Why this exists Every incident room loses context the moment someone closes the tab. Chat scroll is not memory. Engineers re-investigate the same failures weeks later because the triage logic was never written down anywhere durable. Axelr Ops Room solves this by making every human approval produce a durable Appwrite row — a runbook any agent, on any team, can query later with SELECT * FROM axelr_insights WHERE insight_type='runbook'. What it actually does (all shown in the demo video) Human posts INCIDENT INC-442: checkout 500s in the #incidents Mattermost channel. The Switch agent (axelr-triage) receives the event over the Switch WebSocket protocol — real connection_id, real cursor pong, real connection_state frames. Not mocked. Agent replies with a three-bullet triage plan (likely cause / first step / rollback plan). Human replies APPROVED. Agent writes two Appwrite rows: the incident (audit_events) and a runbook (axelr_insights), both timestamped, both queryable. Dashboard shows every Switch event and every Appwrite write in real time — same WebSocket, single process, no fake data. The "chaos test" — graceful degradation as a feature The demo includes a CHAOS TEST button. Clicking it marks Appwrite unavailable mid-demo. The dashboard immediately shows a full-screen error modal with debug text (mode=appwrite, recover_in_ms=3000). Crucially, the chat workflow continues. A new incident posts, the agent replies, and — because the runbook write is skipped — the dashboard honestly says [skipped] appwrite unavailable. After 3 seconds the engine emits Appwrite recovered — writes re-enabled and the modal closes. This is not decorative. It is proof that the engine was built with production-grade failure isolation, not just happy-path screenshots. Honest limitations The Switch Console bridge runs on localhost:7312. This is a local-first hackathon demo, not a hosted product. The demo agent credentials (SWITCH_AGENT_ID, SWITCH_AGENT_API_KEY) are scoped to a specific Switch Console session. If the Console session ends or the key rotates, they stop working. To reproduce: start Switch Console → create the axelr-ops room → register a new agent → paste the fresh credentials into .env. The engine auto-registers if no agent exists. If APPWRITE_* env vars are missing, the engine runs in chat-only mode — every Switch event still flows, the agent still replies, and the dashboard shows a degraded banner instead of crashing. Persistence is the twist, not the requirement. The agent's triage proposals are deterministic (three fixed bullets). That is deliberate: the demo must be reproducible. This is not a fine-tuned model. Tech stack Switch Console (desktop) + Mattermost (bundled) — coordination layer Python 3.11 — engine, single process (agent/engine.py) websockets — protocol-correct Switch client (agent/switch_client.py) Appwrite TablesDB via axelr-insights-engine — persistence Vanilla HTML/JS — dashboard, zero build step (dashboard/index.html) What's next for Axelr Ops Room Multi-room correlation: query the runbook across #incidents, #postmortems, and #security — the same row, three rooms. Real LLM-driven triage behind a feature flag, keeping the deterministic path as the fallback. A read-only runbook API any Axelr agent can call: GET /runbook/{incident_id}.