Skip to main content

Interface: AgentCommand

Defined in: packages/contracts/src/commands.ts:49

A registry entry that is a command to an agent.

Properties​

kind​

readonly kind: "command"

Defined in: packages/contracts/src/commands.ts:51

Tells it from a request, an event or a standing grant.


purpose​

readonly purpose: string

Defined in: packages/contracts/src/commands.ts:56

What the agent does on receiving it, in a sentence. It is here for the reader of the registry; the body's schema, in @oktoid/agent-control, is what binds.