# Variable AgentRoleSchema`Const`

AgentRoleSchema: ZodEnum<
{
custom: "custom";
orchestrator: "orchestrator";
code_expert: "code_expert";
architecture_expert: "architecture_expert";
security_expert: "security_expert";
documentation_expert: "documentation_expert";
testing_expert: "testing_expert";
devops_expert: "devops_expert";
research_expert: "research_expert";
infrastructure_expert: "infrastructure_expert";
thinker: "thinker";
worker: "worker";
verifier: "verifier";
},
> = ...

Agent role schema. Must match AgentRole type in core/types/agent.ts.

- Defined in packages/nexus-agents/src/workflows/template-types.ts:112