ForgeApply · Job listing
Principal Engineer (backed by Y Combinator, $5M+ ARR, $23M+ raised)
Legionhealth
See all 156 open roles at Legionhealth →
Tailor your resume for this Legionhealth job in about a minute.
ForgeApply rewrites your resume for this exact posting, then autofills the application on Legionhealth's site with it. You review everything before it's sent. Free trial, no card required.
About this role
🧠 ABOUT LEGION HEALTH
At Legion Health https://legionhealth.com/, we believe everyone deserves fast, affordable, and world-class health care, and we’re developing the AI infrastructure to deliver it ourselves at world scale.
Legion is building autonomous medical care (the AI doctor), starting with psychiatry. Our AI-native care-delivery platform currently automates 95% of the administrative work required for us to deliver direct patient care. We also recently became the first company ever to receive regulatory authorization to let AI prescribe psychiatric medications https://nypost.com/2026/03/27/business/artificial-intelligence-can-now-prescribe-mental-health-drugs/, allowing us to not only collapse health care’s admin costs but also its clinical labor costs—shifting this industry’s economics from humans to tokens.
Our technical moat is hard to copy—we combine rich data, production AI, doctors in the loop, and end-to-end care operations to deliver measurably better care to a clinically complex patient population. This has helped us produce tens of thousands of total visits in just 2 years, all while holding ops costs flat and achieving industry-leading patient NPS and retention. While the last generation of healthcare startups made the existing system incrementally more efficient, Legion is rebuilding full-stack care delivery from first principles. Our vision? A 10X better patient experience that’s higher quality, less expensive, and more scalable than ever before. And a 10X better clinician experience that frees our providers to focus on what matters most: caring for patients.
Legion Health is backed by Y Combinator, leading venture capital firms, and founders from Function Health, Modern Health, Everly Health, Trusted Health, Clipboard Health, PatientPing, Sesame Care, Faire, EasyPost, and fuboTV.
Join us as we build the future of health care: faster, higher-quality, and more affordable, powered by doctors and AI working together.
🚀 THE ROLE
Hey, I'm Daniel G Wilson https://www.linkedin.com/in/danielgwilson/, co-founder and CTO at Legion. I studied applied math and CS at Princeton, led the Office Scripts and Power Automate integration at Microsoft, and did deep learning and RL research before that. GitHub: https://github.com/danielgwilson
I'm hiring a principal-level engineer to own the hardest systems in our care platform, whole. Not tickets, not a lane inside someone else's architecture: entire problem spaces, from "this is a mess" to "this is done and here's the doc."
Here's the honest shape of the job. We run a regulated clinical product (we e-prescribe controlled substances) on an event-driven TypeScript platform, and we ship at unusual velocity with heavy agent leverage. The engineers who have thrived here share one behavior: I hand them a gnarly domain, they disappear into it, and they come back with it working, documented, and theirs. I don’t need to check their work or meddle, because checking isn’t unnecessary. That’s the seat. The people who have struggled here waited for scoped tickets to tell them what to do—but that’s what we have agents for.
✅ WHAT YOU'LL OWN
Real domains, picked together in week one from this list, with written authority over them:
- The factory spine. Own the question of how we get maximum leverage in the era of agentic engineering. We ship 500–1,000 PRs a month with a lean team. Merge gates, migration safety, canary and rollback on a system where a bad deploy can touch patient care—this all works today. Your job will be to move us towards 10,000 while maintaining quality and rigor.
- The clinical work spine. Our event-sourced system of record for clinical work (orders, tasks, commands, receipts): the layer that lets AI agents and humans act on patient care with auditability and fail-closed checks. You’ll own the guardrails that ensure agents can safely provide broader and broader components of care.
- Agent operations in production. LLM agents doing real clinical-adjacent work with tool use, checks, and receipts. You decide how autonomy expands and ratchets upwards as proof accumulates. Your agent harness will help prescribe psychiatric medication, legally, at the second company ever allowed to.
- The data and metrics estate. Warehouse, analytics platform, and the pipelines that tell us what actually happened.
- Architecture syncs with me. You'll have the standing I give someone who has seen more systems than I have: disagree with me, make the call in your domain, unpack it for the team when asked.
🏆 WHAT "A FIT" LOOKS LIKE, CONCRETELY
- You've owned architecture across multiple companies or many codebases: staff-plus IC, chief-architect, or platform-consulting background. You've seen a dozen ways teams ship and you have opinions with scars behind them.
- You ship daily at high volume with a fleet of AI agents. That’s table stakes. In the interview we'll ask to see your actual setup and what you let it do unsupervised. "I use Copilot sometimes" is not this.
- When handed an ambiguous, ugly, load-bearing problem, your instinct is to take it whole: read everything, decide, build, write the doc, tell us what you decided. Not to schedule a meeting about scope.
- You communicate proactively in writing. The pattern we love: a Sunday text that says "took care of it, here's the PR and what I changed."
- You hold clinical-grade correctness without losing speed: auditability, HIPAA, fail-closed defaults, invariants over vibes.
This is a senior seat. Typically that means 10+ years and multiple systems owned end to end, but we care about the scars, not the number. We have separate openings for earlier-career engineers; this is not that. We need someone who’s seen some shit.
This role is not for you if you want to manage instead of build, you need well-scoped tickets to be productive, or big-company pace feels normal to you.
💻 OUR TECH STACK
- TypeScript, Node.js, Postgres, Next.js on Vercel, AWS, production LL
Salary insight
The midpoint of this range ($325k) is about 63% above the median disclosed salary for San Francisco roles listed on ForgeApply ($200k across 8,783 jobs).
Based on live postings with disclosed pay on ForgeApply; refreshed daily. Not an estimate of this employer's offer.
Tailor your resume for this Legionhealth role before you apply.
Tailor my resume for this jobSimilar jobs
- Software Engineer — Patient Products (backed by Y Combinator, $5M+ ARR, $23M+ raised) — Legionhealth · San Francisco
- Founding People and Talent Leader (backed by Y Combinator, $5M+ ARR, $23M+ raised) — Legionhealth · Remote
- Provider Partnership Manager (backed by Y Combinator, $5M+ ARR, $23M+ raised) — Legionhealth · Remote
- Office of the Founders (backed by Y Combinator, $5M+ ARR, $23M+ raised) — Legionhealth · San Francisco
- Consumer Brand Leader (backed by Y Combinator, $5M+ ARR, $23M+ raised) — Legionhealth · San Francisco
- Technical Product Manager, Consumer + AI (backed by Y Combinator, $5M+ ARR, $23M+ raised) — Legionhealth · San Francisco
- Head of Consumer Growth (backed by Y Combinator, $5M+ ARR, $23M+ raised) — Legionhealth · San Francisco
- Consumer AI Lifecycle Product and Marketing Leader (backed by Y Combinator, $5M+ ARR, $23M+ raised) — Legionhealth · San Francisco
Free ATS checker · How to Tailor Your Resume to a Job Description (Step by Step)