Skip to content

AdlProjectConfig

Defined in: packages/core/src/project/config.ts:44

Shape of adl.config.* at a project root. Registry arrays are indexed on load and again on LoadedAdlProject.reload.

Runtime: set adl on the config default export. In project code, import the runtime via a tsconfig path alias (recommended: #adl → ./src/adl.ts). Tooling uses loadAdlProject().getAdl() — not the alias.

optional adl?: AdlRuntime

Defined in: packages/core/src/project/config.ts:52

Process runtime (stores, observers). Set from src/adl.ts (recommended) or inline. Exposed to tooling via loadAdlProject().getAdl() / config.adl.


optional agents?: AnyAgent[]

Defined in: packages/core/src/project/config.ts:54


optional models?: AdlModelCatalogEntry[]

Defined in: packages/core/src/project/config.ts:63

Host-only model catalog for the inspector picker / CLI --model. Core never resolves agents from these entries — hosts call AdlModelCatalogEntry.factory and pass the live LanguageModel as AgentRunInput.model.


name: string

Defined in: packages/core/src/project/config.ts:46

Human-readable project label shown in the inspection UI.


optional templates?: Template<unknown>[]

Defined in: packages/core/src/project/config.ts:57

Registry key is template.name (filename basename).


optional tools?: ToolSet

Defined in: packages/core/src/project/config.ts:72

Registry-only shared tools. Runtime merge uses AdlRuntimeConfig.tools on createAdlRuntime — agents are created before this config object is finished loading.

Future inspection UI: list these tools and trigger a manual tool run (same idea as starting a workflow) without going through an agent turn.


optional workflows?: Workflow<unknown, unknown, unknown>[]

Defined in: packages/core/src/project/config.ts:55