# Variable AgentMessageSchema`Const`

AgentMessageSchema: ZodObject<
{
id: ZodString;
from: ZodString;
to: ZodString;
type: ZodEnum<
{
status: "status";
result: "result";
task: "task";
query: "query";
feedback: "feedback";
},
>;
payload: ZodUnknown;
timestamp: ZodString;
},
$strip,
> = ...

Zod schema for validating AgentMessage objects.

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