Senior AI Engineer

Posted Yesterday
7 Locations
In-Office or Remote
Senior level
Information Technology • Software
The Role
Own and scale production LLM features and browser automation for a consumer subscription product. Responsibilities include prompt systems, structured outputs, Playwright and Browserbase automation, workflow orchestration, evaluation pipelines, observability, model experimentation, cost and reliability optimization, and production incident ownership. The role uses a modern TypeScript stack with Cloudflare Workers, Next.js, Postgres, Hatchet, and related AI tooling.
Summary Generated by Built In
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: https://rubylabs.com/about-us/

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.

Key ResponsibilitiesPrompt 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

QualificationsMust-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: https://docs.google.com/document/d/1nkrN76JlZkbKj9WSOhlT1_mni_CZeDkHdwfIjPXVwvk/preview?tab=t.0#heading=h.ndsdl4wapxtt

Be part of our fast-growing team and seize this excellent opportunity for personal and professional growth!

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

Skills Required

  • 5+ years of software engineering experience with Node.js, TypeScript, Next.js, and Postgres, including edge or serverless runtimes such as Cloudflare Workers
  • Production browser automation experience with Playwright and Browserbase or a similar platform, including resilient selectors, retries, and failure handling at scale
  • Production experience designing dynamic prompts with input variables and injected context
  • Production experience with structured outputs, including JSON mode, function calling, and Zod or JSON schemas
  • Experience with unified LLM APIs or AI gateways such as OpenRouter or Cloudflare AI Gateway, including rate limits, fallbacks, and model selection
  • LLM observability experience with Langfuse or a similar platform, including tracing, test datasets, and scoring integration
  • Experience developing evaluation methodologies using RAGAS or custom LLM-as-a-judge systems
Am I A Good Fit?
beta
Get Personalized Job Insights.
Our AI-powered fit analysis compares your resume with a job listing so you know if your skills & experience align.

The Company
HQ: San Francisco, California
28 Employees
Year Founded: 2018

What We Do

Ruby Labs is a leading tech company that creates innovative consumer products across the health, education, and entertainment sectors. Our journey began in 2018 in London, UK, as a collaboration between two friends with extensive expertise in business, technology, and marketing. From the start, our vision has been to build a world-class tech company that develops category-leading products used by millions of users worldwide. We aim to create easily accessible platforms that offer engaging and valuable experiences across various aspects of people's lives. Since our launch, we've successfully brought seven consumer products to the global market, each addressing unique needs in health, education, or entertainment.

Similar Jobs

AppFollow Logo AppFollow

Back-end Engineer

Software • Analytics
Remote
EU
78 Employees

Deepgram Logo Deepgram

Solutions Engineer

Artificial Intelligence • Machine Learning • Natural Language Processing • Software • Conversational AI
Remote
EU
150 Employees

Deepgram Logo Deepgram

Senior Solutions Architect

Artificial Intelligence • Machine Learning • Natural Language Processing • Software • Conversational AI
Remote
EU
150 Employees
Remote
EU
91 Employees

Similar Companies Hiring

Ford Energy Thumbnail
Automotive • Software • Energy • Utilities • Manufacturing • Renewable Energy
Glendale, Kentucky
55 Employees
Revel Thumbnail
Aerospace • Hardware • Robotics • Software
Marina Del Rey, California
70 Employees
Blee Thumbnail
Artificial Intelligence • Marketing Tech • Software
New York, New York
33 Employees

Sign up now Access later

Create Free Account

Please log in or sign up to report this job.

Create Free Account