# Interface IPipelineStage

A pipeline stage that can be compiled into a graph node.

interface IPipelineStage {
id: string;
name: string;
execute(context: PipelineContext): Promise<StageOutput>;
}

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:43

##### Index

### Properties

id
name

### Methods

execute

## Properties

### `Readonly` id

id: string

Unique stage identifier (used as graph node ID).

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:45

### `Readonly` name

name: string

Human-readable stage name.

- Defined in packages/nexus-agents/src/pipeline/stage-types.ts:47

## Methods

### execute

- execute(context: PipelineContext): Promise<StageOutput>

  Execute the stage.

  #### Parameters

  - context: PipelineContext

  #### Returns Promise<StageOutput>

  - Defined in packages/nexus-agents/src/pipeline/stage-types.ts:49