# Function createCodeExpert

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

- createCodeExpert(
  options?: Partial<BaseAgentOptions> & {
  expertOptions?: CodeExpertOptions;
  },
  ): CodeExpert

  Creates a new CodeExpert agent with the given options.

  #### Parameters

  - `Optional` options: Partial<BaseAgentOptions> & { expertOptions?: CodeExpertOptions }

  #### Returns CodeExpert

  - Defined in packages/nexus-agents/src/agents/experts/code-expert.ts:221