677,021open jobs
39,228companies
99,226added this week
Browse all
Salary
$250k – $400k per year
Location
In office (San Francisco)
Seniority
Architect
Employment
Full-Time
Overview
Company
Impact
Profile match
Legion Health is an AI-native telepsychiatry and virtual mental healthcare enterprise providing insurance-covered psychiatric care. The platform integrates artificial intelligence automation - including workflow scheduling, clinical documentation, and decision support tools - to connect board-certified psychiatric providers with patients and partner healthcare organizations. Headquartered in Austin, Texas, it operates a technology-driven virtual clinic focused on expanding access to scalable, affordable behavioral health treatments.

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.

The role

Hey, I'm Daniel G Wilson, 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 LLM agent orchestration and bespoke harnesses, tools, CLIs, skills, evals and observability, EHR and e-prescribing integrations, PHI-grade security and audit trails.

Role Logistics, Compensation, and Benefits

  • Job type: Full-time

  • Role type: Engineering

  • US Visa Sponsorship: Yes

  • Salary: $250,000 to $400,000 depending on experience, plus meaningful early-stage equity.

  • 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 are (literally) saving lives.

  • Work Setup: In-person @ San Francisco HQ; partial remote considered for exceptional candidates (our track record includes both).

  • 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.

Free account
Stop reading job ads. Get the ones that fit.
One free account turns this page into a shortlist built around your stack, your level and your pay.
Match on every job. Stack, seniority, pay and location, scored against your profile.
677,021 open roles. Read straight off company career pages, refreshed every day.
Unlimited applications. Every one you send is tracked in one place, on-site or on a company board.
3 tailored CVs a month. Rewritten for the exact job you are applying to. Included free.
Create a free account Continue with Google
Free forever. No card. Under a minute.

Your match

How well do you fit this role?
Two answers are enough for a real match. No account needed.
Check my fit
Answers stay in this browser until you create an account.

Recommended for you based on this role

Similar stack
Same company
San Francisco
$94k – $215k per year (Estimated) • Remote/Hybrid • Full-Time • Bachelor's Degree • Atlanta
Python
JavaScript
TypeScript
Node JS
Databases
PostgreSQL
Weaviate
pgvector
Pinecone
AI/ML
Cursor
LangChain
Claude Code
LlamaIndex
Model Context Protocol
Embeddings
Multimodal AI
Function Calling
Promptfoo
Ragas
AWS Bedrock
LLM
RAG
Reranking
Hybrid Search
Braintrust
OpenAI
Anthropic
OpenAI Agents SDK
AWS Bedrock AgentCore
AWS Strands Agents
Structured Outputs
Agentic Workflows
Tool Use
DevOps
Rest API
AWS
Vector
QA
Jest
Vitest
Apply
$108k – $157k per year • Equity • Remote/Hybrid • Full-Time • Bachelor's Degree • Park
Python
AI/ML
Model Context Protocol
Function Calling
AI Agents
LLM
RAG
LLM Guardrails
NIST AI RMF
Agentic Workflows
Tool Use
DevOps
CI/CD
Cybersecurity
Threat Modeling
Apply
$135k – $150k per year • Remote/Hybrid • Full-Time • 7+ years exp • Bachelor's Degree • United States
Python
Databases
Snowflake
AI/ML
LangGraph
AutoGen
LangChain
Claude
Airflow
dbt
Function Calling
AI Agents
Semantic Kernel
LLM
RAG
OpenAI
Anthropic
LLM Guardrails
Multi-Agent Systems
Tool Use
DevOps
Terraform
GitHub Actions
Prometheus
Pulumi
Azure
CI/CD
Platform Engineering
Self-Healing
Cortex
FinOps
SLI/SLO/SLA
GitLab
Analytics
Matillion
Management
ServiceNow
Apply
$118k – $218k per year (Estimated) • In office • Full-Time • 8+ years exp • Bachelor's Degree • Burlington • Montreal
AI/ML
Model Context Protocol
AI Agents
AgentOps
LLM
RAG
Hallucination
LLMOps
Feature Store
Knowledge Graph
LLM Guardrails
Multi-Agent Systems
DevOps
GCP
CI/CD
Docker
Kubernetes
FinOps
Management
Agile
Scrum
Apply
$200k – $225k per year • Remote • Full-Time • 6+ years exp • Bachelor's Degree • Chicago • Los Angeles • New York • San Francisco • Austin
AI/ML
Claude
Model Context Protocol
AI Agents
Falcon
LLM
RAG
OpenAI Agents SDK
LLM Guardrails
Multi-Agent Systems
Tool Use
Cybersecurity
Least Privilege
Threat Modeling
Management
Agile
Apply
$190k – $330k per year • In office • Full-Time • 5+ years exp • San Francisco
SQL
AI/ML
Cursor
Claude
ChatGPT
Claude Code
Perplexity
OpenAI
Anthropic
OpenAI Codex
Lovable
Replit
Analytics
A/B Testing
Looker
Design
Figma
Management
Notion
Apply
$10k – $30k per year • In office • Full-Time • 2+ years exp
AI/ML
AI Agents
Management
Slack
Apply
$250k – $400k per year • In office • Full-Time • San Francisco
JavaScript
TypeScript
Node JS
Databases
PostgreSQL
AI/ML
Copilot
Function Calling
AI Agents
LLM
LLM Guardrails
Tool Use
Frontend
Next.js
React.js
DevOps
Vercel
AWS
GitHub
Cybersecurity
HIPAA
Management
Power Automate
Apply
$50k – $150k per year • Remote • Part-Time • Beckley
Apply
$50k – $150k per year • Remote • Part-Time • Chattanooga • Knoxville • Nashville • Memphis
Apply
$73k – $133k per year • Remote • Full-Time • 5+ years exp • Bachelor's Degree • Los Angeles • San Jose • San Francisco • San Diego • Bellevue
Design
AutoCAD
Apply
$148k – $222k per year • In office • Full-Time • 10+ years exp • Bachelor's Degree • San Francisco
Apply
$70k – $111k per year • In office • Full-Time • 6+ years exp • Bachelor's Degree • Minneapolis • Seattle • San Francisco • Portland
Cybersecurity
Wireshark
Apply
Technical Recruiter 6 hours ago
$200k – $275k per year • In office • Full-Time • San Francisco
DevOps
Kubernetes
Apply
$79k – $188k per year (Estimated) • Remote • Full-Time • 3+ years exp • San Francisco
JavaScript
Frontend
React.js
Apply
See all jobs
This is one of many
677,021 more open roles from verified company boards, updated every day.