PROMETHEUS OS
NATIVE AI OPERATING SYSTEM
[INIT] Prometheus OS loading...
[CORE] Neural interface initializing...
[AI] LLM router connecting...
[MEM] Memory graph loading...
[AGT] Agent chains on standby...
[SEC] Security protocols active...
[NET] Provider mesh established...
[UI] Workspace rendering...
[DONE] All systems nominal.
Welcome to PROMETHEUS OS.
READY · OFFLINE · SECURE · PRIVATE
🎨 THEME ENGINE
PROMETHEUS OS · 23 THEMES
Trial version: Dark + Light themes only.
Full theme access with PROMETHEUS OS license.
Dark theme active
Experience all 23 themes in PROMETHEUS OS

Becoming an AI Engineer

Intermediate 17 min· 4 exercises

Choose a target AI role, map the skills it needs, follow a 12-month plan through this program, build a portfolio that proves you can deliver measured results, and prepare for ML system design interviews.

By the end of this lesson you will be able to
  • Compare the main AI roles (data scientist, ML engineer, AI engineer, MLOps, research engineer, AI product manager, AI security) by their core questions and outputs.
  • Map the skills each role needs at foundation and depth levels and identify your own gaps.
  • Plan a 12-month learning path through this program's courses with a build project per block.
  • Build portfolio projects with baselines, variance, error analysis and reproducible experiment records.
  • Structure an ML system design answer: requirements, scale and cost estimates, architecture, latency, evaluation and risks.
  • Choose sustainable ways to stay current through papers, conferences and practice.

Before this: AI and Your Career

"AI engineer" covers a family of jobs, from people who invent new training methods to people who ship a retrieval assistant into a customer-support workflow. Knowing which role you are aiming for decides what to study, what to build and how you will be interviewed. This lesson maps the roles and their skills, turns this program into a 12-month plan, and covers portfolios, interviews and how to keep up once you are in.

The intuition: a hospital, not a single job

A hospital runs on surgeons, anaesthetists, nurses, pharmacists, radiographers and administrators. They share a base of medical knowledge, but nobody expects a pharmacist to operate. AI teams work the same way: everyone needs a shared foundation (Python, data, the ML workflow, evaluation), and then each role goes deep in a different direction. The common beginner mistake is to try to learn everything at equal depth. A better strategy is "T-shaped": broad enough to talk to every role, deep in one.

The roles

Job titles are inconsistent between companies, so read job descriptions for the actual duties. The table describes the typical centre of each role.

RoleCore question they answerTypical outputs
Data scientistWhat does the data say, and what should we do?Analyses, experiments (A/B tests), forecasts, baseline models, decision memos
ML engineerHow do we build, train and serve a model reliably?Training pipelines, feature pipelines, model services, evaluation suites
AI engineer (applied LLM engineer)How do we build a product on foundation models?RAG systems, agents, prompt and tool design, evals, guardrails, cost and latency tuning
MLOps / ML platform engineerHow do many teams ship and run models safely?CI/CD for models, feature stores, model registry, monitoring, GPU scheduling
Research engineerHow do we make a new method work at scale?Training code for large models, distributed training, experiments, ablations
Research scientistWhat new method or understanding is possible?Papers, novel methods, research direction (often PhD-level)
AI product managerWhat should we build, for whom, and how do we know it works?Problem definition, success metrics, eval criteria, launch and risk decisions
AI security engineerHow can this system be attacked or misused, and how do we stop it?Threat models, red-team findings, prompt-injection defences, supply-chain controls

The boundary between ML engineer and AI engineer is the newest and blurriest. Roughly: ML engineers more often train models on the company's own data; AI engineers more often compose pretrained models, retrieval and tools, and spend much of their effort on evaluation.

Skills map per role

Rate each skill as F (foundation: working knowledge), D (depth: you are the person others ask) or blank (helpful but optional).

SkillData sci.ML eng.AI eng.MLOpsResearch eng.AI PMAI security
Python and software engineeringFDDDDF
Statistics and experiment designDFFFF
Linear algebra, calculus, optimisationFFD
Classical ML (trees, linear models)DDFFFF
Deep learning and PyTorchFDFFDF
LLMs: prompting, RAG, agentsFFDFFFD
Evaluation and metricsDDDFDDF
Data engineering and SQLDDFDFF
Cloud, containers, servingDDDFF
Distributed training and GPUsFDD
Security and threat modellingFFFFD
Product sense and communicationDFDFFDF
Law, ethics and governanceFFFFDD

Two skills appear in every column: evaluation and communication. Teams hire people who can tell whether a model is actually good and explain that clearly.

A 12-month learning plan using this program

The plan assumes about 10 to 12 hours a week, which adds up to roughly 500 to 600 hours over a year. Adjust the pace, but keep the order: each block depends on the one before. Every block ends with something you build and write up.

MonthsFocusLessonsBuild
1–2FoundationsWhat Is AI?, How Machines Learn, Linear Algebra for AI, Calculus and Gradients, Probability and Statistics for AI, Optimization for MLImplement gradient descent for linear regression in NumPy and match scikit-learn's answer
3–4Machine learningThe ML Workflow and Data, Linear and Logistic Regression, Decision Trees and Ensembles, Model Evaluation and Metrics, Feature EngineeringAn end-to-end tabular project on public data with a baseline, cross-validation and an error analysis
5–6Deep learningNeural Networks and Backprop, Training Deep Networks, Convolutional Neural Networks, Transformers Deep DiveCapstone: Image Classifier
7–8LLMs and retrievalPretraining and Data, Post-Training and Alignment, Embeddings and RAG, Document Processing and Chunking, Evaluating RAGCapstone: RAG Assistant with a written evaluation
9–10Applications and productionTool Use and Function Calling, AI Agents Explained, Evaluating AI Systems, Deploying Models, Monitoring and Drift, LLMOps in ProductionCapstone: MCP Agent, deployed with logging and a cost dashboard
11SpecialiseOne track in depth: Fine-Tuning vs Prompting and Quantization (model work), AI Security Risks (security), or AI Product Management (product)Capstone: Fine-Tune a Small Model or a specialisation project
12Job readinessBias and Fairness, AI Law and Regulation, this lessonPolish portfolio, practise interviews, contribute to one open-source project

Data scientists should spend extra time on statistics and experiment design in months 3–4; research-engineer candidates should add distributed training (Clustering and Multi-GPU) and read papers weekly from month 5.

Building a portfolio

A portfolio exists to answer one question for a hiring manager: can this person take an ambiguous problem to a working, measured result? Three to five strong projects beat fifteen tutorials.

Project ideas that signal real skill

  • A domain-specific RAG assistant over a public corpus (court opinions, standards documents, a software project's documentation), with a labelled evaluation set of 100 or more questions, retrieval metrics, and an analysis of failure cases.
  • A tabular model with a decision attached: churn or fraud on public data, where you set the threshold using a cost matrix and report the expected cost, not just AUROC.
  • A fine-tuned small model that beats a prompted larger model on one narrow task, with cost and latency compared.
  • A production-style service: a model behind an API, containerised, with tests, logging, a monitoring dashboard and a load test.
  • A reproduction: re-implement a result from a paper at small scale and report what matched and what didn't.

Writing up results

Each project needs a README or short report with: the problem and why it matters; data and its limitations; a baseline; the method; results with variance (mean and spread across folds or seeds); an error analysis with examples; and what you would do next. Honest negative results ("the fine-tuned model did not beat retrieval plus prompting, and here's why") are a strong signal of maturity.

The habit that underlies all of this is reproducible experiments. A minimal template:

import json, platform, time
import numpy as np, sklearn
from sklearn.datasets import load_breast_cancer
from sklearn.dummy import DummyClassifier
from sklearn.ensemble import HistGradientBoostingClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import StratifiedKFold, cross_val_score
from sklearn.pipeline import make_pipeline
from sklearn.preprocessing import StandardScaler

SEED = 0
X, y = load_breast_cancer(return_X_y=True)
cv = StratifiedKFold(n_splits=5, shuffle=True, random_state=SEED)
candidates = {
    "majority-class baseline": DummyClassifier(strategy="most_frequent"),
    "logistic regression": make_pipeline(StandardScaler(), LogisticRegression(max_iter=1000)),
    "gradient boosting": HistGradientBoostingClassifier(random_state=SEED),
}
results = []
for name, model in candidates.items():
    t0 = time.perf_counter()
    s = cross_val_score(model, X, y, cv=cv, scoring="roc_auc")
    results.append({"model": name, "auroc_mean": round(s.mean(), 4),
                    "auroc_sd": round(s.std(ddof=1), 4),
                    "seconds": round(time.perf_counter() - t0, 2)})
    print(f"{name:26s} AUROC {s.mean():.3f} +/- {s.std(ddof=1):.3f}")

record = {"seed": SEED, "cv": "stratified 5-fold", "python": platform.python_version(),
          "sklearn": sklearn.__version__, "results": results}
with open("results.json", "w") as f:
    json.dump(record, f, indent=2)

It fixes the random seed, compares against a trivial baseline, reports spread across folds, records library versions and timing, and saves results as data rather than screenshots. On this dataset logistic regression and gradient boosting both score around 0.99 AUROC with overlapping spreads, so the honest write-up says "no meaningful difference; prefer the simpler model", which is exactly the judgement interviewers look for.

Open-source contributions

Contributing to a widely used library (scikit-learn, PyTorch, Hugging Face libraries, evaluation frameworks, inference servers) shows you can read a large codebase, follow review norms and communicate in writing. Start with documentation fixes, reproducible bug reports and issues labelled for newcomers; read the project's contributing guide first; and keep pull requests small. One merged, substantive pull request is worth more than many trivial ones.

Interviewing

Most AI engineering loops combine: a coding round (data structures and practical Python), an ML fundamentals round (bias–variance, regularisation, metrics, leakage, how transformers and attention work), an ML system design round, a project deep dive on your own work, and a behavioural round. Research roles add paper discussion; product and security roles add case studies.

ML system design: a worked outline

Prompt: "Design an AI assistant that answers customer-support questions from our help-centre articles and past tickets."

1. Clarify requirements (5 minutes). Who uses it: customers directly, or agents as a drafting tool? Languages? Can it take actions (refunds) or only answer? What counts as success: deflection rate, resolution, customer satisfaction? Constraints on latency, cost and privacy? Assume: customer-facing, English, answer-only, escalate to a human when unsure.

2. Estimate scale. Suppose 50,000 conversations a day, 6 turns each: 300,000 model calls a day. Average load is 300,000/86,400≈3.5300{,}000 / 86{,}400 \approx 3.5 requests per second; with a peak-to-average factor of 3, plan for about 10 per second. Each call sends about 3,000 input tokens (instructions 200, five retrieved chunks of 400 tokens = 2,000, conversation history 800) and generates about 300 output tokens. Daily volume: 300,000×3,000=900300{,}000 \times 3{,}000 = 900 million input tokens and 90 million output tokens. At illustrative prices of 1 USD per million input tokens and 4 USD per million output tokens, that is 900+360=1,260900 + 360 = 1{,}260 USD per day, roughly 38,000 USD per 30-day month. Cutting retrieval to three chunks (input 2,200 tokens) drops input to 660 million tokens and the bill to about 1,020 USD per day: cost is a design variable, not an afterthought.

3. Architecture. Ingestion (parse articles and resolved tickets, remove personal data, chunk, embed, index with metadata such as product and date) → query path (rewrite the question using conversation context, hybrid keyword-plus-vector retrieval, re-rank, generate with citations to sources) → guardrails (refuse out-of-scope topics, detect prompt injection in retrieved content, confidence-based escalation to a human) → logging of every request, retrieved documents, answer and feedback.

4. Latency budget. Retrieval about 100 ms, re-ranking about 150 ms, time to first token about 500 ms; stream the answer so the user sees text within a second, even if the full reply takes several seconds.

5. Evaluation. Offline: a labelled set of real questions with reference answers and source documents; measure retrieval recall@k, answer correctness, faithfulness to sources and escalation precision. Online: A/B test against the current help centre on resolution rate and satisfaction, with guardrail metrics such as wrong-answer reports.

6. Risks and iteration. Stale articles (re-index on change), hallucinated policies (require citations; refuse when retrieval is weak), privacy (redact before indexing), drift in question mix (monitor topics). Close by naming what you would build first: a narrow pilot on the top 20 question types, with human review of a sample of answers each week.

Interviewers care less about the "right" architecture than about clarifying requirements, quantifying, choosing metrics and naming trade-offs.

Project deep dives

Expect "why this metric?", "what was the baseline?", "what failed?" and "what would you change?". Prepare a two-minute summary and a ten-minute walkthrough of your best project, and know its numbers cold.

Staying current

  • Papers: most ML papers appear first as preprints on arXiv; ICLR and many workshops publish reviews openly on OpenReview. Read abstracts widely and a few papers deeply; for each, write three lines: claim, evidence, limitation.
  • Conferences: NeurIPS (Conference on Neural Information Processing Systems, usually December) and ICML (International Conference on Machine Learning, usually July) cover machine learning broadly; ICLR (International Conference on Learning Representations, usually spring) focuses on deep learning; ACL (the Annual Meeting of the Association for Computational Linguistics) is the flagship for natural language processing; CVPR (Conference on Computer Vision and Pattern Recognition, usually June) leads in computer vision. Their proceedings are freely available, and recorded talks and tutorials are an efficient way to catch up.
  • Engineering sources: release notes and documentation of the libraries you use, model cards, and the engineering blogs of teams that publish post-mortems and evaluation details.
  • Practice: re-run a new method on your own data before believing a leaderboard; benchmarks are covered in Benchmarks and Evaluation.

Certifications

Major cloud providers offer machine-learning and AI certifications that test their own platforms' services for training, deploying and monitoring models, at foundational, associate and professional or specialty levels. Other organisations offer vendor-neutral credentials, and universities offer certificate programmes. Treat them for what they are: evidence that you know a platform's tooling, which can help in roles centred on that cloud or in consulting, and a structured study plan. They rarely substitute for a portfolio in technical hiring. Exam names, content and availability change frequently and some are retired, so check the provider's official certification page for the current list before you study.

Common pitfalls

  • Tutorial loops: completing courses without building anything original.
  • Chasing every new model instead of mastering evaluation, data and software engineering, which change slowly.
  • Portfolio projects without baselines or error analysis, which look like demos rather than engineering.
  • Ignoring software engineering: untested notebooks are a red flag for ML and AI engineering roles.
  • Over-claiming: inflated results in a README are easy for interviewers to probe and destroy trust.
  • Applying to every title alike instead of tailoring to the role's real duties.

In practice

  • Choose a target role from the table and write down the three skills where you need depth.
  • Follow the 12-month plan, and publish one write-up per block.
  • Keep an experiment log and reproducible code for every project.
  • Practise system design aloud with the six-step outline and back-of-envelope numbers.
  • Read one paper a week and attend (or watch) one major conference a year.
  • See AI and Your Career for how AI is changing work more broadly.

Key takeaways

  • AI teams contain distinct roles; aim to be broad across them and deep in one.
  • Evaluation and communication are the skills every AI role shares.
  • A portfolio of three to five measured, reproducible projects with honest write-ups beats many tutorials.
  • System design interviews reward clarifying requirements, quantifying scale and cost, choosing metrics and naming trade-offs.
  • Read papers selectively with a claim-evidence-limitation habit, and use major conferences (NeurIPS, ICML, ICLR, ACL, CVPR) to track the field.
  • Certifications show platform knowledge but rarely replace a portfolio in technical hiring; check official pages for current exams.

Terms in this lesson

AI engineer
An engineer who builds products on foundation models, combining prompting, retrieval, tools, evaluation and guardrails.
ML engineer
An engineer who builds the pipelines to train, evaluate and serve machine learning models reliably.
MLOps
The practices and platforms for deploying, monitoring and maintaining machine learning models in production.
Research engineer
An engineer who implements and scales new methods and experiments, often for large-model training.
T-shaped skills
Broad working knowledge across a field combined with deep expertise in one area.
Baseline
A simple reference method, such as predicting the majority class, against which a model's improvement is measured.
Error analysis
Systematic inspection of a model's mistakes to find patterns and guide the next improvement.
Back-of-envelope estimate
A quick, approximate calculation of load, cost or latency used to check a design's feasibility.

Check your understanding

  1. 1.

    A company wants someone to build a retrieval-augmented support assistant on a hosted foundation model, design its evaluation set and tune its cost. Which role best fits?

  2. 2.

    An assistant handles 40,000 conversations a day with 5 model calls each. With a peak-to-average factor of 3, roughly what peak request rate should you plan for?

  3. 3.

    Which portfolio write-up element most clearly signals engineering maturity?

  4. 4.

    Which conference is the flagship venue for natural language processing research?

  5. 5.

    In an ML system design interview, what should you do first?

Exercises

Work each problem before opening the solution.

  1. Exercise 1Core

    Estimate load and cost for an internal assistant: 20,000 conversations a day, 4 model calls per conversation, 2,500 input tokens and 250 output tokens per call, peak-to-average factor 3. Use illustrative prices of 0.50 USD per million input tokens and 2 USD per million output tokens. Give average and peak requests per second, daily tokens, and daily and 30-day cost.

    Show solution

    Calls per day: 20,000×4=80,00020{,}000 \times 4 = 80{,}000.

    Average rate: 80,000/86,400≈0.9380{,}000 / 86{,}400 \approx 0.93 requests per second; peak ≈0.93×3≈2.8\approx 0.93 \times 3 \approx 2.8 per second.

    Tokens: input 80,000×2,500=20080{,}000 \times 2{,}500 = 200 million; output 80,000×250=2080{,}000 \times 250 = 20 million.

    Cost: input 200×0.50=100200 \times 0.50 = 100 USD; output 20×2=4020 \times 2 = 40 USD; total 140 USD per day, about 4,200 USD per 30 days. Input tokens dominate, so trimming retrieved context or caching a shared prompt prefix is the first lever.

  2. Exercise 2Core

    Pick a target role from the lesson's table. List the three skills where the role needs depth, rate yourself 0–3 on each, and write a 12-week plan (lessons from this program plus one project) for your weakest skill.

    Show solution

    Example for an AI engineer whose depth skills are LLM applications, evaluation, and cloud and serving.

    Self-ratings: LLM applications 1, evaluation 1, serving 2. Weakest: evaluation (tie broken by impact: evaluation determines whether everything else works).

    • Weeks 1–3: Model Evaluation and Metrics, Benchmarks and Evaluation; compute precision, recall and calibration on a public classification set.
    • Weeks 4–6: Evaluating AI Systems, Evaluating RAG; build a 100-question labelled set for a documentation corpus.
    • Weeks 7–10: build a small RAG system and measure retrieval recall@k, answer correctness and faithfulness; run at least two variants (chunk size, re-ranking).
    • Weeks 11–12: write up results with variance and failure examples; publish code and the evaluation set.

    A good answer ties every week to an output you can show.

  3. Exercise 3Core

    The lesson's experiment template compares models with 5-fold cross-validation. Extend it to use 5×5 repeated stratified cross-validation and a paired comparison: compute the per-split difference in AUROC between gradient boosting and logistic regression, and report the mean difference, how many splits each model wins, and the 5th–95th percentile of the differences. Why is pairing better than comparing two separate means?

    Show solution
    import numpy as np
    from sklearn.datasets import load_breast_cancer
    from sklearn.ensemble import HistGradientBoostingClassifier
    from sklearn.linear_model import LogisticRegression
    from sklearn.model_selection import RepeatedStratifiedKFold, cross_val_score
    from sklearn.pipeline import make_pipeline
    from sklearn.preprocessing import StandardScaler
    
    X, y = load_breast_cancer(return_X_y=True)
    cv = RepeatedStratifiedKFold(n_splits=5, n_repeats=5, random_state=0)  # 25 identical splits
    a = cross_val_score(make_pipeline(StandardScaler(), LogisticRegression(max_iter=1000)),
                        X, y, cv=cv, scoring="roc_auc")
    b = cross_val_score(HistGradientBoostingClassifier(random_state=0),
                        X, y, cv=cv, scoring="roc_auc")
    d = b - a                                         # paired: same split for both models
    print(f"logreg {a.mean():.4f}, boosting {b.mean():.4f}")
    print(f"mean difference {d.mean():+.4f}, folds where boosting wins: {(d > 0).sum()}/{len(d)}")
    print(f"5th-95th percentile of differences: {np.percentile(d, 5):+.4f} to {np.percentile(d, 95):+.4f}")
    

    A typical run gives logistic regression about 0.995 and boosting about 0.993 AUROC, a mean difference around −0.002 with boosting winning only about 5 of 25 splits, and a 5th–95th percentile range spanning zero (roughly −0.005 to +0.002). Conclusion: no meaningful advantage for the more complex model, so prefer logistic regression.

    Pairing helps because both models are scored on the same splits: much of the split-to-split variation (some test folds are simply harder) cancels in the difference, so the comparison is more sensitive than comparing two independent means. Note that the splits overlap, so the differences are not independent; treat percentile ranges as descriptive, not as a formal test.

  4. Exercise 4Challenge

    Write a full ML system design outline for real-time card-fraud detection at a payment processor: assume a peak of 2,000 transactions per second and a 100 ms end-to-end budget for the decision. Cover requirements, features, model choice, serving, labels and feedback delay, metrics, and risks.

    Show solution

    Requirements. Decide approve, decline or step-up authentication per transaction within 100 ms at 2,000 TPS peak (about 7.2 million an hour). Objectives: minimise fraud losses and false declines; explain decisions to analysts; comply with card-network and data-protection rules.

    Latency budget (illustrative). Network and parsing 15 ms; feature lookup 25 ms; model inference 10 ms; rules and decision 10 ms; leaving about 40 ms headroom for tail latency.

    Features. Transaction (amount, merchant category, channel), velocity aggregates over sliding windows (count and sum per card over 1 minute, 1 hour, 24 hours), card and device history, geography and distance from last transaction, graph features (devices or merchants shared with known fraud). Streaming aggregates are computed in a stream processor and served from a low-latency key-value store; the same definitions are used in training to avoid training-serving skew.

    Model. Gradient-boosted trees as the primary model (strong on tabular data, fast inference), alongside hard rules for known patterns; consider a sequence or graph model as a second-stage feature. Calibrate scores and set thresholds with a cost matrix (average fraud loss vs. cost of a false decline).

    Labels and feedback. Chargebacks and confirmed-fraud reports arrive days to weeks later, so train on matured windows, and use analyst-reviewed cases for faster signal. Beware selection bias: declined transactions never get labels; keep a small randomised holdout or use reject-inference techniques.

    Metrics. Offline: precision–recall AUC, recall at a fixed false-positive rate, dollar-weighted recall. Online: fraud basis points, false-decline rate, step-up completion, analyst workload. Monitor drift and alert on sudden shifts (new attack patterns).

    Risks. Adversarial adaptation (retrain frequently, monitor feature importance shifts), outages (fail-safe rules if the model is unavailable), fairness and explainability (reason codes for analysts and customer service), safe deployment (shadow mode, canary rollout, kill switch).

Further reading

Go further

Sources

Fact-checked and last reviewed 2026-11-05

Stay in the loop
Prometheus OS™ · Native AI OS · Built for the future © 2025 - 2026