Michael Cousins
Staff product engineer and maintainer of open-source testing tools. 10+ years shipping full-stack TypeScript and Python, from lab robots to clinical AI. Designs for testability and mentors teams in rigorous, confident engineering.
Work Experience
Photon
New!Modern prescription infrastructure that lets patients shop pharmacies
- Staff EngineerNov 2026 – present
Cut launch latency of Abridge’s nursing web app by 80% with overdue fundamentals: server rendering in Next.js, leaner client JS, and a CDN.
Owned generation and Temporal workflows for a new nursing note, tuning prompts against clinician-grounded evals.
Paved the company’s move to pnpm for supply-chain safety: migrated the first service, added shared CI support, and wrote the guide other teams followed.
Viam
2¼ yearsPlatform for building and managing smart machines
- Technical LeadAug 2024 – May 2025
- Senior EngineerMar 2023 – Aug 2024
Led a team of nine in rebuilding Viam’s fragile fleet management UI into a fast, linkable, accessible app where major regressions became rare.
Drove Go and Svelte work adding versioning and dependencies to fragments, Viam’s reusable robot-config building blocks.
Set pragmatic unit, E2E, and static-analysis standards for all six front-end teams via CI, shared configs, and code reviews, cutting UI bug reports by at least 50%.
Split CI for the main monolith into isolated jobs, retried and loudly flagged flaky tests, and kept deploys fast for dozens of engineers across teams.
Opentrons
5½ yearsOpen-source liquid handling robots for biologists
- Senior Software EngineerMar 2019 – Mar 2023
- Software EngineerAug 2017 – Mar 2019
Architected the Opentrons App for the OT-2 launch, from WebSocket RPC and mDNS robot discovery to app state, still running today on desktop and Flex.
Proposed, designed, and led my team in building a command-based protocol engine that runs protocols as data over HTTP, enabling the Flex launch.
Guided my team through a failure-mode analysis of OT-2 network drops, tracing them to dueling network managers and cutting support requests by 30–50%.
Built OAuth login connecting Smart Vents to Ecobee and Alexa, in React and Scala.
Maintained AWS services ingesting sensor data over persistent, load-balanced TCP sockets from thousands of devices in users’ homes.
Open-Source Projects
mcous/vitest-when
- CreatorMay 2023 – present
Conditional mocking for Vitest. API adopted into Vitest core. 175,000 npm downloads per week.
testing-library/svelte-testing-library
- MaintainerJan 2024 – present
Revived for Svelte 5 at Viam. 750,000 npm downloads per week.
JS-DevTools/npm-publish
- MaintainerApr 2023 – present
Rescued from neglect for Viam. Used by 20,000 repositories.
tracespace/tracespace
- CreatorMay 2014 – Mar 2023
Renders PCB Gerber files as SVGs. Runs on PCB manufacturers’ sites.
Skills
Testing
Test-driven development, mocking, Vitest, Jest, pytest, Testing Library, Playwright, accessibility testing
Languages
TypeScript, JavaScript, Python, Go
Front-end
React, Next.js, Redux, Svelte, SvelteKit, Astro, TanStack Query
Back-end
Node.js, NestJS, FastAPI, Pydantic, Temporal, OpenAI API
Developer experience
GitHub Actions, code-quality tooling, pnpm, npm publishing, Docker
Education
B.Sc. Mechanical Engineering
Northwestern University, 2012
Concentration in mechatronics