Skip to content

ContextCommerce

ContextCommerce provides the commerce domain for ContextUnity — a Django-based Product Information Management (PIM) platform with AI-powered enrichment, matching, and taxonomy.

Catalog & PIM

Headless product CRUD with administrative UI, variant management, and editorial workflows.

Harvester Pipelines

Supplier data ingestion via pluggable fetchers and format transformers.

AI Enrichment

Product descriptions, taxonomy classification, and semantic matching orchestrated via ContextRouter.

MCP Server

FastMCP tools for AI-driven product search, matching, enrichment, and supplier operations.

Architecture Overview

commerce

ContextCommerce operates as a domain-specific extension that connects to the core ContextUnity service mesh. It delegates heavy AI processing to ContextRouter, stores taxonomy and product vectors in ContextBrain, and utilizes ContextWorker for durable background execution.

Manifest-Driven Integration

Commerce uses a multi-graph manifest in contextunity.project.yaml to declare 5 AI pipelines:

GraphTemplatePurpose
gardeneryaml:gardenerTaxonomy classification + field extraction
enricheryaml:enricherAI-driven product enrichment (NER, descriptions)
writeryaml:enricherProduct description generation (reuses enricher template)
rlm_bulk_matcheryaml:rlm_bulk_matcherRLM-based bulk product matching
ragyaml:retrieval_augmentedUniversal RAG for product Q&A

Each graph declares its own federated tools — domain handlers that run inside the Commerce extension and are called back by Router via BiDi gRPC. Commerce has zero dependency on contextunity-router — all AI logic is delegated through the manifest.

See Graph Compiler & Templates for template details.