Knowledge Centre / Build Your Own Lab
Build Your Own Lab
Turn any tech topic into a hands-on lab, tested before you run it
Web and LearnXops Desktop · Beta, for Pro & Lifetime members
Name a topic and choose where it runs: a Linux container, a Kubernetes cluster or an AI agent sandbox on your computer. Your own AI agent writes the lab, the LearnXops desktop app runs every task to prove it works, and the lab waits in My Labs, private to you.
How it works, step by step
Practise exactly what you need (0:02)
When no lab covers the thing you want to practise, build one. Build Your Own Lab lives under Labs in the LearnXops desktop app; on the web you can see My Labs and open the builder in the app.
Where it runs, and the topic (0:08)
Choose a regular lab (a Linux container with the tools installed), a Kubernetes lab (a kind cluster on your computer) or an AI agent lab (an agent framework beside a small local model, no API keys). Then type the topic, or start from one of the examples.
Shape it (0:16)
Pick the level (beginner, intermediate or advanced), three to six tasks, and an optional focus such as troubleshooting or security. Then press Build my lab and keep the page open; it takes a few minutes.
Your own AI agent writes it (0:21)
Your agent writes a scenario and tasks that build on each other, each with a hint, a solution and a check. The app checks the format and the safety rules before anything runs, and you can follow every step in the live terminal.
Tested on your computer, fixed when it fails (0:27)
The app starts the lab in its own test container or a new test cluster and runs every task: each check must fail before its solution, the solution must run, and the check must pass after it. When a step fails, your agent reads what went wrong and fixes the lab, and the app tests it again, up to three rounds. In this video the first test run failed, and one round of fixing made every task pass.
Only a working lab is saved (0:39)
A lab is saved only when every task passes end to end. The result shows how many tasks were tested and how many fixing rounds it took, with Start the lab, My Labs and Build another.
It waits in My Labs (0:46)
Your labs wait in My Labs, sorted into regular, Kubernetes and AI agent labs, each with its level, tasks and time. Only you can see them, and you can delete one there when you are done with it.
Run it from My Labs (0:51)
Open a lab from My Labs, or press Start the lab as soon as it is saved. It opens like any LearnXops lab: its container starts on its own, with a terminal beside the tasks, your progress, and the AI Learning Coach.
Do a task, then Verify (1:01)
Read the task, do it in the terminal, and press Verify: the lab runs the task's check inside the container. A task that passes is marked done and you move on to the next; a hint and the solution are there when you need them. Your progress shows in My Learning.
What you need
- The LearnXops desktop app, for macOS, Windows or Linux
- Your own AI agent, set up in the app (it can reuse an AI provider you already set up for another feature)
- Docker or Podman running on your computer; Kubernetes labs also use kind, which the app installs for you
- A LearnXops Pro or Lifetime membership
Tips
- Keep the topic narrow: "Nginx rate limiting" builds faster and teaches more than "Learn nginx".
- Start with three tasks at beginner level, then build a harder follow-up once you've done it.
- Use Focus for the kind of practice you want, such as troubleshooting a broken setup or hardening it.
- A case study's Build this Lab button fills in the topic and the kind of lab for you.
Questions
Is Build Your Own Lab free?
No. It is in beta for LearnXops Pro and Lifetime members, with no limit on how many labs you build beyond fair use. It runs with your own AI provider account, so your provider bills you for what it uses.
How do I know a generated lab works?
Before a lab is saved, the desktop app runs it on your computer: each task's check must fail before its solution and pass after it. When something fails, your AI agent fixes the lab and the app tests it again, so every lab in My Labs has passed end to end.
What happens when a test fails?
Your AI agent reads which step failed and why, fixes the lab, and the app tests it again, up to three rounds. A lab that still fails is not saved; the page says what went wrong and you can try again.
Where do my labs run?
On your own computer, in containers and kind clusters the desktop app starts for you, like every LearnXops lab. A lab never mounts your folders, uses your credentials or reaches other machines.
Can other members see the labs I build?
No. Your labs are private to you. They count in My Learning, but not on the leaderboard or towards certificates.
What happens if a lab needs something unusual?
A lab that needs a privileged container or an image outside the usual list says so before anything runs, and runs only when you confirm.
Watch next
- Labs: Real DevOps practice, on your own computer
- Kubernetes Labs & Playground: Real Kubernetes clusters, on your own computer
- AI Agent Labs: Build and run open-source AI agents on your own computer
- Debug Coach: Find what's wrong with your cluster or server, learn why, and fix it
- Project Builder: Describe a project. Your own AI agent builds it, tests it and proves it works