# Interface ContextFilter

Context filter configuration. Controls what information flows to a sub-agent to prevent long-horizon degradation (AOrchestra Section 3.2).

interface ContextFilter {
maxTokens: number;
relevanceThreshold: number;
includeHistory: boolean;
pruneStrategy: ContextPruneStrategy;
}

- Defined in packages/nexus-agents/src/agents/ictm/ictm-types.ts:29

##### Index

### Properties

maxTokens
relevanceThreshold
includeHistory
pruneStrategy

## Properties

### maxTokens

maxTokens: number

Maximum token budget for curated context

- Defined in packages/nexus-agents/src/agents/ictm/ictm-types.ts:31

### relevanceThreshold

relevanceThreshold: number

Minimum relevance score (0-1) to include context items

- Defined in packages/nexus-agents/src/agents/ictm/ictm-types.ts:33

### includeHistory

includeHistory: boolean

Whether to include conversation history

- Defined in packages/nexus-agents/src/agents/ictm/ictm-types.ts:35

### pruneStrategy

pruneStrategy: ContextPruneStrategy

Strategy for pruning excess context

- Defined in packages/nexus-agents/src/agents/ictm/ictm-types.ts:37