Consulting

Focused help with data and AI for operations.

I help logistics and operations teams make their data reliable, prove that an AI workflow works before it scales, and model the decisions they make every day. Engagements are small, scoped, and agreed before work starts. You work with me directly from scoping to handoff, and I do the work myself, so nothing gets lost between people.

01 · Data foundations

Make the data reliable

For fragmented carrier feeds, conflicting shipment reports, or metrics nobody agrees on.

  • Assess ingestion, reconciliation, and data quality
  • Define entities, metrics, and a semantic layer
  • Build focused warehouse models and integrations

Typical deliverables: A prioritized assessment, analytical models, and quality checks.
Related case study →

02 · AI evaluation

Prove the workflow works

For document automation, predictions, or AI agents that need evidence before they scale.

  • Define ground truth, baselines, and acceptance criteria
  • Build replay or LLM-as-judge evaluation
  • Analyze failure cases and set release gates

Typical deliverables: An evaluation harness, error analysis, and a rollout recommendation.
Related case study →

03 · Decision modeling

Model the operational decision

For routing, allocation, or prioritization choices made by hand today.

  • Encode real constraints and objectives
  • Simulate against your current baseline
  • Prototype a tool planners can use

Typical deliverables: A scenario model, a baseline comparison, and an implementation plan.
Related case study →

A good first engagement

AI workflow evaluation assessment.

For a team with an existing document, prediction, or agent workflow that needs evidence before expanding automation. It is the same discipline behind the evaluation standards I built for production scheduling agents and document AI.

Ask about an assessment

You bring one workflow

A defined decision, representative examples you are authorized to share, current outputs, and a reviewer who can explain what “correct” means.

You get a clear decision

An agreed evaluation plan, a baseline assessment, prioritized error analysis, and a recommendation: scale it, fix it, or stop.

We agree the boundaries

Scope, timing, and fee are set before work starts. Production integration and ongoing support are separate scopes.

Worked example · Illustrative

A support inbox, from email to resolved ticket.

An illustrative build, not a client engagement. It shows how I scope and test an AI workflow for a freight forwarder whose customers email a shared support inbox about their shipments.

Each email has to become a ticket, joined to the right conversation, linked to the right shipment, and placed in the right team’s queue with a priority. Where the shipment data already holds the answer, an agent replies without a person, but only when it is safe to.

The build runs end to end on a synthetic inbox written to include the cases that break naive systems: spoofed senders, another customer’s shipment numbers, instructions hidden inside an email, forwarded chains, replies whose headers were lost, emails that make two requests at once, long threads where the latest message only says “any update?”, and attached documents that belong to a different shipment. It runs with small offline models or a hosted LLM, and every model response is recorded so the evaluation can be replayed without a network.

  1. ExtractIdentifiers from patterns and validators, never from a model
  2. ThreadReply headers first; a guess only suggests a merge
  3. LinkOnly the sender’s own shipments: auto, suggest, or none
  4. UnderstandEvery request in the email, classified cheaply and escalated on evidence
  5. Check documentsAttachments read into typed fields and checked against the linked shipment
  6. Route and resolveTeam and priority with readable reasons; a gated reply or a prepared ticket

Precision before automation

A wrong merge, a wrong shipment, or a wrong reply costs far more than a missed one, so every uncertain decision has a “suggest to a person” band.

The agent can only say what the data says

Replies are filled from read-only tools scoped to the person asking, and a checker verifies every identifier, date, and place before anything is sent.

Gates are tested before they are trusted

Each release gate is checked against planted failures, such as linking across customers or copying recipients from the email body. A gate that misses its failure fails the build.

Context is paid for only when a decision needs it

A reply is read with its thread. A long thread’s older messages are summarized only when the cheap classifier is unsure, and the summary is kept and extended, not rebuilt. A reply that lost its headers is read with the likely ticket, marked unconfirmed, and the agent may draft for it but not send.

Documents are checked, not trusted

Invoices, packing lists, bills of lading and other attachments are read into typed fields, and instructions written inside a document are ignored. Their numbers are checked against the sender’s own shipments: a document for another shipment flags the ticket for a person, and a match on an unlinked email only suggests the link.

One email, every decision recorded
Email
“Can you give me a status update on container TGHU1027282? We need an updated ETA for planning.”
Sender
Verified: authenticated mail from a known contact on the account
Thread
New ticket: no reply headers or ticket token
Link
Auto-linked to the container’s active voyage; its earlier, delivered voyage is only suggested
Intent
Status request, settled without escalation
Route
Customer service, priority with its reason codes
Agent
Allowed to send for this customer and intent; every answer gate passed
The reply, filled only from tool results
Hello Diego,

Here is the latest on BL LKSP26781393: it is in transit.
The last update was "In transit" at sea on 2026-03-16.
The current ETA is 2026-03-23.

Best regards,
Larkspur Forwarding Support

Synthetic data: the customer, forwarder, and shipment are invented.

Ask for a walkthrough The code and the full evaluation are private; I’m happy to walk through them on a call.

Working together

Small scope. Usable result.

01

Understand the constraint

We discuss the decision, current workflow, available data, and what success means.

02

Make it testable

We agree on a baseline and review the evidence together, surfacing data gaps early.

03

Leave it usable

Deliverables come with documentation, known limits, and next steps your team can act on.