Latest in AI & ML

LLM production, prompt engineering, and practical AI / ML trends. Covering GPT-4, model routing, observability, and production guardrails.

Trends, techniques, and thoughts on the evolving ML landscape, shared on LinkedIn.

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.

Machine Learning Feature Engineering MLForecast Time Series Decomposition Forecasting LightGBM XGBoost Catboost Clustering Segmentation NLP LLMs Web App R Markdown SQL Oracle DB SAS-Guide SAS E-Miner Dataiku BigQuery GCP Python R CRISP-DM Hypothesis Testing ANOVA Data Analytics Dimensionality Reduction Recommendation System Network Analysis Geospace Analysis Spatial Data Embedding Sampling Techniques Decision Rules Data Storytelling CVM Churn Fraud Detection Sentiment Analysis Topic Modeling IBM Watson PowerBI Looker Studio VBA Statistical Learning Ensemble Modeling Stacking Cross-Validation Profiling ABT Construction Plumber Tidyverse Shiny Prophet Deep Learning Scikit-Learn JSON SAS Programming Git VS Code CSS Styling Automated Reporting Outlier Detection Temporal Clustering Startup Survival Pre-Valuation Modeling K-Means Decision Trees Data Science Predictive Modeling SVM LDA Text Classification Weight Prediction Pattern Recognition Real-Time Detection Community Detection Pipeline Automation Data Quality Checks Data Reliability Specification Mapping Business Strategy Marketing Campaigns Try & Buy Frameworks KPI Dashboards Network Quality Sales Analytics Mentoring Statistics Lecturer Remote Work Hybrid Work Consulting Contract Full-Time Freelance Sofrecom Orange Group Tunisia Telecom Kiota Intelligence VC Analytics Series A Prediction Pre-Valuation Modeling Production ML Applied AI Prompt Engineering Business Forecasting Decision Systems Graph Analytics Household Detection Multi-SIM Detection FTTH Forecasting Audit Extraction Infrastructure Classification Pydantic GPT-4 OpenAI API Base64 Classification Zindi Codementor LAAS-CNRS ESSAI MIT xPRO Tunisia ML Competition Cell Tower Analysis Uber Logistics Uber Cape Town Necessary Condition Analysis Behavioral Signals Spike Smoothing Observation Unit Design Dendrogram Ward Clustering VIF Target Encoding Machine Learning Feature Engineering MLForecast Time Series Decomposition Forecasting LightGBM XGBoost Catboost Clustering Segmentation NLP LLMs Web App R Markdown SQL Oracle DB SAS-Guide SAS E-Miner Dataiku BigQuery GCP Python R CRISP-DM Hypothesis Testing ANOVA Data Analytics Dimensionality Reduction Recommendation System Network Analysis Geospace Analysis Spatial Data Embedding Sampling Techniques Decision Rules Data Storytelling CVM Churn Fraud Detection Sentiment Analysis Topic Modeling IBM Watson PowerBI Looker Studio VBA Statistical Learning Ensemble Modeling Stacking Cross-Validation Profiling ABT Construction Plumber Tidyverse Shiny Prophet Deep Learning Scikit-Learn JSON SAS Programming Git VS Code CSS Styling Automated Reporting Outlier Detection Temporal Clustering Startup Survival Pre-Valuation Modeling K-Means Decision Trees Data Science Predictive Modeling SVM LDA Text Classification Weight Prediction Pattern Recognition Real-Time Detection Community Detection Pipeline Automation Data Quality Checks Data Reliability Specification Mapping Business Strategy Marketing Campaigns Try & Buy Frameworks KPI Dashboards Network Quality Sales Analytics Mentoring Statistics Lecturer Remote Work Hybrid Work Consulting Contract Full-Time Freelance Sofrecom Orange Group Tunisia Telecom Kiota Intelligence VC Analytics Series A Prediction Pre-Valuation Modeling Production ML Applied AI Prompt Engineering Business Forecasting Decision Systems Graph Analytics Household Detection Multi-SIM Detection FTTH Forecasting Audit Extraction Infrastructure Classification Pydantic GPT-4 OpenAI API Base64 Classification Zindi Codementor LAAS-CNRS ESSAI MIT xPRO Tunisia ML Competition Cell Tower Analysis Uber Logistics Uber Cape Town Necessary Condition Analysis Behavioral Signals Spike Smoothing Observation Unit Design Dendrogram Ward Clustering VIF Target Encoding