James Niu · Applied AI Engineering Open to AI roles · SF / Remote US

I build agentic AI systems, then make them hold up under real traffic.

Sr. Staff AI Engineer. At Basis, 6 months of media planning became 5 days at 98% accuracy across 200 turns. Start from any claim below and follow it to the work and the people behind it.

6 months to 5 daysMedia planning workflow
98%Accuracy, 200 turns
1.7M tokensContext, 8x longer sessions
$175M+Media spend, 3B+ impressions
120+Enterprise advertisers
10 yearsProduction AI systems

01 · How it all connects

Click anything. Follow the proof.

Tap a circle to see what it connects to.

02 · Common questions

Questions hiring teams ask.

Each answer follows the same path, from the claim to the system that had to prove it and the measured result that settled it. Pick a question and follow it through.

Pick a question above to see the full answer.

Each path starts with who owned the work, names the system it ran on, and ends with the numbers and the people who can back them up. A claim never sits on its own here, it points straight to proof.

03 · Headline result

How 6 months became 5 days.

Situation

Planning took 6 months

Manual work across audience, timing, and channels on $175M+ spend.

What he built

Compass + the gate that could stop it

AI copilot over Claude, GPT, Gemini with LangGraph and MCP. Evals he owned, deterministic first, LLM judge second.

Result

5 days, 98% across 200 turns

120+ advertisers. 0.03 false positives across 190+ evals. 1.7M-token sessions.

About

Measure the model, not the demo.

Ten years in production, starting in quant and operations research. I do the full loop, the agent, its tools, and the evals that decide if it ships. Python, TypeScript, LangGraph, MCP, CI gates. Based in San Francisco, open to Staff or Principal AI roles, SF or remote US.

04 · Work experience

A decade of measurable impact.

Basis Technologies, Sr. Staff AI Engineer

Jan 2026 – Present · SF

Led Compass, the AI media copilot on $175M+ spend and 3B+ impressions. Built its golden set by mining 30 days of traces with 120+ agents in 11 minutes, and the compaction that holds sessions to 1.7M tokens.

6 months to 5 days · 98% across 200 turns · 120+ advertisers · 0.03 false positives, 190+ evals · Docs 80s to 2s

See the story above and Recommendations.

Advantage Solutions, Principal AI Solutions Architect

Aug 2023 – Dec 2025 · LA

Retail AI that survived real store data. Sentiment 72% to 94%, engagement +25%, under GDPR, HIPAA, and CCPA governance.

72% to 94% sentiment · 40% staffing accuracy · 20% campaign ROI

Leadership Circle, AI Solutions Engineer

Dec 2022 – Aug 2023 · Atlanta

Customer AI plus fraud detection that lifted identification 35%. MLOps automation pushed reliability to 99%.

50% fewer tickets · 99% reliability · 35% fraud accuracy

Medlytix, Data and AI Architect

Jan 2020 – Dec 2022 · Atlanta

Healthcare claims AI where a wrong number is a denied claim. Denials fell 25%, recovery rose 25%.

25% fewer denials · 25% recovery · 30% lower compliance risk

GeoAlliance Consultants, Forward Deployed Engineer

Nov 2018 – Dec 2019 · NY, remote

ML on live construction sites. Contract review 60% faster, 15+ late projects prevented.

60% faster review · 15+ projects saved

M Capital Group, ML Engineer

Oct 2017 – Oct 2018 · NY

Portfolio forecasting and risk, where a wrong model costs real money.

30% forecast accuracy · 20% lower risk

Nymex Capital Partners, Investment Banking Analyst

Jun – Aug 2016 · NY

Valued a US$136.7MM home automation target and a US$19.3MM pharma buy-side deal.

Education

2017 – 2019

Columbia University

MS Operations Research, GPA 3.7/4.0. Probationers project saved US$508 per person across 3,092 people.

2014 – 2017

London School of Economics

BSc Economics, First-Class Honours. Multiple subjects at 95th percentile.

05 · Selected work

Production agents, evals, and inference.

github.com/jameswniu · 26 repos · Measured before believed.

Ad creation

Autonomous Ads Pipeline

Four engines gated before paid regeneration. 48 graded exemplars, 10 thresholds from labelled pairs.

Voice AI

Realtime Voice Agent

Live phone agent with turn-taking, interruption recovery, and failover.

Fine-tuning

Turn Detection Model

0.949 PR-AUC on a frozen human gold set. 33.1 ms p95, no false speaks on 27 wait cards.

LLM evaluation

Self-Hosted Evals Lab

Prompt strategies measured with confidence intervals across 150+ datasets.

Enterprise MCP

Atlassian MCP Server

Auth0 identity and audit logs on every call.

Reinforcement learning

Multi-Agent Drone Navigation

PPO coordination under drift and conflict, FastAPI and Docker.

Agent memory

Persistent Memory

1,000+ memories, 50+ transferable skills across projects.

Retrieval

Insurance Claims RAG

Agentic RAG plus text-to-SQL, answers validated against sources.

Healthcare NLP

Clinical Trial Screening

Protocol criteria matched to patient records, evidence attached.

How I work

The checks between a demo and production.

01

Trace every call.

Bad answers get replayed, not guessed at.

02

Fail the build on bad evals.

If evals slip, it does not ship.

03

Route around failures.

One slow model never becomes an outage.

04

Gate risky actions.

Consequences wait for a check.

Writing

How he thinks.

More at jameswniu.substack.com.

Most AI agent risk is an authorization problem.

Intent is not permission. Over 70% of agent failures are tool misuse.

Most AI benchmarks fail in production.

What transfers is stress testing and failure analysis. 13,427 impressions.

Tell a $0.25 problem from a $5 one.

Tiered routing by volume, risk, and reversibility.

Your model is too clever to survive production.

Simple models fail loudly and get fixed by lunch.

Optimization hell is real.

Perfecting one metric degrades everything around it.

06 · Recommendations

What people who worked with him say.

40 on LinkedIn. The strongest below.

“Work that took days came back in minutes.”

Hope Goes, Digital Advertising Strategist, client

“He focuses on what happens when the agent is wrong, and how you would know before your customer does.”

Daniel Jimenez, Founder and CEO, Nexus Legal, client

“When an agent workflow behaved unexpectedly, James was the person I trusted to diagnose it.”

Robin Lee, Software Engineer, Basis

“He welcomed QA feedback and jumped on bugs early. It showed up directly in our releases.”

Inna Kogan, QA Manager, Basis

Fayadh Ahamed, Senior UI Engineer, Basis

Shipped in James’s codebase on day one. The patterns were obvious, the tests caught every break.

Calvin Yuen, Support Analyst, Compass client

James took his escalation himself and closed it in one conversation, workaround and fix timeline included.

07 · Skills and credentials

What ran behind the work.

Agents and evals

LangGraph, MCP, A2A, RAG, multi-model orchestration. LLM-as-judge, golden datasets, CI-gated regression, guardrails, tracing.

Stack

Python, TypeScript, FastAPI, React, PostgreSQL, Redis, Docker, Kubernetes, AWS, Langfuse. Claude, GPT, Gemini, PyTorch, ONNX.

Certifications

AWS Solutions Architect · Azure Solutions Architect · TOGAF · Databricks Data Engineer · Informatica Data Governance · Fitch Financial Modeling

Service

President, International House NYC · Treasurer, Columbia Engineering GSC, US$200K+ budget · LSE tutor

Looking for the next role.

Staff or Principal AI Engineer, or forward-deployed AI. SF Bay Area or remote US. Best fit is a team putting AI in front of real customers.

Book 30 minutes Email