Skip to main content
reopt Handbook
reopt Handbook
LLMOps and AgentOps in Production

Architecture and Release

Ch1. System ArchitectureCh2. Versioning and ReleaseCh3. Evaluation Framework

Operational Reliability

Ch4. Online GuardrailsCh5. Observability and SLOsCh6. Cost and Latency Optimization

Growth and Response

Ch7. Experiment OperationsCh8. Incident Management Runbook

Verification

Verification ReportVerification ArchiveUpdates
Handbook›LLMOps and AgentOps›Ch7. Experiment Operations
한국어English

Ch7. Experiment Operations

Repeat prompt, model, and workflow experiments quickly and safely

Key takeaways

  • The goal of experimentation is faster decisions, not more experiments, so define business meaning before statistical significance.
  • Score variants with a decision formula (ΔQuality − λ_cost·ΔCost − λ_risk·ΔRisk) and tune the λ weights to your growth, margin, and safety strategy.
  • Triangulate evidence across offline eval runs, production trace samples, segment metrics, and cost/latency budgets.
  • Keep experiments interpretable: limit concurrency, run high-risk features only in pre-approved windows, and record MCP server, tool scope, and routing per variant.
  • Store failed experiments and trace-derived regression cases as reusable knowledge in the eval set.

Good experimentation is not about running more experiments. It is about faster decisions.
Experiment design should define business meaning before statistical significance.

Experiment Units

TargetExamplesRisk
PromptInstruction structure, constraintsQuality variance
ModelProvider/version changeCost and quality shift together
WorkflowTool-call order, approval conditionSafety impact

Decision Formula

Decision Score=ΔQuality−λcostΔCost−λriskΔRisk\text{Decision Score} = \Delta Quality - \lambda_{cost}\Delta Cost - \lambda_{risk}\Delta RiskDecision Score=ΔQuality−λcost​ΔCost−λrisk​ΔRisk
  • Tune λ values to match your organization’s growth, margin, and safety strategy.
  • Block PII exposure, privilege escalation, and unapproved side effects before scoring.

Evidence Units

EvidenceUse
Offline eval runBasic regression check for prompt/model changes
Production trace sampleVerify actual tool/handoff/approval paths
Segment metricDetect regressions that appear only in specific tenants, languages, or channels
Cost/latency budgetDecide whether a quality gain is economically valid

Experiment Discipline

  • Limit concurrent experiments so results remain interpretable.
  • Run high-risk features only inside pre-approved experiment windows.
  • Store failed experiments as knowledge assets to avoid repeated attempts.
  • Record MCP server, tool scope, and model routing policy per variant in a registry.
  • Promote trace-derived regression cases into the eval set after the experiment ends.

Experiment Review Template

# Experiment Review

- Hypothesis:
- Variant A/B:
- Target Metric:
- Result (Quality/Cost/Risk):
- Decision: Rollout / Iterate / Rollback

Baseline and Sources

ItemBaseline DateRecheck ByPrimary Source
Trace-derived regression2026-05-172026-06-16https://developers.openai.com/api/docs/guides/agent-evals
MCP/tool scope experiment control2026-05-172026-06-16https://owasp.org/www-project-mcp-top-10/

Related docs

Experiment Design

Agentic MVP · Choose the right MVP experiment and define success criteria before building.

Ch3. Evaluation Framework

Connect offline benchmarks with online operating signals

Experimentation

New Brand Marketing Strategy · Turn marketing ideas into controlled tests with hypotheses, guardrails, and decisions.

Experiment Types

Agentic MVP · Select MVP experiment formats based on risk and evidence strength.

Ch6. Cost and Latency Optimization

Manage unit cost and response time without sacrificing quality

Ch6. Cost and Latency Optimization

Manage unit cost and response time without sacrificing quality

Ch8. Incident Management Runbook

Operate a unified standard for quality regressions, cost spikes, and policy bypass incidents

On this page

Experiment UnitsDecision FormulaEvidence UnitsExperiment DisciplineExperiment Review TemplateBaseline and Sources