Wen Yuan

AI Software Engineer · Currently at Meta

I build LLM agents that hold up in production.

Seven-plus years across AI, data, and consumer products. For the last two I have designed agent workflows, retrieval systems, and evaluation pipelines for e-commerce at Meta, with a bias toward gains you can measure: accuracy, latency, and quality.

agent run · product_discovery sample trace
  1. 0.000srouterintent=compare_products · conf 0.94
  2. 0.112sretrievehybrid bm25+dense · k=24 → 8 candidates
  3. 0.287stoolget_inventory(skus=[…]) · ok
  4. 0.301svalidatejson-schema ✓ · pydantic ✓
  5. 0.412srespond3 products · 2 follow-ups
judge task_complete ✓ grounded ✓ relevance 0.91
  • 50,000+SKUs under agent retrieval and tool execution
  • 500+benchmark scenarios in automated evaluation
  • −18%average agent response latency
  • +10 pptool-use accuracy after trace-driven fixes
AI Engineering Meta · 2024 – present

Conversational shopping agents

Python LLM agent workflows for product discovery, conversational shopping, and multi-step task execution over a catalog of 50,000+ SKUs. Orchestrated with LangGraph: explicit state, conditional tool routing, conversation memory, and fallback paths for recovery when a tool or model call fails. FastAPI services wire the agents into product catalogs, inventory, search, and external business APIs.

  • −18% average response latency through async calls, better retrieval, and removing redundant tool invocations
  • Typed function-calling contracts with JSON Schema and Pydantic, so agent tool calls and backend APIs stay consistent
  • Reproducible deploys with Pytest, Docker, and CI/CD
  • Python
  • LangGraph
  • FastAPI
  • Pydantic
  • OpenAI / Anthropic APIs
AI Evaluation Meta

Agent evaluation pipeline

Automated evaluation over 500+ benchmark scenarios combining LLM-as-a-Judge, rule-based validators, and regression tests. Tracks task completion, tool-use accuracy, hallucination rate, and response relevance on every change.

  • +10 pp tool-use accuracy from diagnosing failures in execution traces and structured logs
  • −18% recurring evaluation failures after targeted edge-case tests
  • LLM-as-a-Judge
  • Pytest
  • Tracing
  • CI/CD
Retrieval NetEase

Hybrid search for commerce

Product search, filtering, sorting, and personalized recommendations backed by a hybrid retrieval system in OpenSearch: BM25 for keyword precision plus dense embeddings for semantic matching. Airflow ETL pipelines centralize product and sales data across channels to feed the index.

  • OpenSearch
  • BM25 + dense
  • Python
  • Airflow
Data Analytics TEKsystems · 2023 – present

AI output quality analytics

SQL and Python evaluation workflows analyzing 300–500 AI-generated responses each week. Defined quality metrics for correctness, relevance, and instruction adherence; built validation checks and Tableau dashboards tracking KPIs, error rates, and trends, with statistical tests to flag significant shifts.

  • Led root-cause analysis on recurring issues and standardized scoring criteria with reviewers
  • Weekly executive-ready summaries with actionable recommendations
  • SQL
  • Pandas
  • Tableau
  • Statistics
AI Evaluation Snorkel AI · 2021 – 2024

Code evaluation tooling

Automated code-evaluation utilities in Python and JavaScript for AI-generated Python, JavaScript, and TypeScript: rule-based validators, unit tests, and structured review criteria. Reusable harnesses cover correctness, edge cases, exception handling, and algorithmic efficiency.

  • −20% recurring coding errors across evaluated submissions
  • +25% review efficiency · −30% pull-request turnaround
  • Python
  • JavaScript
  • TypeScript
  • Test harnesses

AI Patient

An LLM-driven simulation of scenario-based patient interactions. Configurable personas, behavioral rules, and task-specific system prompts sit on a YAML scenario framework with structured models for profiles, objectives, constraints, and time limits. A streaming conversational workflow processes speech incrementally, so responses start before transcription ends, and configurable interruption events keep conversations realistic.

  • Python
  • LLM APIs
  • Streaming
  • YAML scenarios
  1. May 2024 – Present

    Artificial Intelligence Engineer Meta

    Contract · LLM agent workflows for e-commerce product discovery and conversational shopping

    • Designed and implemented Python-based LLM agent workflows with retrieval and tool execution spanning 50,000+ SKUs.
    • Built LangGraph orchestration with state management, conditional tool routing, conversation memory, and fallback and error-recovery paths for reliable multi-turn interactions.
    • Developed FastAPI services and REST interfaces integrating agents with catalogs, inventory, search, and external business APIs.
    • Cut average agent response latency by about 18% and improved tool-use accuracy by about 10 percentage points, both validated on benchmark testing.
    • Partnered with engineering and evaluation teams to prioritize root causes by latency, task-success, and error-rate metrics.
  2. Aug 2023 – Present

    Data Analyst TEKsystems

    Part-time contract · AI output quality analytics

    • SQL and Python evaluation workflows over 300–500 AI-generated responses weekly, with quality metrics and recurring failure patterns across task categories.
    • Automated data-validation checks and Tableau dashboards for KPIs, error rates, and quality trends; statistical techniques to detect significant shifts.
    • Root-cause analysis and standardized scoring criteria; weekly executive-ready summaries.
  3. Mar 2021 – Mar 2024

    Software Engineer Snorkel AI

    Contract · AI code evaluation and review tooling

    • Owned automated code-evaluation utilities in Python and JavaScript for AI-generated code; reusable test harnesses reduced recurring coding errors by 20%.
    • Improved code-review efficiency by 25% and cut pull-request review turnaround by 30% through automated validation and standardized criteria.
    • Turned recurring model-generated code failures into new regression tests and updated evaluation guidelines.
  4. Sep 2018 – Jun 2020

    Software Engineer NetEase

    Full-time · Cross-platform e-commerce mobile app and backend services

    • Built and maintained the consumer e-commerce app for iOS and Android in React Native, owning product discovery, product detail, cart, checkout, and order management from one shared codebase.
    • Designed backend services and REST APIs for catalog, inventory, pricing, promotions, accounts, and orders; Python/FastAPI ingestion and Airflow ETL pipelines.
    • Integrated Alipay and WeChat Pay with status verification, transaction error handling, and order reconciliation.
    • Hybrid BM25 + dense retrieval in OpenSearch for search and recommendations; token-based auth, session management, and conversion-funnel event tracking.
  5. Feb 2018 – Jun 2018

    Software Engineer Intern NetEase

    Internship · E-commerce mobile app and data services

    • Reusable React Native components for product cards, category navigation, search, and product detail, integrated with REST APIs.
    • Python scripts and FastAPI utilities to validate product data and investigate API errors; supported Airflow ETL and OpenSearch indexing.
LLM & Agents
LangGraph, LangChain, LlamaIndex, OpenAI / Anthropic APIs, function and tool calling, agent orchestration, prompt engineering, JSON Schema, Pydantic
Retrieval & Search
RAG pipelines, embeddings, vector search, hybrid retrieval (BM25 + dense), OpenSearch, Docling, document chunking
AI Evaluation
LLM-as-a-Judge, rule-based validators, benchmark design, hallucination and tool-use accuracy metrics, execution tracing, observability
Languages
Python, SQL, JavaScript, TypeScript
Backend & Infra
FastAPI, REST APIs, async processing, Apache Airflow, ETL pipelines, Docker, CI/CD, Pytest, Git
Data & Analytics
Pandas, NumPy, statistical analysis, EDA, Tableau, Excel, KPI dashboards, root-cause analysis
Mobile & Frontend
React Native, iOS / Android, Xcode, Android Studio, mobile performance optimization, payment SDK integration (Alipay, WeChat Pay)

Evaluation only matters if someone reads the numbers.

Alongside engineering, I have spent the last three years as an analyst on AI output quality: defining what "good" means, measuring it every week, and turning the trend into decisions.

300–500

Responses analyzed weekly

SQL and Python workflows scoring correctness, relevance, and instruction adherence across task categories.

KPIs

Dashboards that detect shifts

Tableau dashboards with automated validation checks and statistical tests that separate real change from noise.

Weekly

Executive-ready summaries

Root-cause analysis on recurring issues, standardized scoring criteria with reviewers, and recommendations leaders can act on.

M.S. Computer Science City University of Seattle 2016 – 2018
B.S. Computer Software Engineering Chongqing University 2012 – 2016
U.S. Army Active-duty service member Sep 2020 – Jan 2021

Contact

Building an agent, a retrieval system, or an eval pipeline? Let's talk.

Email vinyuan77@outlook.com
Résumé PDF ↗