DEV Community

Cover image for BlacktraceFreight: Deleting the 20% Freight Broker Tax in 60 Seconds with OCR & Deterministic Geofence Locking
Blacktrace
Blacktrace

Posted on AI-assisted

BlacktraceFreight: Deleting the 20% Freight Broker Tax in 60 Seconds with OCR & Deterministic Geofence Locking

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady

What I Built

BlacktraceFreight: Deleting the $200 Freight Broker Tax in 60 Seconds.

In the $1T+ freight industry, legacy inefficiency costs mid-sized shippers ("Warehouse Mike" in Melbourne and Texas) a 20% broker markup on every single load. Because Mike is too busy to call 5 brokerages, check insurance certificates, and calculate deadhead mileage, he lazily BCCs 5 freight brokers. 4 of those brokers work for $0, and the 1 winning broker rips a $200–$300 margin just to post the load on a board. Downstream, truck drivers lose $75–$135/hr in detention pay because filling out 8-screen claim forms after sitting at a loading dock for 4 hours is soul-crushing.

BlacktraceFreight automates the entire loop in 60 seconds:

  1. Upstream (Shipper Console): Mike pastes a messy RFQ email (quote@blacktracefreight.com). Open-source AI extracts the lane, calculates True All-In Profit (net of deadhead fuel and route tolls), verifies carrier compliance in 200ms (US FMCSA MC# or Australian ABN/NHVR), and broadcasts a 60-second reverse ping to vetted trucks within a 30-mi / 50-km radius.
  2. Midstream (Atomic Lock): Drivers receive a Telegram/SMS alert and 1-Tap Lock the load ($1,000), triggering our Web Audio Boiler Room Brass Gong ("🔊 $200 Broker Tax Deleted!").
  3. Downstream (Zero-Tap POD OCR): Instead of chasing brokers for 21 days, the driver snaps the signed Commercial Invoice (#UF2019-15868). Vision OCR extracts IN 13:55 / OUT 1704, computes 69 minutes of billable detention (+$86.25), and triggers instant settlement via our simulated Outgo / EarlyPay Virtual Visa Card ($1,086.25 total payout) with $0.00 balance-sheet float risk backed by an upper credit warehouse line.

Demo

  • Live Enterprise Command Center: Includes the 3-Column 60-Second Deal Locker, Enterprise SAP/Oracle "Spot Fallout" MV3 Extension Sandbox (with 4 chaos-testing toggles), "100 Warehouse Mikes" Lead Engine (Melbourne & Texas golden zones with CSV export), Real-Time GPS Route & Traffic Grounding, and AI Media Studio (Lyria audio + Omni Flash video).

How I Built It

  • Deterministic State Machines & 50ms Atomic Locking: Built around a rigorous 7-stage lifecycle state engine (RAW_RFQ → PARSED_VERIFIED → RADAR_BROADCAST_60S → LOCKED_IN_TRANSIT → POD_OCR_VERIFIED → FACTORED_INSTANT_PAID → RATED_CLOSED) featuring optimistic concurrency control to prevent double-booking.
  • Open-Weight AI & Grounding: Powered by server-side Gemini structured schema extraction for RFQ parsing and Vision OCR (IN 1355 / OUT 1704), paired with real-time googleMaps and googleSearch grounding tools for live route tolls and FMCSA/ABN compliance checks.
  • Off-Balance-Sheet Fintech Architecture: Modeled after Upper90 and Outgo factoring credit-warehouse lines, enabling instant <15 min carrier card payouts while capturing a $55.43 Net Platform Take-Rate per load (4.76% GMV flat fee + 0.50% factoring kickback).

Why Does Open Innovation Matter?

Freight logistics is locked behind expensive, walled-garden enterprise software (DAT, SAP, BluJay) that charges $250–$1,500/month per seat and locks small 10-to-50 truck fleets out of automation. Open-weight extraction models and browser extension relays allow independent carriers and shippers in North America and Australia to run their own private dispatch and OCR agents without handing their lane data or OAuth tokens over to third-party brokerages.

The Lazy Payoff

  • For the Shipper ("Warehouse Mike"): Turns a 45-minute, 5-broker email back-and-forth into a 5-second paste and a 60-second automated lock, saving $100+ per load.
  • For the Truck Driver: Collapses an 8-step manual detention claim workflow into 1 photo snap, recovering $86–$155 in unpaid dock waiting time instantly.

Prize Categories

  • Open-Source AI / Lazy Automation
  • Fintech & Payments API Integration

https://lock-n-load.ai.studio

Top comments (0)