
Tian Pan
Software Engineer
Mid-Flight Steering: Redirecting a Long-Running Agent Without Killing the Run
Most agent UIs turn every course correction into a full restart. The fix is an architectural one — checkpoint-and-inject, plan revision hooks, and soft-interrupt tokens — plus a three-verb UX vocabulary that separates correction from override from cancellation.
The Missing Arm: Your AI Experiment Has No 'AI-Off' Control
Most AI experiments compare better AI to worse AI and skip the comparison that actually matters — against no AI at all. The null arm is the missing discipline keeping teams from knowing whether their inference spend earns anything.
Eval Passed, With All Tools Mocked: Why Your Agent's Hardest Failures Never Reach the Harness
Mocked-tool evals make CI green while production burns. The three assumptions every mock silently makes, why the eval pass rate diverges from the incident rate, and the three-rung ladder (mocks, cassettes, live smoke) that finally closes the gap.
The Model Bill Is 30% of Your Inference Cost
Token spend is one line in a six-line budget. A real decomposition of retrieval, observability, retries, and human review shows why model-swap savings usually lie.
The Model-of-the-Week Roadmap: When Vendor Promises Become Committed Dependencies
Treating unreleased vendor model capabilities as committed roadmap dependencies turns twelve-month plans into thirty-month rebuilds. A field guide to slip, gate, and re-scope risk — and the discipline of planning against available-today models.
Multi-Model Reliability Is Not 2x: The Non-Linear Cost of a Second LLM Provider
Teams adopt a second LLM provider expecting 2x cost for near-perfect uptime. In production the operational math is 4–5x, correlated failures attenuate the uptime gain, and a well-designed degraded mode on one provider usually wins.
No Results Is Not Absence: Why Agents Treat Retrieval Failure as Proof
Agents that say 'no results' are rarely making a claim about the world. They are narrating an empty array as if it were proof — and that is how quiet production incidents get manufactured.
Your OAuth Tokens Expire Mid-Task: The Silent Failure Mode of Long-Running Agents
OAuth was designed for short requests; agent loops outlive their tokens. Walk through the failure modes, refresh patterns, and credential-lifecycle architecture that hold up at agent timescales.
The Orphan Adapter Problem: When Your Fine-Tune Outlives Its Base Model
Fine-tuned adapters pinned to deprecated base models turn into production zombies — load-bearing and unreproducible. A durable adapter lifecycle needs base-model-synced retraining cadence, behavioral fingerprint tests, and institutional memory that survives team changes.
The Output Commitment Problem: Why Streaming Self-Correction Destroys User Trust More Than the Original Error
Mid-stream revisions read as incompetence even when the final answer is correct. The fix is a plan-first-then-commit protocol, a clear taxonomy of refinement surfaces, and deliberate choices about when to hide thinking.
Pattern-Matching Failures: When Your LLM Solves the Wrong Problem Fluently
Fluent, on-topic LLM answers that solve the wrong problem are the hardest bug class in production. A practical playbook for detecting surface-feature overfitting and designing prompts that expose it.
Plan-and-Execute Is Marketing, Not Contract: Plan Adherence as a First-Class SLI
Plan-and-execute agents emit plans that look like contracts but behave like forecasts. Treat plan adherence as an SLI with measurement, enforcement, and bounded re-planning budgets — not a quality nice-to-have you grade once a quarter.