Latest in AI Engineering

Field notes from building with LLMs — prompting, agents, evaluation, and the production plumbing around them. What works, what breaks, and the judgment calls that decide the difference.

New posts are published here and shared on LinkedIn.

B
Tabular ML · Model Selection · Deep Learning

Complexity Is Not a Feature in Tabular ML

A simple MLP can beat a tabular transformer, and that should be a reminder rather than a surprise. In tabular machine learning, newer architecture does not automatically mean better architecture — transformers earn their power where token order, context, or spatial structure are fundamental, and tabular data has a different structure.

Result: A carefully built MLP plus gradient-boosted trees can be highly competitive. Hold splits, point-in-time features, metric, and tuning budget equal, weigh latency and maintenance alongside accuracy, and make the simpler baselines fail first — complexity is a cost, not a feature.

B
Uncertainty · Forecasting · Machine Learning

MAPIE: Conformal Prediction Intervals for Forecasts

A point forecast is not always a decision-ready forecast. MAPIE adds a conformal prediction interval around many sklearn-compatible regression workflows — fit an existing model, calibrate on out-of-fold errors, and return a point prediction with lower and upper bounds.

Result: A nominal 90% interval does not mean every prediction has a 90% chance of containing the outcome; conformal methods target marginal coverage, and making intervals trustworthy still needs time-aware backtesting, coverage monitoring, and subgroup review.

B
Time Series · Feature Engineering · Machine Learning

tsfresh: Accelerating Time-Series Feature Discovery

tsfresh does not replace feature engineering — it accelerates feature discovery. For labelled time-series problems it turns long-format signals into a broad candidate feature matrix of statistical, temporal, spectral, complexity, and shape descriptors.

Result: Extraction is only the first stage. Split first, extract with a consistent configuration, select features using training data only, carry the retained definitions into validation and test, then inspect what survives and decide what deserves domain-led custom engineering.

A
AI Engineering · Career Growth · LLM Systems

Data Scientist to AI Engineer: What Actually Transfers

The move from data scientist to AI engineer is smaller than it looks. Model evaluation, experimentation, data pipelines, representation thinking, and production awareness transfer directly — what changes is the engineering layer around the model.

Result: You do not need to restart or become an LLM researcher first. Add service design, structured outputs, retrieval, observability, and fallback behaviour to a strong analytical foundation, and build one small end-to-end system to practise the full lifecycle.

A
Prompt Engineering · AI Coding · Developer Workflow

SPARC: A Practical Checklist for AI Code Requests

A vague request leaves too much open to interpretation. SPARC — Specifics, Perspective, Architecture, Requirements, Context — treats the prompt like an engineering brief so the first draft is closer to the project.

Result: A clearer request gives a more useful first draft — easier to review, test, and integrate. AI can generate implementation options; engineers still own the specification, validation, security, and the final decision.

A
AI Automation · Human-in-the-Loop · Production AI

AI Automation Levels: Green, Yellow, Red for Workflows

Not everything that can be automated should be automated. I use three levels — Green (automate with controls), Yellow (AI assists, human decides), and Red (human-led decision) — with a quality gate that escalates uncertainty to review.

Result: Move from "can we automate this?" to "should we automate this, and under what guardrails?" Automate the routine. Assist the uncertain. Keep high-consequence decisions human-led.

A
AI Governance · MLOps · Production AI

AI Post-Launch Ownership: Who Owns the System in 6 Months?

Many AI projects do not lose value because the first model was weak — they lose value because nobody clearly owns what happens after launch. A successful demo needs named owners for monitoring, review, change approval, cost, and fallback, or quality quietly degrades while everyone assumes somebody is watching.

Result: Architecture enables a system; ownership keeps it useful. Before celebrating deployment, ask who owns this system six months from now.

A
AI Engineering · MLOps · AI-Assisted Coding

Not All AI Assistance Deserves Equal Trust

AI assistance is not one thing, so trust in it should not be one thing either. I sort it into four levels — code completion, code generation, review and critique, decision support — because a plausible suggestion is not a finding, and a well-framed answer can shape a whole project before a line of code exists.

Result: Inspect completion, test generation, verify critique against evidence, and treat strategic recommendations as input for judgment rather than delegated judgment. The closer AI gets to a consequential decision, the stronger your verification should be.

A
AI Architecture · LLMOps · Production AI

AI Maturity Levels: From Demo to Platform

A prototype answers a question once. A mature AI system keeps operating when inputs change, dependencies fail, prompts evolve, and someone else has to maintain it. The two look identical in a screenshot, so the difference only shows up later — usually as an incident rather than a design review.

Result: I use five maturity levels — prototype, deployed, production-controlled, managed and measured, platform — and ask one question: can this system be operated, measured, and recovered? For most teams the gap to the next level is a single missing control: versioning, evaluation, validation, fallback, monitoring, or ownership.

B
Prompt Engineering · LLMOps · Production AI

Prompt Versioning: How LLMOps Makes Prompts Reversible

A prompt in a notebook is an experiment; a prompt that drives a production workflow is a production asset. One added instruction can move extraction quality, safety behaviour, token cost and latency at the same time, and nothing crashes to tell you.

Result: Version the prompt together with its model, schema and examples, evaluate a candidate against the current version on representative and previously failed cases, release gradually, and monitor quality and cost. Prompting stops being ad hoc when changes become traceable, evaluated, and reversible.

B
Document AI · LLM Engineering · AI Architecture

Document AI Is a Pipeline, Not One LLM Call

“The LLM reads the document” is a useful simplification. In production, document understanding is a pipeline: ingest, extract, understand the layout, route, construct the context, then validate the output.

Result: Most Document AI failures happen before the model is ever called — poor scan quality, wrong OCR, lost table structure, wrong routing, incomplete context. Naming the six stages turns one vague bug into separate, fixable ones.

B
Postman · API Testing · LLM Workflows

An AI Endpoint Is a Workflow Contract, Not Just a Response

An LLM workflow response is not just generated text. It carries extracted fields, a schema-validation status, the selected route and model, fallback status, latency, usage metadata, and human-review flags — so “did it return a response?” is no longer a test.

Result: A two-request Postman collection asserts the contract instead of the status code. The happy path passed 8 checks; a deliberately degraded document triggered the fallback route and human review, passing 6. The whole boundary re-runs in under a minute.

B
Forecasting · Deep Learning · Normalization

RevIN: When a Neural Forecast Learns Only One Scale

A neural forecaster can learn the shape of a series around 100 and still fail once the same series operates around 500. One global scaler is an average of a past that no longer describes the current forecast window.

Result: RevIN normalizes every input window with its own statistics and restores the original scale afterwards. It helps with local level and variance shift - and it fixes nothing else, so it still has to earn its place in a rolling-origin backtest.

A
Forecasting · LLM Engineering · Feature Engineering

An LLM-Derived Feature Is Still a Feature

Adding an LLM-derived feature to a forecasting pipeline is easy. Evaluating it with proper time-series discipline is the part many teams skip - and that is where risk enters.

Result: Four checks before shipping: point-in-time backtest, explicit feature-availability checks, a real baseline comparison, and operational viability. Novelty does not lower the bar - it raises the number of things worth checking.

A
LLM Engineering · Production AI · Reliability

LLM Fallback Strategy: What Happens When the Model Fails?

Your prompt can be excellent and your LLM workflow can still fail — a provider can time out, a rate limit can be reached, latency can spike, a model can return an invalid response. None of those are solved by a better prompt.

Result: A production resilience pattern: primary model, bounded retries with backoff, a tested compatible fallback, a safe degraded mode with partial results clearly flagged, and queue plus human escalation. Fallback design determines what happens when the healthy path disappears.

A
AutoML · Tabular ML · Baseline Strategy

A Strong AutoML Baseline Can Beat Hand-Tuned Models

A strong AutoML baseline can beat a hand-tuned pipeline — and when it does, that is not failure. It is useful evidence. AutoGluon and similar tools establish a serious benchmark through model diversity, cross-validation, ensembling, and strong defaults.

Result: Run a simple baseline, then a strong AutoML benchmark, then targeted custom improvements — all compared under the same validation design. Keep complexity only when it earns its place through measurable value: domain features, deployment fit, critical segments, explainability, or governance.

A
LLM Engineering · Production AI · Validation

A Valid LLM Response Is Not Necessarily a Safe Decision

A valid LLM response can still be factually wrong, incomplete, or invalid in context. Before it triggers an automated workflow, run schema validation, risk routing, and business-rule validation.

Result: “The model answered” is not the same as “the action is safe” — automate only inside a defined trust boundary.

B
AI Coding · Hyperparameter Tuning · MLOps

Delegate the Optuna Scaffold. Not the Tuning Strategy.

An Optuna objective is full of repeatable scaffold work - parameter suggestions, model wiring, evaluation loop, pruning hook. Delegate that boilerplate to an AI coding assistant, but keep the search strategy and validation design yourself.

Result: AI reduces the friction of writing familiar scaffolding. You still own the search strategy, evaluation design, and interpretation.

B
Tabular ML · Pre-Trained Priors · Ensembling

TabPFN: Use a Pre-Trained Prior as an Additional Model Opinion

TabPFN is pre-trained on a broad distribution of tabular problems before your data arrives. You still call .fit(), but most of the learning already happened. Use its predictions as another model opinion.

Result: Generate out-of-fold TabPFN probabilities and add them as a feature to your downstream model or ensemble. Keep it only if it adds validated signal.

A
AI Architecture · LLM Production · Reliability

AI Production Readiness — 5 Red Flags in Your Architecture

Some AI systems look impressive in a demo and fragile in production. No fallback path, prompts buried in code, no cost visibility, output acting without validation, and no regression testing — five structural gaps in the operating model, not the model.

Result: Observability, controllability, and recoverability decide whether an AI system survives. Good AI systems are not only smart — they are survivable.

A
LLM Engineering · Structured Outputs · MLOps

Structured Outputs: The Most Useful LLM Output Is Often Not Text

Before structured outputs, LLM integrations parsed free text with regex and hoped the response stayed usable. Defining a Pydantic schema before the call turns the output into validated, typed fields — category, confidence, description — that a downstream system can act on directly.

Result: Schema-constrained outputs remove the most fragile parsing logic. The model can stay probabilistic — its interface should not be chaotic.

A
RAG · LLM Production · Context Architecture

Stable vs Changing LLM Context — Cache and Retrieve Strategically

Many RAG systems treat every document, rule, and metric as if it needs the same retrieval path — but stable context should be cached or reused, while changing context must be freshly retrieved. The design question is not only "Do I need RAG?" but "Which parts need freshness, and which need efficient reuse?"

Result: Cache the cold layer, retrieve the hot layer, validate both — fewer stale answers, lower latency, and lower retrieval cost.

A
AI Engineering · LLM Production · MLOps

Enterprise LLM Wrapper — API Call Is the Smallest Part

"Just call the API" is the prototype version of AI engineering. The wrapper layer — prompt management, model routing, guardrails, observability, caching, and reliability — is what makes LLM systems production-ready.

Result: The API call is the commodity. The wrapper is the product.

B
AI Engineering · Prompt Engineering · Developer Tools

If your AI coding assistant keeps missing your standards, the problem may not be the model

Persistent, layered CLAUDE.md instructions — user, project, and directory level — reduce repeated corrections and give the assistant a stable starting point.

The goal is not a 200-line rulebook. It is to remove the repeated decisions that the assistant currently has to guess.

Result: Short, concrete, maintained-like-code instruction files give the assistant a stable starting point and reduce context repetition.

B
AI Engineering · Developer Tools · Coding Agents

Open-Source AI Coding Agents: Which One Fits Your Workflow?

There is no single open-source coding agent that wins every situation — Goose for configurable controlled environments, Aider for terminal-first pair programming, OpenHands for task-oriented software agents, and Cline or Continue for IDE-centric workflows.

Open source does not automatically mean local, private, or free to operate. If an agent calls a hosted model API, your prompts and code context may still leave your environment — and inference and compute costs still apply.

Result: Choose based on your workflow, not a feature list. The best setup balances capability, control, cost, and reviewability.

A
AI Engineering · Prompt Engineering · Data Science

AI-Assisted Coding Moved the Hard Part of Data Science to Specification

For data scientists, the bottleneck is no longer "can I write this code from scratch?" — it is "can I specify exactly what must be built, validated, and avoided?" AI accelerates the implementation layer: Optuna objectives, Polars pipelines, FastAPI wrappers, first-pass SHAP. It cannot reliably decide feature validity, validation design, or temporal leakage.

Result: The typing burden drops. The thinking burden does not — AI makes implementation faster; judgment decides what ships.

B
Forecasting · Time Series · Python

Same Nixtla ecosystem, three very different forecasting jobs

StatsForecast for fast statistical baselines (ARIMA, ETS, Theta). MLforecast for feature-driven production pipelines with LightGBM, XGBoost and CatBoost. NeuralForecast for deep learning at scale with N-BEATS, N-HiTS and PatchTST.

They are not competitors — each fits a different forecasting problem. The question is never "which library is best?" but "what kind of forecasting problem am I solving?"

Result: Start with the simplest reliable benchmark. Add features when they carry signal. Add complexity only when it earns its place.

A
AI Architecture · Decision Systems · Production AI

Should this be a rule, a model, or an LLM?

One of the most useful AI architecture questions in 2026 is still very simple: should this be a rule, a model, or an LLM? Many teams start with the most powerful tool — that is often the wrong starting point.

Rules when logic is deterministic and explainable. A model when patterns must be learned and scored from data. An LLM when input is unstructured and reasoning or flexibility is required.

Result: Start with the simplest tool that fits the problem, and escalate only when it stops being enough.

B
AI · MLOps · Automation

The AI didn't replace the classifier. It replaced the training backlog.

In ML teams, the hardest part isn't building the first model — it's maintaining all the small models that follow. The same classifier gets retrained, the same pipeline rerun, the same validation checks every quarter.

What disappeared first was not machine learning itself — it was the repetitive retraining layer around it. The time goes back to work that needs human judgment: framing new problems, choosing observation units, explaining trade-offs.

Result: AI didn't replace the classifier. It replaced the backlog required to keep it alive.

A
LLM Engineering · Computer Vision

The prompt that classifies 500 images without training a model.

For a document-processing project, I needed to classify images into architectural plans vs. site photos.

The usual path takes weeks: collect 5000+ labeled images, train a CNN, tune hyperparameters, deploy, monitor drift.

I instead used a structured prompt and a Pydantic schema: is_plan: bool, description: str.

Each image was sent as base64, and the LLM returned validated, typed responses.

Result: The problem reached production in hours, not weeks.

ForecastingTime SeriesMachine LearningPredictive ModelingFeature EngineeringNLPLLM ApplicationsDocument AICustomer SegmentationTelecom AnalyticsAnomaly DetectionRecommendation SystemsGraph AnalyticsGeospatial AnalyticsStatistical AnalysisExperimentation & A/B TestingPythonRSQLDataikuShiny DashboardsStreamlit AppsData VisualizationProduction MLModel EvaluationDecision SystemsData AutomationBusiness Analytics