Skip to content

Type Alias: AgentInstanceOptions

Prefactor TypeScript SDK


Prefactor TypeScript SDK / @prefactor/core / AgentInstanceOptions

AgentInstanceOptions = object

Defined in: packages/core/src/transport/http.ts:33

optional agentId: string

Defined in: packages/core/src/transport/http.ts:35

Existing backend agent id, when available.


optional agentIdentifier: string

Defined in: packages/core/src/transport/http.ts:37

External agent version identifier.


optional agentName: string

Defined in: packages/core/src/transport/http.ts:39

Human-readable agent name.


optional agentDescription: string

Defined in: packages/core/src/transport/http.ts:41

Human-readable agent description.


optional purpose: "live" | "smoke_test" | "eval"

Defined in: packages/core/src/transport/http.ts:43

Why this instance ran: ‘live’ for an actual agent run, ‘smoke_test’ for a pipeline check, or ‘eval’ for an evaluation run. Omit to let the API default to ‘live’.