Quick Start
How It Works
Context files are merged into agent instructions during host configuration: The content is merged using this pattern:Configuration Options
Default File Discovery
If nocontext_paths specified, these files are automatically checked:
| Path | Description |
|---|---|
AGENTS.md | Primary agent context file |
agents.md | Alternative naming |
.agents/AGENTS.md | Hidden directory structure |
Custom Context Paths
Specify your own context files:Context Loading Behavior
File Structure Examples
Basic AGENTS.md
Multi-File Setup
Common Patterns
Environment-Specific Context
Conditional Context Loading
Hierarchical Context
Best Practices
File Organization
File Organization
Structure your context files for maintainability:
Content Structure
Content Structure
Keep context files focused and well-organized:
Content Management
Content Management
Version control your context files:
Testing Context Changes
Testing Context Changes
Validate context injection in development:
Related
Host Integration
Configure context injection
Integration Patterns
Deployment patterns

