← All case studies
Pellemoda S.r.l.
Pellemoda S.r.l.·Fashion & Manufacturing·AI Agent Development · LangChain · LangSmith·3 min read

An autonomous inventory agent for Pellemoda, demand forecasting and supplier coordination on autopilot

5,000+ SKUs

monitored and forecast daily by an autonomous agent

Results at a glance

The problem

Inventory in fashion is unforgiving: order too much and cash is trapped in unsold stock; order too little and you miss the season. Pellemoda was managing this the way most SMBs do, spreadsheets, manual reorder points, and experienced staff making judgment calls under time pressure. The knowledge lived in people's heads, the data lived in disconnected places, and a human review could only ever cover a slice of the catalog at a time.

They didn't need a dashboard to look at the problem. They needed something that would act on it.

How it works

The system is a LangChain multi-step, tool-use agent, not a single prompt, but an agent that reasons over the current state, decides what to check next, and acts through real tools. Each daily run:

  1. Ingests current stock levels and sales history from the company's systems
  2. Forecasts demand per SKU, historical patterns and seasonality, projected forward, at roughly 1,500 input / 400 output tokens per product (~$0.0005 each on GPT-4o-mini)
  3. Classifies stock health, flags items drifting toward stockout or overstock, with the why attached, not just the number
  4. Drafts supplier actions, when a reorder is warranted, the agent prepares the supplier-facing order with its reasoning
  5. Waits for a human, consequential actions sit in an approval queue; the team reviews the draft and its rationale, then approves in one click

Product data is embedded in Supabase pgvector (~5K records, no dedicated vector database needed at this scale), and every run is traced in LangSmith, so any decision can be audited after the fact: what the agent saw, what it reasoned, what it proposed, who approved it.

Because it's a tool-use agent rather than a hard-coded script, it handles the messy, multi-step judgment calls a rules engine can't, and because the human stays in the loop on orders, the team trusts what ships.

The results

Want the same?

If you have a repetitive, judgment-heavy process that a person does today, forecasting, monitoring, chasing, reconciling, there's a good chance an agent can own it, with your team keeping approval over what matters. Book a 30-minute call and let's find out.

“Abhishek delivered a seamless automation solution. Great communication throughout and the result exceeded our expectations.”
, Virginia Caponi, Marketing, Pellemoda S.r.l.

Next case study →

H-Farm College: an AI-assisted admissions pipeline for 2,000+ applications a year

2,000+ / year

Have a similar problem?

I build production AI agents and the SaaS they run on. Book a free 30-minute call and tell me what you're building.

ACBuilt by Abhishek Chauhan