How atulgaikwad20/multi_agents_product-_tracking_system works
RESQUORA is a web app for researching shopping requests with coordinated AI agents. The main workflow runs from a signed-in user’s typed or spoken request through request understanding, shop selection, parallel research, verification, and a sourced report. The graph also includes authentication, live progress, saved search history, optional location and language support, and the browser interface. Edges follow the shown imports and calls or explicit README descriptions; some browser-to-API and external-service links are dashed where the excerpts do not show their wiring.
Main entry points: supervisor.py Supervisor · agents.py Shop research agents · routes.py Playground API · app.js Command Center
Components 25
Web experience
- Command Center
app/static/js/pg/app.js - Browser API
app/static/js/pg/api.js - Voice controls
app/static/js/pg/voice.js - Report and progress UI
app/static/js/pg/render.js - Playground API
app/playground/routes.py
Research orchestration
- Supervisor
app/playground/supervisor.py - Request understanding
app/playground/understanding.py - Shop capabilities
app/playground/capabilities.py - Shop research agents
app/playground/agents.py - Run events
app/playground/events.py - Optional location
app/playground/location.py
Evidence pipeline
- Shopping and web search
app/playground/search.py - Safe page fetcher
app/playground/net.py - Product extraction
app/playground/extract.py - Result verification
app/playground/verification.py - Product matching
app/services/matching.py - Reports and exports
app/playground/reports.py - Evidence data models
app/playground/models.py
Identity and history
- Account routes
app/routes/auth_routes.py - MySQL database
app/database.py - Search history store
app/playground/store.py
External services
- Language model
app/playground/llm.py - Licensed search service
- Retailer websites
Other components
- Shopper
Connections 31
- Shopper → Command Center: submits request
README.md - Command Center → Voice controls: uses controls
app/static/js/pg/app.js - Command Center → Browser API: calls
app/static/js/pg/app.js - Command Center → Report and progress UI: renders
app/static/js/pg/app.js - Browser API → Playground API: sends API requests
- Playground API → Supervisor: starts and manages runs
app/playground/routes.py - Playground API → Optional location: handles location
app/playground/routes.py - Playground API → Reports and exports: serves report actions
app/playground/routes.py - Playground API → Search history store: reads run history
app/playground/routes.py - Account routes → MySQL database: queries accounts
app/routes/auth_routes.py - Supervisor → Request understanding: interprets request
app/playground/supervisor.py - Supervisor → Shop capabilities: selects shops
app/playground/supervisor.py - Supervisor → Shop research agents: dispatches research
app/playground/supervisor.py - Supervisor → Result verification: verifies findings
app/playground/supervisor.py - Supervisor → Run events: emits progress
app/playground/supervisor.py - Supervisor → Search history store: saves run history
app/playground/supervisor.py - Supervisor → Language model: uses language support
app/playground/supervisor.py - Shop research agents → Shopping and web search: searches listings
app/playground/agents.py - Shop research agents → Safe page fetcher: opens product pages
app/playground/agents.py - Shop research agents → Product extraction: reads page data
app/playground/agents.py - Shop research agents → Shop capabilities: checks shop profiles
app/playground/agents.py - Shop research agents → Evidence data models: builds offers
app/playground/agents.py - Shopping and web search → Licensed search service: queries provider
- Safe page fetcher → Retailer websites: fetches pages
- Result verification → Safe page fetcher: rechecks listings
app/playground/verification.py - Result verification → Product extraction: extracts page facts
app/playground/verification.py - Result verification → Product matching: matches products
app/playground/verification.py - Result verification → Evidence data models: updates evidence
app/playground/verification.py - Supervisor → Product matching: consolidates offers
app/playground/supervisor.py - Reports and exports → Evidence data models: formats report facts
app/playground/reports.py - Command Center → Playground API: requests live updates