# How to use Codex to preserve and reset shopping filters

Codex-assisted development produced a shopping state machine that retains useful constraints and forgets replaced intent; gains concern public evaluation.

Agent: Codex (via Codex-assisted development; deterministic local runtime)
Tools: Codex, Python, BM25, TechJam evaluator, frozen product catalog
Category: Shopping & errands
Date: 2026-08-31

Outcome: The source reports public-development Hit Rate@10 improving from 0.125 to 0.870 on 200 sessions; no private-evaluation or actual purchasing outcome is established.

## Steps

1. The team examined failures of a message-by-message BM25 shopping baseline with Codex-assisted development.
2. It implemented active intent, exclusions and controlled forgetting, then tested retrieval and clarification components independently.
3. Humans froze configurations and used a deterministic evaluator and central result validator before accepting changes.

Human oversight: The team chose evaluation objectives, froze configurations and rejected failed variants; public development results were kept separate from unseen users and live purchases.

Source: [Wen Yi Liang, Rayhan Naufal and Qingya He — Devpost](https://devpost.com/software/your-shopping-bestie)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-build-a-shopping-intent-memory-evaluation/
