Inspiration

Small importers lose money to problems they were actually warned about.

A single ocean shipment touches about seven parties: the factory, freight forwarder, ocean carrier, port terminal, customs broker, trucker, and warehouse. Each one sends updates in its own format, and each uses a different ID for the same goods: a PO number, a booking number, a container number, a bill of lading number. For a small company, the only "system" connecting them is one overloaded operations person, an inbox, and a spreadsheet.

We kept coming back to one scenario: a forwarder emails "CNTR rolled to next vessel, revised ETD Nov 9." The email gets buried. The spreadsheet still shows the old date. Marketing launches a Black Friday campaign for a product that is now nine days late, the product sells out, orders get refunded, and the container sits at port collecting fees because nobody booked a truck.

Every piece of information needed to prevent this existed, on time. It just lived in the blind spots between inboxes. That's where the name came from.

What it does

Blindspot turns the emails a company already receives into a live view of every inbound shipment, and tells the team when a change will hurt the business.

  1. Purchase order intake: a founder types or speaks a PO into a chat. Claude extracts the details, the user confirms, and a shipment is created with its own live tracking page.
  2. Intake agent: reads the company inbox (spam folder included) and PDF attachments, and extracts facts like new arrival dates, vessel changes and customs holds.
  3. ID linking: matches each email to the right shipment by container, booking and PO numbers, even when they're formatted differently.
  4. Human review: every update arrives as a live notification with a summary, a read-aloud button and a link to its source email. Nothing changes until someone accepts it.
  5. Impact engine: works out what a delay means: when stock runs out, how many units short, and whether a promotion is at risk.
  6. Communications agent: drafts messages for the teams that need to act ("pause the Black Friday promotion for this product") and posts them to in-app team channels after approval.
  7. Task memory: tracks what each shipment is still waiting on and sends routine reminders automatically, such as asking a trucker to confirm a pickup. Anything involving money, dates or terms always goes to a human.
  8. Assistant: answers questions like "Which shipments are at risk and why?" from live data, with sources, by text or voice.

How we built it

  • Frontend: Next.js, hosted on Vercel, with Clerk for login
  • Backend: Python and FastAPI, hosted on Railway
  • Agent orchestration: LangGraph. The main graph runs intake → linking → review → tracking → impact → communications, and pauses at each human-approval step using LangGraph interrupts, with state saved in Postgres so paused runs survive restarts. A second graph, triggered by APScheduler, handles overdue tasks and reminders. A third powers the assistant.
  • LLM: Claude, for extracting facts, parsing POs, drafting messages and explaining impact
  • Data: PostgreSQL with SQLModel and Pydantic. Updates are stored as proposals separately from accepted facts, so every event on a shipment's timeline links back to the email it came from.
  • Documents: pdfplumber for PDF text, with Claude as a fallback for scanned files
  • ID matching: exact SQL matching first, then RapidFuzz for messy references like "PO 1042" vs "PO-1042"
  • Search: hybrid retrieval over emails, combining Voyage AI embeddings in pgvector with Postgres full-text search, merged with Reciprocal Rank Fusion
  • Voice: ElevenLabs for speech-to-text and read-aloud
  • Real-time: Server-Sent Events for live notifications
  • Email: Resend for automatic reminders

Our main design rule: the LLM reads and writes; code decides. Claude extracts facts and drafts language, but plain code links IDs, does every calculation, applies the auto-send rules and updates the database.

The impact engine's core calculation is deliberately simple and deterministic:

$$ \text{stockout date} = \text{today} + \frac{\text{stock on hand}}{\text{daily sales rate}} $$

$$ \text{units short} = \max\big(0,\ \text{available date} - \text{stockout date}\big) \times \text{daily sales rate} $$

where the available date is the new arrival date plus customs and delivery buffers, and the sales rate rises during a scheduled promotion.

Challenges we ran into

  • Deciding what the AI should not do. Early on, we wanted a fully hands-off agent. We realized no founder would trust an agent that commits money or changes delivery dates on its own, so we split actions into routine ones (sent automatically, user notified) and consequential ones (always approved by a person).
  • Linking the same shipment across different IDs. Each party refers to the shipment differently. LLMs are good at pulling IDs out of messy text but not reliable at matching, so we kept matching in deterministic code.
  • Keeping the numbers trustworthy. Letting the model do arithmetic produced confident wrong answers, so all calculations moved into code and Claude only explains the results.
  • Pausing and resuming agents. A notification might wait hours for a decision. LangGraph's interrupts and Postgres checkpointing let a run pause safely and resume exactly where it stopped.
  • Making the mock data realistic. Our demo depends on emails that look like real freight communication: shorthand, forwarded threads, reference numbers buried mid-sentence. Writing them taught us a lot about how logistics actually works.

What we learned

  • Supply chain failures are often information problems, not logistics problems: the warning existed, but nobody connected it to its consequence.
  • A good agent design is mostly about boundaries: what it reads, what it decides, and what it must hand to a human.
  • Structured data wants structured retrieval. For shipments and stock levels, SQL tools are exact. Semantic search earns its place on unstructured text like emails.
  • Small details create trust: a source link on every update and a confidence badge on uncertain matches made the system feel far more believable.

What's next for Blindspot

  • Connect real inboxes through Gmail and Outlook
  • Integrate Shopify for live inventory and sales data
  • Deliver team messages to Slack and Microsoft Teams
  • Add carrier tracking APIs alongside email
  • Track demurrage and detention costs as they accumulate
  • Expand from inbound shipments to supplier management and reordering

Built With

  • alembic
  • anthropic
  • apscheduler
  • claude
  • clerk
  • elevenlabs
  • fastapi
  • langgraph
  • next.js
  • pdfplumber
  • pgvector
  • playwright
  • postgresql
  • pydantic
  • python
  • railway
  • rapidfuzz
  • resend
  • server-sent-events
  • sqlmodel
  • tailwind-css
  • typescript
  • vercel
  • voyage-ai
Share this project:

Updates

Submission history