Software Engineer — Patient Products (backed by Y Combinator, $5M+ ARR, $23M+ raised)

Legion Health

San Francisco (CA)

On-site

USD 160,000 - 325,000

Full time

9 days ago

Get more replies from employers

Send a job-specific resume in minutes.

Benefits offered by this job

Health Insurance (medical, dental, and
In-person SF HQ
Meal stipends

Job summary

Legion Health is building the AI-native mental health care platform and seeking a Software Engineer to own core product and agent systems end-to-end. You’ll coordinate patients, clinicians, and AI agents with strong ownership and fast iteration.

This role focuses on event-driven backends, LLM-powered agents, and human+AI operations, while ensuring safety, data integrity, and auditable workflows in a healthcare setting.

Qualifications

  • Experience owning real systems from 0→1 or 1→N.
  • Experience with event-driven backends and production-grade architectures.
  • Ability to design and implement LLM-powered agents and tool use.
  • Comfort working in healthcare/regulated domains or startups.

Responsibilities

  • Own the event-driven backend and scale our stack.
  • Build real LLM agents with tool use, memory, and safety rails.
  • Shape UX for humans and AI to operate together.
  • Define world-state and simulation for patient journeys.
  • Own data pipelines with HIPAA considerations and auditable workflows.
  • Collaborate on architecture and strategy with leadership.

Skills

Node.js
TypeScript
PostgreSQL
Supabase
LLMs
Agents
Tool-calling
RAG
Healthcare domain
Startup experience

Tools

PostgreSQL
Supabase

Job description

About Legion Health

At Legion Health, 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, 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.

Engineer – AI‑Native Mental Health Care (In‑Person in SF)

Hey—I’m Daniel Wilson, co‑founder & CTO at Legion. I studied applied math + CS at Princeton, then led the Office Scripts + Power Automate integration at Microsoft—shipping the highest retention‑driving feature in the product. Before that, I did deep learning + RL research. I’m obsessed with building AI systems that make real workflows cleaner, safer, and more autonomous. Github: https://github.com/danielgwilson

I’m hiring a cracked Software Engineer to own core product + agent systems end‑to‑end. You’ll build the layer that coordinates patients, clinicians, and AI agents as one coherent machine—tight feedback loops, high standards, and real ownership.

This isn’t “just infra.” It’s building the product heart of an autonomous care system: the workflows, the agent behaviors, the guardrails, the integrations, the UX that makes it usable, and the reliability that makes it trusted.

Roles evolve quickly here—including mine. I’m looking for someone who wants to carry real weight, take full ownership, and grow into running major parts of the system—not someone who needs a perfectly scoped box to operate inside.

What You’ll Do
  • Own our event‑driven backend – Architect and scale our Node.js / TypeScript / Supabase (Postgres) / AWS stack. Design schemas, invariants, and workflows that encode how psychiatric care actually operates. Turn messy real‑world processes into clean state machines and event streams.
  • Build real LLM agents as coworkers – Implement tool use, retries, memory, and safety rails. Design action schemas and evaluation loops so agents can run reliably in production. Work on orchestration, context management, and multi‑step workflows.
  • Shape human + AI ops UX – Build internal tools used by both humans and agents. Make it trivial to see “what happened, why, and what should happen next” in any patient journey.
  • Define world‑state & simulation – Model the canonical state of a patient’s journey across time. Power alerting, routing, and decision‑making from that live simulation.
  • Own data, safety & compliance – Engineer HIPAA‑compliant pipelines for transcripts, events, and EHR data. Ensure PHI access, agent actions, and human overrides are all auditable.
  • Drive architecture & strategy – Work directly with me to debate tradeoffs, define new primitives, and decide what we build next.

You don’t need to be a pure backend engineer—we value great product engineers who can learn fast, make strong simplifying decisions, and grow into owning backend/agent systems.

You Might be a Fit If…
  • You’ve owned real systems 0→1 or 1→N, not just tickets.
  • You think in events, state, and invariants, not just CRUD endpoints.
  • You’re either already LLM‑fluent or a strong systems/backend engineer who can get dangerous fast.
  • You care about velocity and correctness—moving quickly while keeping things understandable and robust.
  • You like small, high‑candor teams and direct feedback.
  • You want to see your work go live in production weekly, not sit on a roadmap.
Nice to Have
  • Experience with Node.js / TypeScript, Postgres, or Supabase.
  • Experience with LLMs, agents, tool‑calling, or RAG.
  • Experience in healthcare, fintech, or other regulated / high‑stakes domains.
  • Experience in early‑stage startups or founding teams.
Our Tech Stack
  • Backend: Node.js, TypeScript, Supabase (Postgres), AWS (ECS, Lambda, S3)
  • Frontend: Next.js 15 (App Router), Tailwind, Vercel
  • AI: OpenAI, Anthropic, tool‑calling agents, embeddings + vector DBs, Langfuse-style observability
  • Other: PHI security, audit trails, real‑time schedulers, transcript ingestion
Role Logistics, Compensation, And Benefits
  • Job type: Full‑time
  • Role type: Engineering
  • Ideal Experience Level: Doesn’t matter if you’re cracked
  • US Visa Sponsorship: Yes
  • Salary: $160,000 to $325,000
  • Early‑Stage Equity: Competitive
  • Health Insurance: Medical, dental, and vision benefits
  • Additional Perks: In‑person retreats, meal stipends, etc.
  • Time Off: Flexible, unlimited vacation policy
  • Work Hours: Flexible but demanding because we're literally saving lives
  • Work Setup: In‑person @ San Francisco HQ
  • Impact: Work on something that truly matters to millions of patients and families.
  • Autonomy and Learning: Ownership over your projects with the freedom to set priorities, shape processes, and drive outcomes end‑to‑end.
  • Growth Opportunities: As we scale, we envision our top performers stepping into expanded roles and joining our executive leadership team.
Equal Employment Opportunity

Legion Health is proud to be an Equal Opportunity Employer. We celebrate diversity and are committed to creating an inclusive environment for all employees, contractors, and applicants without regard to race, color, religion, sex, sexual orientation, gender identity or expression, national origin, age, disability, veteran status, genetic information, or any other protected characteristic under applicable law. We encourage applicants from all backgrounds to apply.

Get your free, confidential resume review.
or drag and drop your file here.
Similar jobs

Similar jobs worth comparing

Consumer Growth Leader (backed by Y Combinator, $5M+ ARR, $20M+ raised)
Consumer Growth Leader (backed by Y Combinator, $5M+ ARR, $20M+ raised)

Legion Health • San Francisco (CA)

On-site
USD 170,000 - 300,000
Health Insurance
Equity/Stock options
In-person sprints
+3
Go-to-Market (GTM) Systems Architect (backed by Y Combinator, $5M+ ARR, $23M+ raised)
Go-to-Market (GTM) Systems Architect (backed by Y Combinator, $5M+ ARR, $23M+ raised)

Legion-Health • San Francisco (CA)

On-site
USD 140,000 - 260,000
Health Insurance
In-person retreats
Meal stipends
+3
Provider Partnership Manager (backed by Y Combinator, $5M+ ARR, $23M+ raised)
Provider Partnership Manager (backed by Y Combinator, $5M+ ARR, $23M+ raised)

Legion Health • San Antonio (TX)

Hybrid
USD 120,000 - 180,000
Equity
Mileage reimbursement
Cell phone stipend
+1
Provider Partnership Manager (backed by Y Combinator, $5M+ ARR, $23M+ raised)
Provider Partnership Manager (backed by Y Combinator, $5M+ ARR, $23M+ raised)

Legion Health • Dallas (TX)

Hybrid
USD 120,000 - 180,000
Mileage reimbursement
Travel reimbursement
Health insurance
+4
Full Stack Engineer
Full Stack Engineer

HealthLeap • San Francisco (CA)

Hybrid
USD 175,000 - 275,000
Unlimited PTO
401(k) with 4% match
Laptop and home office budget
+1
Full Stack Engineer
Full Stack Engineer

HealthLeap AI • San Francisco (CA)

Hybrid
USD 175,000 - 275,000
100% healthcare premiums covered
Unlimited PTO + minimum recommended leave
401(k) with 4% match
+1
Senior Software Engineer (Backend)
Senior Software Engineer (Backend)

Counsel Health • Boston (MA), New York (NY)

Hybrid
USD 150,000 - 210,000
Competitive salary + equity
Comprehensive healthcare
Unlimited PTO
Staff Software Engineer (Payer)
Staff Software Engineer (Payer)

Headway • San Francisco (CA), Seattle (WA), New York (NY)

Hybrid
USD 264,000 - 330,000
Medical
Dental
Vision
+3
Principal Staff Engineer
Principal Staff Engineer

HireBioConsulting • Boston (MA)

Hybrid
USD 140,000 - 190,000
Equity package
Remote-first work environment
Senior Software Engineer I, Care Innovation
Senior Software Engineer I, Care Innovation

Springhealth66 • San Francisco (CA)

Hybrid
USD 183,000 - 206,000
Health, Dental, Vision benefits
401(k) match
Paid time off
+2