Agentic AI · Playwright MCP
Self-Healing Browser Automation Agent
Carrier-agnostic agentic loop that completes an 8-page workers' compensation insurance quote end-to-end with zero carrier-specific code — an OpenAI reasoning model drives a Playwright MCP server controlling a real Chromium browser via function calling.
- Engineered a self-healing core that auto-captures the live page snapshot on any tool failure and reinjects it, letting the model recover from complex Angular/PrimeNG widgets in real time without hard-coded selectors.
- Delivered a validated live submission ($539 instant quote, 0 errors, ~9-minute run); added recipe record-and-replay so routine runs cost cents — cutting projected cost at scale by ~10x.
- Designed a modular TypeScript architecture (agent loop, MCP client, per-carrier mapping, CLI) with token/cost tracking — adding a new carrier requires only a single new file.
