The English-language job board for Spain

Senior AI Engineer

Remote, Ukraine +6·Full-time·Added yesterday (last checked 26 Nov)

Ruby Labs

32 open roles

Our summary

Work mode
Remote (Ukraine / North Macedonia / Turkey / European Union / Serbia / Bosnia / Georgia)
Contract
Full-time
English
Required
Experience
5+ years

Visa options

  • The ad doesn’t mention sponsorship

    Not a refusal, but not a yes. Worth asking in your first message.

  • May fit the digital nomad visa

    A remote job for a company outside Spain: you apply yourself, no sponsor needed. It asks for about €2,849 a month in remote income.

More jobs that may fit the digital nomad visa

Skills

Pay & benefits

What you'll get

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!

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.

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.

Hiring process

2 steps2 interviews
  1. Recruiter Screening · With a Recruiter

  2. Technical Interview

  3. Final Interview

Hiring 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)

About Ruby Labs

Ruby Labs is a consumer apps company headquartered in London, UK, specializing in building and scaling subscription-based mobile and web applications. The company operates across multiple verticals, including health, fitness, and productivity, with a strong focus on user acquisition, monetization, and growth engineering. With a team of around 200 professionals, Ruby Labs leverages advanced data analytics, AI, and performance marketing to optimize user experiences and drive revenue growth.

In Spain, Ruby Labs is actively expanding its remote-friendly team, with open roles spanning engineering, data, and growth marketing. The company offers a distributed work culture, making it an attractive option for international professionals seeking flexibility. Their Spain-based roles are remote, allowing talent to work from anywhere in the country while collaborating with a diverse, global team. Ruby Labs emphasizes a data-driven, results-oriented environment, ideal for professionals looking to make a direct impact on consumer products at scale.

Industry
Consumer Apps
Founded
2019
Employees
100–500
Headquarters
London, UK

Good to know if you are moving

  • All Spain-based roles are fully remote, allowing flexibility to work from anywhere in Spain.
  • The company has a strong international team, with employees working across different time zones, offering a multicultural environment.
  • Ruby Labs emphasizes a data-driven culture, making it ideal for professionals with strong analytical and technical skills.
  • The company offers competitive compensation and benefits, including opportunities for professional development and growth.
  • As a growing company, Ruby Labs provides significant opportunities for career advancement and ownership of impactful projects.

In their own words

About the company & team

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/

All open roles at Ruby Labs
WhatsApp
See all 32 jobs