Skip to content

Type Alias: RuntimeEnvironment

Prefactor TypeScript SDK


Prefactor TypeScript SDK / @prefactor/core / RuntimeEnvironment

RuntimeEnvironment = object

Defined in: packages/core/src/runtime-environment.ts:9

Runtime environment metadata reported at agent registration.

Mirrors the runtime_environment field of the Prefactor API’s agent_version payload.

agent_sdk: string[]

Defined in: packages/core/src/runtime-environment.ts:11

Upstream agent framework packages (e.g. ["@prefactor/langchain@2.0.0"]).


os: string

Defined in: packages/core/src/runtime-environment.ts:13

Host operating system name (e.g. "linux", "darwin", "windows").


prefactor_sdk: string[]

Defined in: packages/core/src/runtime-environment.ts:15

Prefactor SDK packages in use (e.g. ["@prefactor/core@1.0.0"]).


runtime: string

Defined in: packages/core/src/runtime-environment.ts:17

JavaScript runtime and version (e.g. "node@22.12.0", "bun@1.2.3").