Applied AI engineer · Staff Data Scientist

AI and data systems that hold up in real operations.

I’m Tong Liu. I take AI from prototype to production: agents that act on real decisions, the evaluation that proves they work, and the governed data they depend on. My recent work is in freight logistics, and the same problems show up anywhere AI acts on real money and real time.

Ph.D. in human-in-the-loop MLNew YorkNo visa sponsorship required
Where my recent work runsIllustrative
U.S.MexicoCanadaHover a city

What I bring to a team

Selected work

Six questions worth getting right.

Each project started with a question that mattered more than the model. The setting is freight, but the questions are not: when to trust an agent, how to measure quality before you have labels, and what makes people act on a plan. Each case shows the before and after, the tradeoffs, and what transfers.

AI agents · Prediction

Appointment scheduling prediction agent

A predictor for delivery appointments that AI scheduling agents rely on, improved by a coding agent that runs its own experiments against a fixed replay harness.

Replay evaluationCoding agentsGo-live gatesLLM-as-judge

The questionHow do you know a model change is actually better, and when is it ready to act on its own?

AI agents · Data platforms

Governed AI access to warehouse data

From a hackathon text-to-SQL prototype to an MCP server that gives every agent the same business definitions through a semantic layer, with least-privilege access.

MCPRAGText-to-SQLSemantic layerSnowflake

The questionHow do many AI agents give one consistent answer, with only the access they should have?

Document AI

Proof-of-delivery auto-validation

AI validation for the delivery paperwork that invoicing waits on, with evaluation that starts label-free and continues through randomized audits.

Vision-language modelsAuditsClustering

The questionHow do you measure document AI quality before you have labels, and keep measuring after launch?

Optimization

Route optimization for a strategic 4PL customer

A route optimization engine that turns a customer’s order backlog into shipment plans their planners can run, iterated with the customer until it was adopted.

Constrained optimizationSimulation

The questionWhat makes an optimizer’s plan something people actually execute?

Data · Decision support

Carrier & market intelligence

A pipeline that reconciles carrier telemetry and freight-market signals, then turns them into ranked recommendations for the operations team.

SnowflakedbtRanking

The questionWhat has to be true about the data before a carrier ranking means anything?

Data platforms · Leadership

AI-native BI platform & engineering standards

An AI-native BI platform built in house, an agentic workflow that keeps dbt models in sync with the application, and the engineering standards around both.

dbtCI/CDAgentic workflows

The questionHow does a small data team ship fast without losing trust in the numbers?

All case studies →

Open source · Built in the open

Governed agent access to data, in code you can run.

The production version of my governed data access work stays private, so I rebuilt the idea from scratch in public. governed-warehouse-mcp is an MCP server that lets AI agents answer questions from an analytical warehouse without writing to it, reading tables their token does not allow, or seeing personal data they are not cleared for.

It ships with an evaluation harness for tool-calling agents. The harness checks whether an agent gets the right answer, stays inside its permissions, and ignores instructions planted in the data. It runs the real model client and server end to end, and it runs offline, so every change is tested without a model key. For qualities no exact check can grade, an LLM judge with a versioned rubric is calibrated against the deterministic graders before its verdicts count, and live runs are traced to Langfuse so every failure can be inspected step by step.

The warehouse is a synthetic cross-border freight dataset. No code, schema, or data from the production system is used.

Invisible means nonexistent

A table an agent may not see gets the same answer as a table that does not exist, so a refusal never confirms what is there.

Run exactly what was checked

Agent SQL is parsed, checked against the caller’s access, and regenerated before it runs. A read-only, sandboxed database is the second, independent layer, so a bug in one check is not a breach.

Refusals an agent can act on

Every denial starts with a stable code, so an agent can tell “try another metric” from “you are not allowed”, and an evaluation can grade it without parsing prose.

Test the graders before trusting them

Each grader has to catch a deliberately planted failure, and only that failure, before it is allowed to grade a model.

Featured · AI that runs its own experiments

I let a coding agent do the research, and kept only what it proved.

Appointment prediction had many candidate improvements worth testing. Instead of hand-tuning them one at a time, I designed an autonomous research loop: a coding agent edits the prediction logic, replays it against frozen historical cases, scores it against the baseline, and keeps the change only if it is better.

Because every candidate faces the same replay set and the same acceptance rule, the loop can run unattended without drifting toward changes that only look good on a lucky sample.

The first run produced most of the predictor’s improvement. Just as important, every kept change came with its evidence attached.

Read the case study →
Autonomous research loopA cycle of four steps: a coding agent proposes a change to the prediction logic, the change is replayed on frozen history, scored against the baseline, and kept only if it is better. 01 · PROPOSEAgent edits logicone scoped change at a time 02 · REPLAYReplay historyfrozen evaluation cases 03 · SCOREScore vs. baselinesame population, same metric 04 · GATEKeep or revertonly improvements stay STEP01 / 04AGENT PROPOSES A CHANGE
How the loop works: one candidate change per lap.

How I work

From the business ask to the technical bet.

Every project starts as a business ask. Turning it into the right technical question, then choosing between several reasonable paths, is most of the job. Pick a project to see how that went.

  1. Business askCan AI agents book delivery appointments without a person on every call?
  2. Technical questionPredict the appointment a warehouse will accept for each shipment, and know when that prediction is reliable enough to act on.
  3. What success looks likeError measured on a fixed replay set, plus per-shipper readiness gates that say when automation can switch on.
Paths weighed

Hand-tune the rules · Replace it with a new model

Chosen

Build the harness, then let an agent iterate. Many experiments, each one evidenced and reviewable, and the logic stays legible.

See the tradeoffs →

How I think

What I believe about applied AI.

Positions I’ve arrived at by shipping models, agents, and data platforms into real operations. They shape every project above.

01

Evaluation is the product.

A model without an honest, repeatable evaluation is a demo. I build the measuring stick first, because it outlives every version of the model.

02

Start from the decision, not the data.

Before choosing a method, I want to know who makes the call, under what constraints, and what a wrong answer costs. That framing usually decides the solution.

03

Agents need shared meaning.

Many agent failures trace back to data: the wrong table, an ambiguous metric, access that is too broad. A semantic layer and governed access fix more than a bigger model does.

04

Let agents explore, never judge themselves.

A coding agent can test far more ideas than I can, as long as the evaluation it answers to stays fixed and every change remains reviewable.

05

Keep people in the loop on purpose.

My Ph.D. was on human-in-the-loop learning, and it still shapes my work. Confidence thresholds, audits, and reviewable pull requests decide where human judgment adds the most.

06

Leave the team faster than you found it.

I do what I said I would, when I said I would, and I leave behind tests, shared CI, and clear standards so a small team ships without a gatekeeper. The best systems I’ve built are the ones colleagues extend without me.

The path so far

One thread: people and models working together.

The settings changed, from research labs to crowd platforms to freight. The question stayed the same: how do machine predictions and human judgment make each other better?

  1. 2013 – 2020

    Learning from people

    At Rochester Institute of Technology, my research asked how to learn when people disagree: modeling label distributions from crowds and reading signals in social media. Internships at Bosch, Tencent, and Figure Eight were my first applied NLP and ML work in industry.

  2. 2019 – 2024

    Machine learning at crowd scale

    At Appen, a training-data platform with millions of contributors, I built the systems that decided who should work on what, and which work could be trusted, through ranking, matching, fraud detection, and quality control.

  3. 2024 – now

    AI in real operations

    At Nuvocargo, a cross-border freight platform serving the U.S., Mexico, and Canada, I build AI end to end, now as Staff Data Scientist: AI agents and the tools they call, the services and evaluation behind them, and the data platform underneath.

What’s next

Problems I want to work on next.

This is where I’m headed. If any of these overlap with what you’re building, let’s talk.

01

Agents that improve themselves, safely

Taking autonomous research loops beyond one predictor: agents that propose, test, and ship improvements under evaluation they cannot change.

02

AI that runs real-world operations

Agents and models that act in logistics, supply chain, and other physical operations, where a wrong answer costs real money and real time.

03

Evaluation as shared infrastructure

Harnesses, judges, and release gates that every team can use, so measuring AI is a platform rather than a project.

04

Agents inside the product

Copilots that customers use directly, built on semantic layers and governed data access, with tools scoped to what each user may see and do and evaluation in place from the first release.

Good reasons to reach out

  • You’re building agents that act in real operations and want a second opinion.
  • You need an evaluation strategy before you scale an AI workflow.
  • You’re hiring for a staff-level applied AI engineer or data scientist.
  • You want to compare notes on any of the above.
Start a conversation

Research roots

  1. ECAI 2020Neighborhood-based Pooling for Population-level Label Distribution Learning
  2. HCOMP 2019Learning to Predict Population-Level Label Distributions
  3. ACL 2016Understanding Discourse on Work and Job-Related Well-Being in Public Social Media

Things I build for fun

Open source · Command line

x-migrate ↗

CLI for migrating X lists and follows, with resumable job state, atomic progress writes, and rate-limit recovery.

Mobile · On-device vision · LLM · TestFlight beta

Snap2Cal

iPhone app, now in TestFlight beta, that turns a photo or screenshot of a flyer, invitation, or schedule into calendar events: on-device OCR, LLM extraction through an attested proxy, and review before anything is saved. It also works from Shortcuts.

Open source · Contribution

context-mode ↗

Diagnosed and fixed a hook that blocked authenticated page fetches in a widely used context plugin for coding agents. The maintainer adopted the fix in v2.0.

Contact

Let’s talk.

Building something where AI meets real operations? Hiring for a staff-level data science or applied AI role? Tell me what you’re working on.

Looking for my resume? Ask through the form and I’ll send the current version. Based in New York; no visa sponsorship required.

I’m reaching out about

Complete spam verification before you send your message.

Your message and reply address go straight to my inbox. Cloudflare Turnstile provides spam protection. Please leave out confidential information.