Software Engineer — Patient Products (backed by Y Combinator, $5M+ ARR, $23M+ raised)
San Francisco, CA$160k - $325kFull-timePosted 2mo ago
About the role
Engineering role focused on AI-native mental health care at Legion Health, building an autonomous AI-driven care platform in-person in San Francisco.
Responsibilities
- 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 CTO to debate tradeoffs, define new primitives, and decide what we build next.
Qualifications
- Owned real systems 0→1 or 1→N
- Experience thinking in events, state, and invariants
- LLM-fluent or strong systems/backend engineer who can move fast
- Velocity with correctness and robust systems
- Enjoy small, high-candor teams with fast production release cycles
Skills
Required:Node.jsTypeScriptPostgresAWSHealthcare data compliance
Nice to have:LLM agents
Benefits
- In-person retreats
- Meal stipends
- Health Insurance: Medical, dental, and vision
- Flexible, unlimited vacation policy
- Ownership over projects with opportunities for growth into executive roles
Last updated Sep 23, 2026. Interested? Apply on the company site.

About Legion Health
AI-native psychiatry, built for scale and covered by insurance
Legion Health is a high-quality, AI-enabled psychiatry network where patients receive care from a provider who takes their insurance. We use LLMs and AI agents to improve care quality, streamline operations, enhance patient communications, and more.
artificial-intelligenceconsumer-health-servicestelehealthhealthcaremental-health
More open roles at Legion Health
- Principal Engineer (backed by Y Combinator, $5M+ ARR, $23M+ raised)1mo agoHybrid (San Francisco, CA) · Engineering
- Staff Psychiatric Mental Health Nurse Practitioner (PMHNP) — Remote | Telehealth | Full-Time or Part-Time | Puerto Rico2mo agoHybrid (Remote (US)) · Operations
- Consumer Brand Leader (backed by Y Combinator, $5M+ ARR, $23M+ raised)2mo agoHybrid (San Francisco) · Marketing
- Provider Data and Payer Directory Operations Lead (backed by Y Combinator, $5M+ ARR, $23M+ raised)2mo agoHybrid (Remote)
- Founding People and Talent Leader (backed by Y Combinator, $5M+ ARR, $23M+ raised)2mo agoSan Francisco · People / Talent / Recruiting / People Operations
