Founding Engineer | 👨🏻‍💻 AI-Native Ops Infrastructure (YC S21, $2M+ ARR, $6.3M+ Raised) at Legion Health (S21)
$130K - $180K  •  0.10% - 0.60%
AI-native psychiatry, built for scale and covered by insurance
San Francisco
Full-time
US citizen/visa only
6+ years
About Legion Health

We’re rebuilding psychiatry from the ground up—AI-native, insurance-covered, and engineered to scale.

Legion Health is a high-quality psychiatry network where patients get care from licensed clinicians, fast and affordably. Under the hood, our LLM agents and orchestration layer automate operations, reduce admin, and enable truly great care.

Most startups bolt AI onto broken workflows. We’re replacing the workflows—and the system underneath.

If you’ve ever wanted to use AI to actually fix something that matters, this is your shot.

About the role
Skills: Next.js, Tailwind, Machine learning, Node.js, React, TypeScript, Deep Learning, Reinforcement learning (RL), Software Architecture, PostgreSQL

Build AI-native care infrastructure. Ship into real patient care. Operate at speed.

Hey—I’m Daniel, co-founder & CTO of Legion Health (YC S21). We’re building the AI-native operations layer for psychiatric care: scheduling, intake, documentation, billing, risk detection, and coordination. Not “doctor-in-a-box”—the operational backend that mental health actually runs on.

We run our own psychiatric practice. The systems you build ship directly into real clinical workflows. Our agent infrastructure already supports 2,000+ patients with one human, and we’re hiring a Founding Engineer to own core backend + agent systems end-to-end.

You’ll architect our event-driven backend (Node.js / TypeScript / Supabase / AWS), build real LLM agents with tool use + memory + retries, shape internal operations UX that both humans and agents co-use, and ship product end-to-end. You don’t need to come in as a pure backend engineer—we’re open to strong product/full-stack engineers who think in systems and are excited to deepen their backend + AI infrastructure skills.

This role is in-person in San Francisco. Roles evolve fast here—including mine. I’m looking for someone who wants to grow into owning major parts of the system, not someone relying on me staying in a narrow CTO role forever.

🚀 If you’ve built complex systems or shipped product end-to-end with real ownership, think in events/state/flows, and want to deepen your backend + AI systems skills—we should talk.

Technology

Technology at Legion

We are revolutionizing telepsychiatry through a core AI infrastructure that enables a vastly improved patient experience and quality of mental health care. We are actively improving our services in ingesting, chunking, embedding, caching, and searching to achieve this goal. Our technical goals include:

  • Enhanced processing: Implement robust data structures and caching mechanisms to handle increasing volumes of language data spanning every facet of patients’ care while minimizing latency and maximizing system responsiveness.
  • System scalability: Ensure our systems can scale effectively to support growth from one million to hundreds of millions of data points.
  • Securing sensitive data: Uphold the highest standards of data security and privacy in compliance with HIPAA guidelines.

##Stack TypeScript, Node.js, PostgreSQL, Redis, Supabase, Azure, Google Cloud, AWS, LangChain, PostHog, Retool

Interview Process

We bias toward real signal over ceremony and move quickly.

  1. Intro call (20–30 min)—quick conversation with me (Daniel) about what you’ve built and what you want.
  2. Systems / portfolio deep dive (45–60 min)—walk through 1–2 systems you shipped; architecture, tradeoffs, failure modes.
  3. Practical work trial (1–2 hours async)—short, realistic backend/LLM-systems exercise. No leetcode, no puzzles.
  4. Final onsite (1–2 hours)—meet the team, pair on a real issue, discuss how you'd own a domain.

We typically go from first conversation → offer in 7–10 days.

Other jobs at Legion Health

contractUS / Remote$50K - $200K0.10% - 0.20%Any (new grads ok)

contractUS / RemoteWeb design$5K - $30K0.10% - 0.20%Any (new grads ok)

contractSan Francisco, CA, US / Remote$30K - $100K0.10% - 0.20%Any (new grads ok)

Hundreds of YC startups are hiring on Work at a Startup.

Sign up to see more ›