Skip to main content
Tian Pan

Tian Pan

Software Engineer

View all authors

·tian

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.

insider
agents
ai-engineering
ux
+1
·tian

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.

experimentation
ai-product
holdouts
incrementality
·tian

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.

ai-engineering
evaluation
agents
testing
+1
·tian

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.

llm-cost
finops
rag
observability
+1
·tian

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.

insider
ai-strategy
product-roadmap
llm-ops
+1
·tian

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.

insider
llm
reliability
multi-model
+2
·tian

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.

ai-agents
rag
tool-design
retrieval
+1
·tian

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.

oauth
ai-agents
authentication
reliability
+1
·tian

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.

insider
fine-tuning
lora
mlops
+2
·tian

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.

insider
ai-ux
streaming
llm
+2
·tian

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.

insider
llm
prompt-engineering
evaluation
+2
·tian

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.

insider
ai-agents
llm-evaluation
observability
+2
Showing 1225–1236 of 2314 posts
Prev103 / 193Next