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

43 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Minimum Viable Context最小可行上下文"
created: 2026-06-29
updated: 2026-06-29
type: concept
tags: [context-engineering, optimization, pattern]
sources: [[prompt-to-loop-engineering-2026]]
confidence: high
---
# Minimum Viable Context (MVC)
> [[context-engineering|Context Engineering]] 中的核心方法论之一:严控单次请求体积,只组合最必需的用户目标、检索结果与当前工具定义,避免信息冗余。
## 与 MVC软件工程的类比
借鉴最小可行产品MVP的思想
- **不是"给得越多越好"**:超出模型注意力预算的信息会稀释信号
- **高信号 Token 优先**:每次请求找到最小的高信号 Token 集
## 核心原则
1. **按需装配**:不预加载全部上下文,运行时动态组合
2. **目标导向**:以当前任务的 Goal 为锚点筛选
3. **工具定义克制**:不暴露全部工具,仅提供当前步骤相关的
## 与相关模式的配合
- [[just-in-time-retrieval|JIT 检索]]:初始仅维护轻量引用,按需实时加载
- [[context-failure-modes|Context Overflow]] 的预防手段
- 渐进式披露Progressive Disclosure先暴露名称按需加载细节
## 工程实践
Anthropic Skills 采用此设计哲学Skills 的完整内容不在每次请求中全量加载,而是先暴露名称和摘要,模型按需调用。
## 相关概念
- [[context-engineering|Context Engineering]]
- [[context-failure-modes|上下文故障模式]]
- [[just-in-time-retrieval|JIT 检索]]