Users
SME Importer
Uploads invoice or product details
Freight Forwarder
Refers clients, views progress
Customs Broker
Receives cleaner docs & reports
Upload documents
& product info
& product info
Web Application
BorderLink AI Web App
User-facing web interface where importers submit shipment data and view compliance results
Cloudflare Workers
Triggers analysis
๐ AI Agent Pipeline โ Each agent handles one job, then passes results to the next
1
Orchestrator
Extracts product info and invoice fields from uploaded documents
2
Classifier
Decides the analysis route: HS lookup, cost estimate, or full review
3
Researcher
Searches official government data sources for evidence
4
Synthesizer
Builds the compliance report with HS codes, cost breakdown, and risk signals
5
Fact Checker
Validates HS codes, checks SIMA / permits, assigns risk level
6
Vault Manager
Archives the verified report and creates an audit trail
Read / Write
Data & Storage Layer
D1 Database
Client info, shipments, analyses, audit events
R2 Storage
Documents and compliance reports
Vectorize
Legal knowledge search (RAG)
KV Store
SIMA flags, FX rates, runtime rules
Workers AI
Product intelligence inference
S3 Mirror
Canadian data residency backup
Delivers verified results
Output to Users
HS Code
Suggestions
Suggestions
Source-backed with confidence score
Landed Cost
Estimate
Estimate
Duty + GST + levies breakdown
Risk Traffic
Light
Light
Green / Yellow / Red at a glance
Shareable
Report
Report
Evidence-cited for broker handoff
Compliance
Vault
Vault
6-year audit trail & retention
Trusted Government Data Sources
โ Researcher queries these sources
CBSA Customs Tariff
HS codes, duty rates, permit indicators
Advance Rulings & D-Memos
Past classification decisions
CARM Duties & Taxes
Official duty/tax calculator API
CRA GST / HST Rules
Tax exemptions, zero-rated goods
CFIA / AIRS
Food safety, import controls
Planned
Freight Forwarder Portal
Roadmap
Track referred clients' shipment progress
View client compliance health at a glance
Monitor referral incentives & bonuses
Receive high-risk shipment alerts
Access pre-screened reports
Planned
Mobile & Messaging
Roadmap
Telegram bot: snap invoice โ risk summary
PWA mobile-first interface
Proactive risk scanning (subscription)