---
title: "Agentic Machine Learning Modeling at Instacart"
description: "Instacart MLEs run human-in-the-loop agent research loops in which agents propose hypotheses, implement them and evaluate them against fixed metrics and guardrails, using the in-house Griffin ML platform."
url: "https://swe.quest/articles/agentic-machine-learning-modeling-at-instacart-32ce5c1adc0f1a7c"
canonical: "https://tech.instacart.com/agentic-machine-learning-modeling-at-instacart-fb3ecd295ee7"
source: "Instacart Tech"
published: "2026-09-03"
difficulty: "medium"
kind: "Case study"
reading_minutes: 15
tags: ["ai-agents","machine-learning","ml-platform","llms","evals"]
---

# Agentic Machine Learning Modeling at Instacart

A post on [Instacart Tech](https://swe.quest/sources/instacart.md), published 2026-09-03, 15 min read, Case study. Original: [https://tech.instacart.com/agentic-machine-learning-modeling-at-instacart-fb3ecd295ee7](https://tech.instacart.com/agentic-machine-learning-modeling-at-instacart-fb3ecd295ee7)

## Summary

Instacart MLEs run human-in-the-loop agent research loops in which agents propose hypotheses, implement them and evaluate them against fixed metrics and guardrails, using the in-house Griffin ML platform. On a mature gradient-boosted delivery-time model, agents cut held-out MAE by 3–5%. They did it by switching to LightGBM, tuning an MLP with a lower Huber threshold, and stacking smaller gains such as recency weighting, seed averaging and leaf capacity. On LLM-based catalog attribute extraction, a 25-round loop over model choice, reasoning effort and prompt edits raised recall by 8.1 points while keeping precision above its floor. The main lessons are to widen the hypothesis space beyond hyperparameter tuning, give agents error-analysis tooling, ground hypotheses in prior literature, and have humans check progress regularly so agents don't fixate on local optima.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- gradient-boosted trees
- model evaluation metrics ([easy posts on Evaluation](https://swe.quest/tags/evals.md?difficulty=easy))
- LLM prompting ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Griffin, LightGBM, CatBoost, XGBoost, GPT-5.4-mini, o4-mini, Instacart

## Related posts

- [Sidekick's continual learning loop](https://swe.quest/articles/sidekick-s-continual-learning-loop-f72e46000910fa09.md): Shopify Engineering · 2026-08-05 · Hard · 9 min read · Model training, Evaluation, Inference & serving, LLMs, Cost optimization
  Shopify's Sidekick GraphQL agent improves daily through a continual learning loop that turns production failures into model weight updates, beating frontier-model quality while cutting estimated serving costs from about $27M to $1M per year (96%).
- [What Makes a Dialog Agent Useful?](https://swe.quest/articles/what-makes-a-dialog-agent-useful-498cf2c2b48ca092.md): Hugging Face · 2023-01-24 · Easy · 8 min read · Model training, LLMs, AI safety
  ChatGPT-style dialog agents share a common recipe on top of a pretrained LM: instruction fine-tuning (IFT) on human-written and model-bootstrapped instruction datasets, supervised fine-tuning (SFT) on human annotations for helpfulness and harmlessness, RLHF via a learned preference model, and chain-of-thought fine-tuning.
- [Agile Deliberation: How AI helps humans define the gray areas](https://swe.quest/articles/agile-deliberation-how-ai-helps-humans-define-the-gray-areas-e1d725b81debc18f.md): Google Research · 2026-11-04 · Easy · 8 min read · Computer vision, LLMs, Evaluation, Machine learning
  Agile Deliberation is a human-in-the-loop framework for building image classifiers for subjective categories like "healthy food" or pay-to-play clickbait.
- [Open Models have crossed a threshold](https://swe.quest/articles/open-models-have-crossed-a-threshold-c54376af892bf600.md): LangChain · 2026-10-13 · Medium · 7 min read · Evaluation, LLMs, AI agents, Cost optimization
  Open-weight models GLM-5 and MiniMax M2.7 now score close to closed frontier models on core agent tasks in LangChain's Deep Agents eval suite.
- [Building production-ready agentic systems: Lessons from Shopify Sidekick](https://swe.quest/articles/building-production-ready-agentic-systems-lessons-from-shopify-sidekick-338be221de1210c1.md): Shopify Engineering · 2025-08-26 · Medium · 6 min read · AI agents, Evaluation, Model training, LLMs
  Shopify's Sidekick merchant assistant outgrew a monolithic system prompt once its tool count passed ~50, so the team moved to just-in-time instructions returned alongside tool results, which kept prompt caches intact and improved maintainability and metrics.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
