Files
myWiki/concepts/minimum-viable-context.md

1.5 KiB
Raw Blame History

title, created, updated, type, tags, sources, confidence
title created updated type tags sources confidence
Minimum Viable Context最小可行上下文 2026-06-29 2026-06-29 concept
context-engineering
optimization
pattern
prompt-to-loop-engineering-2026
high

Minimum Viable Context (MVC)

context-engineering 中的核心方法论之一:严控单次请求体积,只组合最必需的用户目标、检索结果与当前工具定义,避免信息冗余。

与 MVC软件工程的类比

借鉴最小可行产品MVP的思想

  • 不是"给得越多越好":超出模型注意力预算的信息会稀释信号
  • 高信号 Token 优先:每次请求找到最小的高信号 Token 集

核心原则

  1. 按需装配:不预加载全部上下文,运行时动态组合
  2. 目标导向:以当前任务的 Goal 为锚点筛选
  3. 工具定义克制:不暴露全部工具,仅提供当前步骤相关的

与相关模式的配合

工程实践

Anthropic Skills 采用此设计哲学Skills 的完整内容不在每次请求中全量加载,而是先暴露名称和摘要,模型按需调用。

相关概念