# Variable BaseAgentOptionsSchema`Const`

BaseAgentOptionsSchema: ZodObject<
{
id: ZodString;
role: 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";
pm_expert: "pm_expert";
ux_expert: "ux_expert";
infrastructure_expert: "infrastructure_expert";
qa_expert: "qa_expert";
data_visualization_expert: "data_visualization_expert";
thinker: "thinker";
worker: "worker";
verifier: "verifier";
},
>;
capabilities: ZodArray<
ZodEnum<
{
tool_use: "tool_use";
task_execution: "task_execution";
delegation: "delegation";
collaboration: "collaboration";
code_generation: "code_generation";
code_review: "code_review";
research: "research";
},
>,
>;
systemPrompt: ZodOptional<ZodString>;
temperature: ZodOptional<ZodNumber>;
maxTokens: ZodOptional<ZodNumber>;
contextPruning: ZodOptional<
ZodObject<
{
enabled: ZodOptional<ZodBoolean>;
strategy: ZodOptional<
ZodEnum<
{
oldest_first: "oldest_first";
lowest_priority: "lowest_priority";
priority_weighted_age: "priority_weighted_age";
summarize: "summarize";
sliding_window: "sliding_window";
hierarchical: "hierarchical";
semantic: "semantic";
},
>,
>;
maxTokens: ZodOptional<ZodNumber>;
reserveTokens: ZodOptional<ZodNumber>;
triggerThreshold: ZodOptional<ZodNumber>;
},
$strip,
>,
>;
},
$strip,
> = ...

Zod schema for validating BaseAgentOptions.

- Defined in packages/nexus-agents/src/agents/agent-schemas.ts:93