LLMOpsThe LLMOps lifecycle · MLflow 3 · FastAPI · Docker · AWS/Azure
Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
41 small wins to finish your pathNext lesson →

The LLMOps project lifecycle

The LLMOps lifecycle is eight stages, from planning through data, model selection and the build, to evaluation, prompt engineering, deployment and monitoring, drawn as a loop that returns to the start. Under all eight sits a tools layer. It is the spine this whole course follows, one part per group of stages.

Last updated: 15 Oct, 2026 · LLMOps

Why an LLM app needs ops argued why the operational work matters. This lesson lays out the map for all of it. These eight stages are the breakdown in the LLMOps Project Lifecycle video, numbered on its board in the order it walks them, and every later part of the course is one of these stages taught in depth.

The LLMOps lifecycle, end to end · from the Detailed LLMOps Project Lifecycle video · 13:32 to 15:55

The eight stages

  1. Planning and requirements. Decide the use case and what success means, with the product owner and business analyst gathering requirements.
  2. Data collection and preparation. Gather the data the use case needs, either documents to embed for retrieval or example pairs for fine-tuning.
  3. Model selection. Pick the LLM. Try several providers, weigh size and cost from the model's card, and decide whether you also need external tools or MCP.
  4. Fine-tuning or RAG. Fine-tune the model, build a retrieval pipeline, or combine them. The video names the combination RAG with fine-tuning, also called RAFT.
  5. Evaluation and testing. Score the application. Retrieval and a plain LLM use different metrics, alongside A/B testing and bias detection.
  6. Prompt engineering. Iterate the prompt, trying several versions until the output is right. The video treats this as a loop you repeat, not a single step.
  7. Deployment. Set up infrastructure, an API and scaling, on a cloud or in your own, and control the cost of the API calls.
  8. Monitoring and maintenance. Watch the running app, trace failures and keep it healthy as data and usage shift, with tools such as MLflow and LangSmith, and the studios for agent apps.

Under all eight the video draws a second band it calls the tool infrastructure: version control for the model, the data and the code, MLOps tools such as MLflow, Kubeflow and DVC, compute resources, observability, cost management, and security and compliance. These are not a ninth stage. They are the layer every stage runs on, which is why versioning is taught near the end of this course rather than as a step in the middle of it.

The LLMOps project lifecycle as the video draws it: eight numbered stages running left to right along the top, planning requirements, data collection and preparation, model selection and fine-tuning or RAG, then back along the bottom through evaluation and testing, prompt engineering, deployment and monitoring and maintenance, with a dashed continuous improvement loop returning to the start. Underneath sits a tools infrastructure band that runs below every stage: version control for model, data and code, MLOps tools such as MLflow, Kubeflow and DVC, compute resources, observability, cost management, and security and compliance.

The data stage branches early

The video is careful that data preparation serves two different builds. For retrieval it is an ingest pipeline: ingest the documents, parse them, split them into a document structure, chunk them, turn the chunks into vector embeddings, store those in a vector database and build a retriever over it. For fine-tuning it is instead the examples you retrain the model on. Which branch you take is decided at the build stage, and sometimes you take both.

How the stages map to this course

StageTaught in
Planning, use cases, the pipelineThe four LLM use cases
Data and model selectionThe RAG data pipeline
Build and project structureA production project layout
Evaluation and trackingExperiment tracking with MLflow
Monitoring and maintenanceWhy you monitor an LLM app
DeploymentDeployment choices, and why
Maintenance and versioningVersioning model, data and code

Where the lifecycle guides you

  • Scoping a project, where the stages become a checklist so no step, from evaluation to versioning, is skipped by accident.
  • Reviewing someone else's LLM app, where you can ask which stage each gap belongs to rather than guessing.
  • Planning a team's work, where each stage maps to an owner and a deliverable, which the next lesson sets out.
Watch out. The stages look like a straight line and are not. Prompt engineering is a loop, monitoring feeds back into data and model choice, and the tools layer, versioning included, runs underneath every stage at once. Read the list as a cycle you return to, not a one-way checklist you finish.
Try it yourself
  • Write the eight stages down the side of a page and note, for a project you know, who would own each one.
  • For one app, mark which build it uses: retrieval, fine-tuning, or both, and trace the data stage that feeds it.
  • Watch the lifecycle video once and check the order of the stages against the list here.

Slow is fine. Stopping is the only problem.