← All projects

Academic project

Shopping Agent

A bilingual shopping assistant that turns everyday requests into structured product searches, checks budgets and ranks recommendations.

My role
Project Lead & AI Full-Stack Developer
Period
2026
Project type
Academic project · Sole developer
Status
Functional core completed
Next.jsTypeScriptn8nGroqChannel3Redis
Project preview ↗

Public search access is currently restricted.

Shopping Agent
Shopping Agent web interface

The problem

Searching for products often means checking specifications, prices and offers manually. I built Shopping Agent to let users describe their requirements in Arabic or English and receive recommendations grounded in catalog data.

My contribution

I led and independently implemented the project, including the Next.js application, n8n workflows, LLM integration, retrieval, budget validation, ranking, session management and request protection.

Core engineering components

01

Universal intent intelligence

Extracts categories, brands, specifications and budgets from bilingual requests.

02

Search planning

Builds search plans from structured requirements.

03

Product and price integrity

Checks available prices, currencies and product requirements.

04

Adaptive retrieval and ranking

Retrieves and ranks catalog results by relevance to the request.

05

Conversational memory

Preserves search context for follow-up requests.

06

Security and fallback

Validates inputs, limits requests and handles incomplete data and unsuccessful searches.

How the agent works

Illustrative example · no live AI or search

أريد جوال سامسونج بذاكرة 256GB ورام 8GB بأقل من 2000 ريال.

Category
Smartphone
Brand
Samsung
Budget
2,000 SAR
Requirements
256 GB · 8 GB RAM
Structured search plan

Smartphone · Samsung · 256 GB · 8 GB RAM

Apply catalog filters, validate available prices and requirements, then rank eligible products. No live products are retrieved in this example.

  1. 01Search planning
  2. 02Product retrieval
  3. 03Price and requirement validation
  4. 04Adaptive ranking

System architecture

The web API passes validated requests to n8n, where intent extraction, search planning, retrieval, integrity checks and ranking produce a response. Session context supports follow-ups.

System architecture diagram

View full-size image ↗

Engineering decisions

  • Combine deterministic extraction with structured LLM output to preserve explicit requirements while interpreting natural language.
  • Validate catalog data and budget before ranking.
  • Limit request rates and demonstration access; handle errors without inventing product data.

Technology stack

Web

Next.jsReactTypeScript

AI & workflows

Groqn8nREST APIsWebhooks

Data & memory

Channel3Upstash Redisn8n Data Tables

Deployment

VercelHugging Face SpacesGitHub

Current status and roadmap

Implemented capabilities

  • Structured intent and requirement extraction
  • Budget and currency validation
  • Adaptive retrieval, ranking and product integrity checks
  • Conversational follow-ups and controlled demonstration access

Public search is restricted. Expansion of authorized Saudi catalog sources, ranking improvements and broader access remain ongoing. The diagram includes intended sources, not all fully integrated.

Project preview ↗