# Function safeValidateExpertConfig

Agents exports - Agent framework, Orchestrator, Experts Split from index.ts for file size compliance (Issue #285)

- safeValidateExpertConfig(
  config: unknown,
  ):
  | { success: true; data: ExpertConfig }
  | { success: false; error: ZodError }

  Safely validates an expert configuration.

  #### Parameters

  - config: unknown

    Configuration to validate

  #### Returns { success: true; data: ExpertConfig } | { success: false; error: ZodError }

  Safe parse result with success/error

  - Defined in packages/nexus-agents/src/agents/experts/expert-config.ts:605