Skip to content

AgentKnowledgeOverrides

Per-agent knowledge overrides. Can only reduce capabilities — cannot add a retriever that doesn’t exist at the Runtime level.

optional compiledEnabled?: boolean;

Disable compiled knowledge injection for this agent.


optional filter?: Record<string, unknown>;

Metadata filter restricting which documents this agent can access.


optional maxOutputTokens?: number;

Override max output tokens (must be <= Runtime default).


optional toolEnabled?: boolean;

Disable retrieval tool for this agent.


optional topK?: number;

Override topK (must be <= Runtime default).