AI Engineer

Ruby Labs Ltd

España

Remote

EUR 70,000 - 110,000

Full time

13 days ago

Get a reply from this employer

Your resume and cover letter, tailored to exactly what they’re hiring for.

Get past ATS filters

Benefits offered by this job

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

Job summary

Ruby Labs Ltd is seeking an AI Engineer (Strong Middle / Senior) to own the quality, reliability and evolution of our AI systems in production. You will drive end-to-end delivery of AI features, implement robust tool-using workflows, and optimize model routing and observability in a TS/Node.js stack.

You will work across Langfuse, Cloudflare AI Gateway, and OpenAI/other providers, building scalable LLM pipelines, prompt systems, and rigorous evaluation processes in production environments.

Qualifications

  • 4+ years of backend/fullstack software engineering experience, with production-grade TypeScript/Node.js.
  • 1+ year of AI/LLM systems in production with real users, not only side projects or experiments.
  • Daily use of AI-centred development tools ( Claude Code, Cursor or similar).
  • Deep hands-on experience with LLM APIs (OpenAI, Anthropic, Google Gemini or similar) in production: structured output, function calling, streaming, token and cost control.
  • Experience with agentic AI, multi-step orchestration, tool-based workflows (function calling / tool execution) or RAG pipelines (indexing, retrieval, re-ranking).
  • Experience with LLM observability and evaluation tools (Langfuse, LangSmith or similar).
  • Experience with AI gateways and model routing (OpenRouter, Cloudflare AI Gateway or equivalent).
  • Solid understanding of relational databases (PostgreSQL) and caching (Redis, KV or similar).
  • Exceptional ownership and personal responsibility for engineering quality and delivery.

Responsibilities

  • AI Systems Ownership & Feature Delivery: take ownership of major AI features and deliver them to production within timelines.
  • Own AI output quality, structure and predictability across user-facing AI interactions with consistent outputs across LLMs.
  • Integrate and orchestrate multiple LLM providers through an AI gateway, managing model selection, fallback strategies and cost optimisation.
  • Design and orchestrate tool-using and agentic AI workflows: clean tool contracts, function-calling interfaces and reliable AI-to-system integrations.
  • Build and maintain multi-step LLM workflows and RAG pipelines for reasoning, context reuse and search.
  • Prompt Engineering, Evaluation & Experimentation: design production prompt systems and Langfuse-based evaluation pipelines.
  • Run A/B tests etc.
  • Deep-debug LLM chains using Langfuse traces to identify bottlenecks and improve costs, latency and accuracy.
  • Code Quality & Production Reliability: write clean TS across Node.js/Cloudflare; ensure tests and reviews.
  • Monitor metrics, document prompt designs and architectural decisions for knowledge transfer.

Skills

TypeScript/Node.js
AI/LLM production
Langfuse
LLM observability
Tool-based AI workflows

Tools

Langfuse
LangSmith
OpenRouter
Cloudflare AI Gateway
PostgreSQL
OpenSearch
Redis

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: https://rubylabs.com/about-us/

About the role

At Ruby Labs we are looking for an AI Engineer (Strong Middle / Senior level) to own and drive the quality, reliability and evolution of our AI systems in production.

This is a high-ownership role. You will be responsible for end-to-end delivery of AI features, production stability of AI systems, and data-driven experimentation using tools like Langfuse and Cloudflare AI gateway for model routing. Increasingly, this includes agentic, tool-using AI systems: defining clean tool contracts (including MCP-based tools) and orchestrating how AI interacts with internal services, search and background pipelines.

The stack is TypeScript end to end: Node.js and Hono services on Cloudflare Workers with Durable Objects and Containers, PostgreSQL, OpenSearch. Models from several providers run behind an AI gateway, with prompts, traces and evaluations in Langfuse.

Key Responsibilities

AI Systems Ownership & Feature Delivery

  • Take ownership of major AI features and LLM workflows and deliver them to production within agreed timelines.

  • Own AI output quality, structure and predictability across user-facing AI interactions, with consistent structured output across different LLMs for the same request type.

  • Integrate and orchestrate multiple LLM providers through an AI gateway, managing model selection, fallback strategies and cost optimisation.

  • Design and orchestrate tool-using and agentic AI workflows: clean tool contracts (including MCP-based tools), function-calling interfaces and reliable AI-to-system integrations.

  • Build and maintain multi-step LLM workflows and RAG pipelines (indexing, embeddings, retrieval, re-ranking) for reasoning, context reuse and search.

Prompt Engineering, Evaluation & Experimentation

  • Design and manage production prompt systems with dynamic prompting, context injection, and conditional logic.

  • Own prompt management, the release of LLM experiments and Langfuse-based evaluation pipelines: test datasets, LLM-as-a-judge, output scoring.

  • Run A/B tests across models and prompts, analyse the results and present the data-driven impact of AI features and experiments.

  • Deep-debug LLM chains using Langfuse traces: identify bottlenecks, optimise for cost, latency and context-window usage, and root-cause hallucinations and logic errors.

Code Quality & Production Reliability

  • Write clean, scalable and maintainable TypeScript across the Node.js / Cloudflare Workers stack.

  • Build reliable backend logic for AI systems: request and output validation, error handling, fallback flows for malformed or low-quality model responses, and reliable tool execution.

  • Ensure high code quality through tests (including validation and fallback paths for AI output), code reviews and clear engineering standards.

  • Monitor AI system metrics, quality signals, latency and release health, and resolve production issues with a documented root cause.

  • Document prompt designs, model and routing choices, evaluation results and architectural decisions, so others can pick up the work.

Qualifications
  • 4+ years of backend/fullstack software engineering experience, with production-grade TypeScript/Node.js.

  • 1+ year of AI/LLM systems in production with real users, not only side projects or experiments.

  • Daily use of AI-centred development tools (Claude Code, Cursor or similar).

  • Deep hands-on experience with LLM APIs (OpenAI, Anthropic, Google Gemini or similar) in production: structured output, function calling, streaming, token and cost control.

  • Experience with agentic AI, multi-step orchestration, tool-based workflows (function calling / tool execution) or RAG pipelines (indexing, retrieval, re-ranking).

  • Experience with LLM observability and evaluation tools (Langfuse, LangSmith or similar).

  • Experience with AI gateways and model routing (OpenRouter, Cloudflare AI Gateway or equivalent).

  • Solid understanding of relational databases (PostgreSQL) and caching (Redis, KV or similar).

  • Exceptional ownership and personal responsibility for engineering quality and delivery.

Nice to have
  • Evaluation frameworks (LLM-as-a-judge, RAGAS) and building test datasets.

  • MCP (Model Context Protocol): building MCP servers/clients or designing tool contracts for AI agents.

  • Edge/serverless runtimes (Cloudflare Workers) and their services: KV, Durable Objects, Queues, R2, Containers.

  • Search engines and vector search (OpenSearch, Elasticsearch, pgvector), embeddings.

  • Background workflow engines (Hatchet, Temporal, Inngest) for high-volume LLM pipelines.

  • Browser automation and browser agents (Playwright, CDP, browser-use).

  • Practical fine-tuning for domain-specific tasks or strict JSON/schema compliance.

  • Working Python for data science, evaluation scripts, or AI tooling.

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 (90 minutes)

  • Final Interview (60 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

Head of Product
Head of Product

Ruby Labs • Spain

Remote
EUR 120,000 - 170,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Head of Product
Head of Product

Ruby Labs Ltd • Spain

Remote
EUR 120,000 - 160,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Data Analytics Engineer
Data Analytics Engineer

Ruby Labs • Spain

Remote
EUR 60,000 - 90,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Data Analytics Engineer
Data Analytics Engineer

Ruby Labs Ltd • Spain

Remote
EUR 60,000 - 90,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Senior Growth Product Manager
Senior Growth Product Manager

Ruby Labs Ltd • Spain

Remote
EUR 90,000 - 120,000
Remote work environment
Unlimited PTO
Paid national holidays
+2
Lead Data Analyst
Lead Data Analyst

Ruby Labs Ltd • Spain

Remote
EUR 70,000 - 100,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
Accounting Automation Engineer
Accounting Automation Engineer

Ruby Labs Ltd • Spain

Remote
EUR 60,000 - 100,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2
User Acquisition Manager (Meta & SnapChat)
User Acquisition Manager (Meta & SnapChat)

Ruby Labs Ltd • Spain

Remote
EUR 45,000 - 65,000
Remote work
Unlimited PTO
Paid holidays
+2
Senior Data Analyst
Senior Data Analyst

Ruby Labs Ltd • Spain

Remote
EUR 65,000 - 90,000
Remote work
Unlimited PTO
MacBook provided
+1
Senior User Acquisition Manager (Facebook)
Senior User Acquisition Manager (Facebook)

Ruby Labs Ltd • Spain

Remote
EUR 42,000 - 70,000
Remote Work Environment
Unlimited PTO
Paid National Holidays
+2