# Interface WorkflowDefinition

Workflow definition (loaded from template).

interface WorkflowDefinition {
name: string;
version: string;
description?: string;
inputs: InputDefinition[];
steps: WorkflowStep[];
timeout?: number;
defaultBudget?: ContextBudget;
}

- Defined in packages/nexus-agents/src/core/types/workflow.ts:75

##### Index

### Properties

name
version
description?
inputs
steps
timeout?
defaultBudget?

## Properties

### name

name: string

Workflow name

- Defined in packages/nexus-agents/src/core/types/workflow.ts:77

### version

version: string

Version

- Defined in packages/nexus-agents/src/core/types/workflow.ts:79

### `Optional` description

description?: string

Description

- Defined in packages/nexus-agents/src/core/types/workflow.ts:81

### inputs

inputs: InputDefinition[]

Input definitions

- Defined in packages/nexus-agents/src/core/types/workflow.ts:83

### steps

steps: WorkflowStep[]

Workflow steps

- Defined in packages/nexus-agents/src/core/types/workflow.ts:85

### `Optional` timeout

timeout?: number

Global timeout in ms

- Defined in packages/nexus-agents/src/core/types/workflow.ts:87

### `Optional` defaultBudget

defaultBudget?: ContextBudget

Default context budget for workflow steps (individual steps can override)

- Defined in packages/nexus-agents/src/core/types/workflow.ts:89