Skip to content

AdlRuntimeConfig

AdlRuntimeConfig = AdlRuntimeOptions & object

Defined in: packages/core/src/runtime/types.ts:59

Options for createAdlRuntime.

optional defaults?: AdlRuntimeDefaults

optional loadEnv?: boolean | { mode?: string; root?: string; }

Load .env* into process.env when constructing the runtime. Defaults to true (project root = process.cwd()). Pass false to skip, or { root } when the ADL project is not the cwd.

optional telemetry?: AdlOpenTelemetrySettings

OpenTelemetry / AI SDK experimental_telemetry (not Vercel product telemetry).

optional tools?: ToolSet

Merged under each agent’s tools (agent keys win).

optional version?: string | false

Identifies which version of the project’s code a run came from, recorded as a version:<value> tag on every workflow.run(). Overrides the commit that would otherwise be resolved from jj or git — set it for a release identifier, or for a project with no VCS at all.

false disables run version tagging entirely, including the VCS lookup. Use it when tags must not depend on ambient repository state — a test asserting a run’s exact tags, for instance. createTestRuntime defaults to this.