Skip to content

🏷️ Snapr

Multi-agent AI system built to find the best deals β€” so you never overpay.
Smart. Simple. Automatic.


✨ Overview

Snapr is an agentic AI system designed to scan, evaluate, and find the best online deals in real time. It uses several AI models and agents to forecast product prices, spot big discounts, and remove irrelevant deals β€” so users only see what’s truly worth buying.


πŸš€ How It Works

Click to expand the flow

1️⃣ Users select up to 3 categories from a predefined list in a sleek Gradio interface.

2️⃣ A DealScanner agent fetches products and uses OpenAI to select the 5 best deals, ensuring clarity in description and pricing.

3️⃣ Descriptions are passed to three independent agent models, each operating separately:

  • A fine-tuned LLaMA LLM
  • XGBoost with E5 embeddings
  • A RAG pipeline using E5 embeddings with ChromaDB and a frontier LLM model

The three agent predictions are combined by an ensemble agent using a linear regression model to produce the final estimated price.

4️⃣ If the actual price is at least $50 lower than the final estimated value, the deal is accepted.

5️⃣ Accepted deals appear in a table with name, prices, discount, and link.


🌟 Core Features

  • Central agent orchestrates all specialized agents and workflow
  • Real-time fetching of deals from RSS feeds
  • Advanced price prediction via LLMs (OpenAI, Fine-tuned LLaMA), XGBoost, RAG, and linear regression agents
  • Automated deal filtering using a configurable discount threshold
  • Transparent logging of all agent actions and decisions
  • Structured output with summary data: price, value, discount, and link
  • Memory system with shared storage to skip already-seen deals
  • Remote execution with scalable, compute-heavy models on Modal
  • User-facing live logs with real-time agent activity updates

πŸ”§ Development & DevOps

  • .env files for secure management of API keys and secrets
  • Unit testing implemented with pytest
  • PEP8 compliance enforced via Ruff
  • Makefile with all essential project commands
  • Pre-commit hooks for code quality, security, and dependency consistency
  • Environment distinction between production and development
  • Docker support for local development and deployment
  • CI/CD automation with GitHub Actions for unit testing, code quality, security checks, and production deployment
  • Documentation built with MkDocs Material

πŸ–₯️ Demo

πŸ‘‰ Try it on Hugging Face Spaces
(Limit: 5 searches per user in demo mode)


πŸ› οΈ Tech Stack

  • Languages & Frameworks: Python, Gradio
  • Machine Learning & AI: OpenAI (GPT), Fine Tuned LLaMA, RAG with E5 embeddings and ChromaDB, XGBoost
  • Development Tools: uv (Python package manager)
  • Deployment & Infrastructure: Docker, Modal, AWS S3, DockerHub
  • Documentation & Testing: MkDocs with mkdocs-material, Pytest, Pre-commit hooks
  • DevOps & CI/CD: GitHub Actions