Hacker
Amogh Sunil
@stealthwhiz
Elsewhere
Projects
On-call Autotune
Flagsmith Experimentation HackathonNov 2026
On-call step budgets are usually a guess, and a flag change is not proof that the service recovered. On-call Autotune is a local tool for one operator. Gemini investigates a controlled search outage, proposes turning the demo_fault flag off, and stops. A person approves or rejects that change. Only a fresh HTTP probe can mark the incident resolved: HTTP 200, a nonempty result, under 1 second. A second loop uses Flagsmith Experimentation to test the agent's step budget. The control is 4 steps. A 6-step arm was measured, Gemini proposed 8 steps, and a person approved the rollout. A 32-case holdout, kept out of training, compared the original 4-step baseline with the 8-step value the SDK actually served. 4 steps resolved 12.5%. 8 steps resolved 65.6%. Paired p-value 7.6e-6. Unsafe episodes were 0 on both arms. Those cases are synthetic, not production incidents. The holdout was collected with Vertex Gemini 4 Hydrogen. The live incident agent uses Gemini API, gemini-3.8-flash. The UI keeps those labels. The incident agent is a bounded rewrite of Matthew Dailey's MIT on-call demo. Flagsmith replaced the original flag vendor. The experiment loop, approval gate, and holdout are new.
PCP - Product Control Plane
The Zerops ChallengeAug 2026
The Problem Coding agents are powerful and forgetful, and nobody can see what they do. Two gaps show up as soon as you use AI agents for real work: 1. Memory ends with the session. When you close the terminal, switch machines, or hand a task to a teammate’s agent, the context is gone. You lose what was asked, what changed, what broke, and what comes next. Every new session starts from zero. 2. The work is a black box. If you run Claude Code, Codex, and Copilot across a team, you do not know who is building what, how many tokens each task uses, which models run, or what the total cost is until the invoice arrives. Proof of the Problem You do not need a formal study to feel this. The symptoms show up in daily work: 1. Developers paste long “here is where we left off” summaries into each new agent session because the agent does not remember. 2. When an agent crashes or restarts, you must explain the whole task again. The common question is “wait, what were we doing?” 3. Teams adopt agents quickly but fly blind. They do not have a per project or per person view of agent time, token usage, or cost. Leaders cannot answer “what are our agents building and what does it cost?” 4. Handing a task between agents or people means copy pasting context with no shared source of truth. 5. Each agent tool invents its own memory folder (.claude, .cursor, .windsurf). Nothing is portable, shared, or observable. The pain is clear, and people build fragile workarounds to deal with it. That is the signal. The Solution PCP (Product Control Plane) is a memory and monitoring layer for coding agents. It is a small, self hosted control plane that focuses on two jobs fully built on TypeScript. Remember Every task’s request, changed files, actions, deploy proof, errors, fixes, and next steps become first class records. You can checkpoint, hand off, recover, and search them. PCP exposes this as an MCP server, so any MCP compatible agent (Claude Code, Codex, OpenCode) can use this memory directly. It works over HTTP or locally. In local mode, PCP scaffolds a .pcp/ folder that tells the agent how to store memory and what its tasks are. Monitor Agents send OpenTelemetry data to PCP. PCP turns that into a live dashboard. You see a project treemap sized by coding time, charts for token usage and agent mix, top people and top agents, and cost estimates. The view refreshes often and attributes activity to each project and person. Multi tenant and secure You sign up as a solo user or a team and receive a token. That token maps to a single organization and isolates your data. You can rotate the token at any time. Anyone can connect their agents with a URL and a token. They do not need direct database access. In one line: PCP gives coding agents memory that survives past the session, and it gives you a live view of everything they do. Tech Stack 1. Frontend: Next.js (App Router), TypeScript, and a custom design system with treemaps, charts, and live polling. 2. Backend: Next.js API routes, TypeScript, Prisma with PostgreSQL, and auth built with Node crypto (scrypt and a signed session cookie, no external auth provider). 3. Agent integration: Model Context Protocol (@modelcontextprotocol/sdk) using stdio and hosted Streamable HTTP transports, with token based auth per organization. 4. Observability: OpenTelemetry with OTLP over HTTP, normalized into agent events. 5. Infrastructure: Deployed on Zerops using a Node.js runtime and managed PostgreSQL, zerops.yml driven CI/CD, private networking, and HTTPS on a developer first cloud platform.