# Function ictmToExpertConfig

- ictmToExpertConfig(ictm: ICTMConfig, subtaskId: string): ExpertConfig

  Convert an ICTM config to an ExpertConfig for the existing expert factory.

  This bridges the ICTM pattern to the existing expert creation pipeline, enabling backward compatibility with all existing expert infrastructure.

  #### Parameters

  - ictm: ICTMConfig
  - subtaskId: string

  #### Returns ExpertConfig

  - Defined in packages/nexus-agents/src/agents/ictm/ictm-factory.ts:62