Skip to content

feat(agent): add ecommerce-agent for store catalog extraction with Firecrawl - #19

Merged
anayatkhan1 merged 9 commits into
mainfrom
eccomerce-agent
Aug 2, 2026
Merged

feat(agent): add ecommerce-agent for store catalog extraction with Firecrawl#19
anayatkhan1 merged 9 commits into
mainfrom
eccomerce-agent

Conversation

@anayatkhan1

Copy link
Copy Markdown
Owner

Summary

  • Adds installable ecommerce-agent to extract product, pricing, and inventory data from public e-commerce sites via Firecrawl (map_store, discover_products, infer_product_schema, extract_products, save_catalog).
  • Ships registry JSON (npx agentcn add ecommerce-agent), docs page with simulated demos, unit/gated live tests, and local E2E wiring in examples/agent-ui-template (chat switcher + /embed/ecommerce-agent).
  • Includes marketplace fix: discover_products scrapes listing/search pages for product links (e.g. Amazon /dp/) because sitemap-style map_store often returns almost no URLs on those sites.

Test plan

  • pnpm test:ecommerce-agent (unit suites pass; live Firecrawl suites skip without FIRECRAWL_API_KEY)
  • pnpm agentcn:registry:build and confirm apps/web/public/r/ecommerce-agent.json + index.json list the agent
  • pnpm exec nx run @kit/web:typecheck (and optionally pnpm deploy:build)
  • Docs: open ecommerce-agent page and replay catalog / price-snapshot demos
  • E2E: in examples/agent-ui-template, set ANTHROPIC_API_KEY + FIRECRAWL_API_KEY, pnpm dev, select E-commerce Agent, run discover → extract → save; check data/ecommerce-agent.local/
  • After merge, deploy web app so npx agentcn@latest add ecommerce-agent resolves on production

anayatkhan1 and others added 9 commits July 28, 2026 16:48
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
map_store relies on Firecrawl sitemap discovery, which returns almost nothing
on Amazon category/search pages. Add discover_products (scrape + links) and
improve Amazon /dp/ classification so marketplace listings work end-to-end.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kit-web Ready Ready Preview Aug 2, 2026 11:21am

@anayatkhan1
anayatkhan1 merged commit 217c67b into main Aug 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant