The emergence of retrieval-augmented generation (RAG) applications and AI agents promises to revolutionize how we interact with the vast amount of digital knowledge we have available today. But the effectiveness of these advanced systems depends on the quality of their underlying retrieval mechanisms. This is where it's indispensable that your machine learning operations (MLOps) framework is closely integrated with your underlying enterprise technology platform.
Solving the enterprise knowledge retrieval bottleneck
Imagine a technical support engineer, or AI agent, at a large information technology (IT) services provider, tasked with resolving complex customer incidents. They need to search through thousands of product notes, troubleshooting guides, and known-error articles. The challenge? Customers often describe problems using different terminology, different product names, or symptoms traditional keyword search can't capture effectively. This leads to slow or inconsistent search results, increasing resolution times, driving unnecessary escalations, and making valuable operational knowledge difficult to reuse.
The problem extends beyond merely putting a search box in front of documents. Organizations need a repeatable, evidence-based way to verify their retrieval models work for their specific questions and content, and to continuously improve these models. Ultimately, the quality of retrieval determines whether RAG applications and AI agents receive the useful context they need to generate accurate answers and take appropriate actions.
Architecture of the self-improving retrieval pipeline
Addressing this critical business need requires a cohesive combination of platform and orchestration tools. Red Hat and ZenML teamed up to create an AI quickstart that combines Red Hat OpenShift, Red Hat OpenShift AI, and ZenML to build a self-improving retrieval pipeline for RAG and AI agents.
Red Hat OpenShift: As the foundation, Red Hat OpenShift provides a robust and scalable container orchestration platform. It's the environment where all components run, offering capabilities like dynamic persistent storage, container registries, and Red Hat OpenShift routes for exposing services.
Red Hat OpenShift AI: This layer acts as the workload and model-serving platform. It provides managed services such as KServe for deploying inference services and MLflow for experiment tracking. In this AI quickstart, KServe deploys the semantic search user interface (UI), and MLflow records the experiment results of model evaluations.
ZenML: This is the AI orchestration layer that ties everything together. ZenML is an open source MLOps framework designed for building portable machine learning (ML) workflows in Python.
ZenML allows you to orchestrate training, inference, evaluations, and agents on your existing infrastructure, from your laptop to Kubernetes, with no vendor lock-in. It emphasizes reproducibility by default, versioning artifacts, tracking runs, and allowing re-execution of any pipeline step. Its composable stack approach lets you pick and swap components like orchestrators, artifact stores, experiment trackers, and model registries without rewriting your pipeline.
ZenML acts as a metadata layer, helping keep your artifacts, prompts, and code within your infrastructure from end to end. It offers lineage and replay capabilities, recording each execution and artifact version so it's possible to reproduce and fix issues. The framework supports 60+ integrations across the AI ecosystem, from scikit-learn to LangGraph, PyTorch to OpenAI Agents SDK.
ZenML's stack abstraction separates pipeline code from the execution infrastructure, managing the Kubernetes orchestrator, object store, Red Hat OpenShift integrated image registry, OpenShift AI MLflow for experiment tracking, and OpenShift AI KServe for model serving.
Key benefits of automated retrieval pipelines
Combining Red Hat and ZenML to automate your retrieval pipeline delivers several practical advantages:
- Faster, more accurate knowledge access: Technical support engineers gain faster, more accurate access to the right knowledge articles, even when customers describe problems using different terminology, product names, or symptoms that regular keyword search would miss.
- Automated model selection: The pipeline includes an automated evaluation loop that benchmarks embedding models against real support queries. This removes guesswork, allowing teams to confidently deploy the retrieval approach that works best for their specific content.
- Continuous improvement: The pipeline is repeatable and observable, helping retrieval quality improve over time rather than degrade as documentation grows.
- Foundation for future AI: The semantic search layer created becomes a ready-made foundation for a future RAG assistant or AI-powered support agent.
- Reduced engineering overhead and faster time-to-market: ZenML has helped customers reduce time to market from 2 months to 2 weeks by accelerating model development by 80%.
- Flexibility and reproducibility: ZenML allows orchestrating ML pipelines independent of any infrastructure or tooling choices, freeing teams from vendor lock-in. ZenML also versions and tracks every artifact to support reproducibility.
Consistent MLOps workflows across hybrid environments
ZenML and OpenShift AI fit naturally together to simplify end-to-end MLOps. ZenML provides the orchestration backbone, allowing you to define your ML workflows once and run them consistently across various environments, from local development to production Red Hat OpenShift clusters. It integrates closely with OpenShift AI's managed services like KServe for model deployment and MLflow for experiment tracking, creating a more cohesive and efficient MLOps environment.
Get started with the AI quickstart
The AI quickstart, Deploy self-improving retrieval for RAG and AI agents, guides you through evaluating this combination of tools, including embedding models, indexing technical-support documentation with the best performer, and deploying a semantic-search UI using ZenML on Red Hat OpenShift AI.
This AI quickstart is ideal for teams exploring how to automate retrieval evaluation and deployment on OpenShift AI. It helps you get started building a repeatable improvement loop that selects the strongest candidate embedding model, indexes your corpus, and makes the result immediately testable.
Ready to enhance your RAG applications and AI agents with intelligent, self-improving retrieval? Explore the AI quickstart and see the ZenML and OpenShift AI integration in action.











