# Tong Liu > Tong Liu is an applied AI engineer and Staff Data Scientist in New York who builds AI agents for real operations, together with the tools and data access they depend on, the evaluation that keeps them reliable, and the data platforms underneath them. Tong holds a Ph.D. in human-in-the-loop machine learning. This site explains how Tong thinks, how Tong chooses between technical paths, and what Tong wants to build next. - Tong currently leads data science end to end at Nuvocargo, a cross-border freight technology platform serving the U.S., Mexico, and Canada. - The path so far: research on learning from people who disagree (Rochester Institute of Technology), machine learning at crowd scale (Appen), and now AI in real operations. - Open to staff-level applied AI engineering or data science roles and to a small number of scoped consulting engagements. Based in New York; no visa sponsorship required. - Contact through the form at https://tongliu.md/#contact or on LinkedIn. The resume is available on request through the form. ## Case studies Each case covers the question behind the project, how the business ask became a technical question, the paths weighed and why one was chosen, how it was built, scaled and fixed, and what transfers. - [Appointment scheduling prediction agent](https://tongliu.md/work/prediction/): 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. The question: How do you know a model change is actually better, and when is it ready to act on its own? What changed: Prediction error fell 39% on a frozen offline replay set, most of it from the research loop’s first 17 experiments, and the system reached 94% same-day accuracy for the highest-priority shippers at go-live. The evaluation framework for five scheduling agents became the company’s standard for judging AI. Its first tool-calling check found the agents picked the correct tool 86.6% of the time, an early snapshot that gave the team a baseline to improve against. - [Governed AI access to warehouse data](https://tongliu.md/work/data-access/): 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. The question: How do many AI agents give one consistent answer, with only the access they should have? What changed: Top-3 recall of the right data model rose from 20% to 92%. A deployed RAG analytics agent and one governed MCP path give every agent the same definitions with least-privilege access, and each data domain must pass at least 90% of its must-work evaluation cases, on its own, before a release reaches production. - [Proof-of-delivery auto-validation](https://tongliu.md/work/documents/): AI validation for the delivery paperwork that invoicing waits on, with evaluation that starts label-free and continues through randomized audits. The question: How do you measure document AI quality before you have labels, and keep measuring after launch? What changed: More than half of incoming volume is auto-processed at over 90% accuracy, attribution rose from about 5% to 88%, and invoicing moves faster, which supports a 48-hour delivery-document service commitment. - [Route optimization for a strategic 4PL customer](https://tongliu.md/work/decisions/): 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. The question: What makes an optimizer’s plan something people actually execute? What changed: A run takes 2 hours 35 minutes instead of 14 hours, and the customer adopted successive iterations of the engine. Simulations showed about 30% lower cost than the customer’s baseline allocation; in one modeled scenario, consolidating origins cut cost per shipment by 25% and cost per order by 33%. - [Carrier & market intelligence](https://tongliu.md/work/carrier/): A pipeline that reconciles carrier telemetry and freight-market signals, then turns them into ranked recommendations for the operations team. The question: What has to be true about the data before a carrier ranking means anything? What changed: A trip-history pipeline that resolves 4.5 million trips across 52,000 carriers to origin and destination markets and refreshes nightly, a rebuilt carrier score that matched the previous one on 100% of comparable rows, and ranked carrier shortlists delivered to operations. - [AI-native BI platform & engineering standards](https://tongliu.md/work/platform/): 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. The question: How does a small data team ship fast without losing trust in the numbers? What changed: An in-house platform leadership reviews metrics on, projected to save about $65K a year in SaaS cost. More than 1,100 tests let teammates ship dashboards on their own, a schema change is one pull request to review, and containerized builds cut CI time by about 56%. ## How Tong thinks about applied AI In Tong's own words, from the homepage: - 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. - 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. - 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. - 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. - 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. - 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. ## What Tong wants to work on next - Agents that improve themselves, safely: Taking autonomous research loops beyond one predictor: agents that propose, test, and ship improvements under evaluation they cannot change. - 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. - Evaluation as shared infrastructure: Harnesses, judges, and release gates that every team can use, so measuring AI is a platform rather than a project. - 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. ## Open source - [governed-warehouse-mcp](https://github.com/tongliuTL/governed-warehouse-mcp): An open-source Model Context Protocol (MCP) server that lets AI agents answer questions from an analytical warehouse through a semantic layer, an access policy and a SQL guard, so agents cannot write, cannot read models their token does not allow, and cannot see personal data they are not cleared for. It includes an offline evaluation harness for tool-calling agents that checks answer correctness, governance and resistance to prompt injection planted in the data, with deterministic graders that are themselves tested against planted failures, an LLM judge calibrated against those graders for the qualities they cannot check, and Langfuse tracing for live evaluation runs. It is a from-scratch public reimplementation of the approach in the governed data access case study, on a synthetic cross-border freight warehouse; no code, schema or data from the production system is used. ## Consulting - [Data and AI consulting for logistics and operations](https://tongliu.md/consulting/): scoped engagements in three areas: making data reliable (data foundations), proving an AI workflow works before it scales (AI evaluation), and modeling operational decisions such as routing, allocation and prioritization. Includes an illustrative worked example: a freight forwarder's support inbox turned into threaded, shipment-linked, routed tickets, with a governed agent that answers only from read-only shipment data behind answer gates, attached documents read into typed fields and checked against the linked shipment, long threads summarized only when a decision needs it, and release gates tested against planted failures. The code is private; a walkthrough is available on request. ## Optional - [Homepage](https://tongliu.md/): the overview, including the autonomous research loop, the open-source governed warehouse MCP server, beliefs, path, and what's next. - [All case studies](https://tongliu.md/work/) - [LinkedIn](https://www.linkedin.com/in/drtongliu/) - [GitHub](https://github.com/tongliuTL) - [x-migrate](https://github.com/tongliuTL/x-migrate): a side project, a CLI for migrating X lists and follows with resumable job state and rate-limit recovery. - [context-mode fix](https://github.com/mksglu/context-mode/pull/945): an open-source contribution; diagnosed and fixed a hook that blocked authenticated page fetches in a context plugin for coding agents, adopted by the maintainer in v2.0. - Snap2Cal: a side project, an iPhone app in TestFlight beta that turns a photo of event details into calendar events. - Research: Neighborhood-based Pooling for Population-level Label Distribution Learning (ECAI 2020); Learning to Predict Population-Level Label Distributions (HCOMP 2019); Understanding Discourse on Work and Job-Related Well-Being in Public Social Media (ACL 2016).