Senior AI Engineer

Ruby Labs Ltd

New York (NY)

Remote

USD 150,000 - 230,000

Full time

5 days ago
Be an early applicant

A complete application in a minute

Tailored resume and cover letter, ready to send.

Get past ATS filters

Benefits offered by this job

Remote Work Environment
Unlimited PTO
Paid National Holidays
Company-provided MacBook
Flexible Independent Contractor Agree

Job summary

Ruby Labs Ltd in New York is seeking a Senior AI Engineer to own and scale the AI layer of our core D2C subscription product. You will oversee production LLM features, browser automation, prompts, schemas, evaluation, observability, and model selection from experimentation to live release.

This high-impact role requires data-driven decision making, strong TypeScript stack experience, and cost-aware architecture.

Qualifications

  • 5+ years of software engineering with Node.js/TypeScript/Next.js and Postgres.
  • Production browser automation with Playwright and Browserbase or similar.
  • Experience with dynamic prompting and JSON structured outputs.
  • Experience with unified LLM APIs or AI gateways and cost-aware model selection.
  • LLM observability, tracing, and evaluation methodologies.

Responsibilities

  • Design dynamic prompt templates with conditional logic and context.
  • Enforce outputs with JSON mode, function calling, and validators.
  • Own LLM workflows integrating into application logic.
  • Build and maintain browser automation to traverse web flows.
  • Classify screens and separate model handling from deterministic code.
  • Ship and version automations as reproducible workers.
  • Orchestrate runs with retries, timeouts, and fault tracing.
  • Build evaluation pipelines and score responses and classifications.
  • Run A/B experiments across models and prompts with quantitative benchmarks.
  • Take AI features from experiment to production and own outcome.

Skills

Node.js
TypeScript
Next.js
PostgreSQL
Edge/Serverless
Browser automation
Prompt design
LLM evaluation
Observability
Data-driven decisions

Tools

Playwright
Browserbase
Langfuse
LangChain
LlamaIndex
OpenRouter

Job description

About us

Ruby Labs is a leading tech company that creates and operates innovative consumer products. We offer a diverse range of opportunities across the health, education, and entertainment industries. Our innovative teams are driving the future of consumer-led products, and we're always looking for passionate individuals to join us. Learn more about our story at: about-us/About the role

About the role

We are looking for a Senior AI Engineer to own and scale the AI layer of one of our core D2C subscription products. You will be fully responsible for production LLM features and the browser automation built around them end to end - prompt systems, structured outputs, evaluation, observability, and model selection - from first experiment to live release, with quality, reliability, and cost as your accountability. This is a high-impact role suited for someone who decides with data, not intuition. Unmeasured prompt changes, untraced failures, and model swaps without benchmarks are not acceptable. You work in a modern TypeScript stack - Next.js, Cloudflare Workers and Containers with Hono, Hatchet task queues, Drizzle on Supabase Postgres, Vercel Blob. Browser automation on Browserbase and Playwright is roughly half of the job.

Prompt Systems & Structured Outputs

Design dynamic prompt templates with conditional logic and context injection that maximise generation quality

Enforce predictable outputs with JSON mode, function calling, Zod/JSON schemas, validators, and repair loops

Own complex LLM workflows (LangChain, LlamaIndex, or custom) that integrate cleanly into application logic

Browser Automation

Build and maintain browser automation on Browserbase Functions and Playwright that traverses web flows reliably

Classify screens with a model inside each traversal, and decide what the model handles versus deterministic code

Ship automations as frozen, published workers - versioned, reproducible, and safe to roll back

Orchestrate runs through Hatchet with retries, timeouts, and failure traces that explain every broken run

Evaluation & Experimentation

Build evaluation pipelines - test datasets, LLM-as-a-judge, RAGAS-style metrics - and score responses and screen classifications in Langfuse

Trace complex LLM chains to find bottlenecks in cost, latency, and context-window usage

Run A/B experiments across models and prompts through an AI gateway (OpenRouter, Cloudflare AI Gateway); release only on quantitative benchmarks

Re-evaluate models as new architectures emerge; fine-tune when domain requirements demand it

Production Ownership

Take AI features from experiment to live production on Cloudflare Workers and Containers, and stay accountable after release

Manage rate limits, fallbacks, and model cost so features stay reliable at scale

Resolve production incidents in owned AI and automation systems with documented root-cause analysis

Must-Have Experience
  • 【5+】 years of software engineering with Node.js, TypeScript, Next.js, and Postgres, including edge or serverless runtimes such as Cloudflare Workers
  • Production browser automation with Playwright (Browserbase or similar): resilient selectors, retries, failure handling at scale
  • Production experience with dynamic prompting - content that depends on input variables and injected context
  • Structured outputs in production: JSON mode, function calling, Zod/JSON schemas
  • Experience with unified LLM APIs or AI gateways (OpenRouter, Cloudflare AI Gateway): rate limits, fallbacks, cost-effective model selection
  • LLM observability with Langfuse or similar: tracing, test datasets, scoring integration
  • Evaluation methodology: RAGAS or custom LLM-as-a-judge systems
Leadership Attributes
  • Decides on benchmarks and trace data, not intuition
  • Analytical - converts generation logs into metrics a business can act on
  • Iterative - builds feedback loops and improves continuously
  • Owns the outcome from experiment to production, and after
  • Verifies before trusting - treats LLM output as unproven until validated
Location

Ruby Labs operates within the CET (Central European Time) zone. Applicants from any country are welcome to apply for the position as long as they are located within approximately ± 4 hours of CET. This ensures optimal collaboration and communication during working hours.

Benefits

Discover the perks of being part of our vibrant team! We offer:

  • Remote Work Environment: Embrace the freedom to work from anywhere, anytime, promoting a healthy work-life balance.
  • Unlimited PTO: Enjoy unlimited paid time off to recharge and prioritize your well-being, without counting days.
  • Paid National Holidays: Celebrate and relax on national holidays with paid time off to unwind and recharge.
  • Company-provided MacBook: Experience seamless productivity with top-notch Apple MacBooks provided to all employees who need them.
  • Flexible Independent Contractor Agreement: Unlock the benefits of flexibility, autonomy, and entrepreneurial opportunities. Benefit from tax advantages, networking opportunities, reduced employment obligations, and the freedom to work from anywhere. Read more about it here: wapxtt
Interview Process

After submitting your application, we conduct a thorough review which typically takes 3 to 5 days, but may occasionally take longer due to the volume of applications received. If we see a potential fit, we proceed with the following steps:Recruiter Screening (40 minutes)

Technical Interview (60 minutes)

Final Interview (30 minutes)

Life at Ruby Labs

At Ruby Labs, we move fast, aim high, and expect the same from our team. We’re not here to play small - we’re here to build, grow, and win. That means we look for people who are ambitious, driven, and ready to give their best every single day.This is a place for individuals who thrive under pressure, embrace challenges, and see opportunity in every obstacle. If you’re hungry to achieve, motivated by impact, and want to grow at the speed of your own ambition, Ruby Labs offers the platform to make it happen.Here, effort is matched with reward. We recognize those who go all in and deliver results, and we create space for people who want more - more responsibility, more growth, and more success.

##LI-Remote

Get your free, confidential resume review.

or drag and drop your file here.

Similar jobs

Similar jobs worth comparing

Middle Full-Stack Developer (Next.js)
Middle Full-Stack Developer (Next.js)

OpenKrill • United States

On-site
USD 110,000 - 170,000
Remote work
Unlimited PTO
Paid national holidays
+2
AI engineer for subscription products
AI engineer for subscription products

Ruby Labs Ltd • United States

Remote
USD 150,000 - 240,000
Remote work
Unlimited PTO
Paid holidays
+3
Lead Data Analyst
Lead Data Analyst

Ruby Labs Ltd • Athens (GA)

Remote
USD 90,000 - 150,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Senior Data Analyst
Senior Data Analyst

Able group • United States

Remote
USD 110,000 - 140,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Lead Data Analyst
Lead Data Analyst

Ruby Labs Ltd • United States

Remote
USD 120,000 - 180,000
Remote work
Unlimited PTO
Paid holidays
+2
Growth Marketing Lead (B2B SaaS & Payments)
Growth Marketing Lead (B2B SaaS & Payments)

Ruby Labs Ltd • United States

Remote
USD 120,000 - 180,000
Remote Work Environment
Unlimited PTO
Company-provided MacBook
+1
Senior Data Analyst
Senior Data Analyst

Ruby Labs Ltd • United States

Remote
USD 90,000 - 130,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Senior CRO Manager
Senior CRO Manager

Able group • United States

Remote
USD 90,000 - 120,000
Unlimited PTO
Remote Work Environment
Paid National Holidays
+2
CRO Manager
CRO Manager

Ruby Labs Ltd • United States

Remote
USD 120,000 - 180,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Senior Desktop Engineer (Electron.js)
Senior Desktop Engineer (Electron.js)

Ruby Labs Ltd • Athens (GA)

Remote
USD 120,000 - 180,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2