# Interface QueryOptions

Query options for finding experts.

interface QueryOptions {
role?: string;
capabilities?: AgentCapability[];
anyCapability?: AgentCapability[];
limit?: number;
}

- Defined in packages/nexus-agents/src/agents/experts/expert-registry.ts:36

##### Index

### Properties

role?
capabilities?
anyCapability?
limit?

## Properties

### `Optional` role

role?: string

Filter by role

- Defined in packages/nexus-agents/src/agents/experts/expert-registry.ts:38

### `Optional` capabilities

capabilities?: AgentCapability[]

Filter by capability (expert must have all specified)

- Defined in packages/nexus-agents/src/agents/experts/expert-registry.ts:40

### `Optional` anyCapability

anyCapability?: AgentCapability[]

Filter by capability (expert must have at least one)

- Defined in packages/nexus-agents/src/agents/experts/expert-registry.ts:42

### `Optional` limit

limit?: number

Maximum number of results

- Defined in packages/nexus-agents/src/agents/experts/expert-registry.ts:44