Skip to content

Interface: AgentStateDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AgentStateDto

Defined in: src/types/cognitive.ts:89

Agent state (basic).

agentId: string

Defined in: src/types/cognitive.ts:91

Agent ID (UUID).


beliefs: AgentBeliefDto[]

Defined in: src/types/cognitive.ts:95

Current beliefs.


optional definitionVersion?: number

Defined in: src/types/cognitive.ts:105

The version of the agent’s definition, from 1; a run records the version it ran. An agent created before versions were recorded reads 1. Absent when the engine did not send it.


goals: AgentGoalDto[]

Defined in: src/types/cognitive.ts:97

Current goals.


hasPendingGoals: boolean

Defined in: src/types/cognitive.ts:99

Whether agent has pending goals.


name: string

Defined in: src/types/cognitive.ts:93

Agent name.


optional owner?: string | null

Defined in: src/types/cognitive.ts:111

Who created the agent, as the gateway verified them (user:<uuid>, service_account:<uuid>); null or absent for an agent created without a gateway identity, or before owners were recorded.