Context management
Effective context management improves agent understanding and performance.
Context Types
Documentation Context
API documentation
Architecture diagrams
Coding standards
Domain knowledge
MCP (Model Context Protocol)
External system integration
Dynamic context loading
Real-time data access
Global Context
Team-wide learnings
Common patterns
Reusable solutions
Context Optimization
Priority Context Type Token Budget
──────── ──────────── ────────────
High Current file 40%
Medium Related files 30%
Low Documentation 20%
Optional Historical changes 10%
Last updated
Was this helpful?