Skip to content

WorkflowNodeKind

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Represents the role of a graph node.

[JsonConverter(typeof(JsonStringEnumConverter<WorkflowNodeKind>))]
public enum WorkflowNodeKind

Agent = 1

A node that runs an agent from the catalog.

Function = 5

A node that runs a function registered in code.

Orchestration = 2

A helper node added by a built-in pattern (distributor, aggregator, manager).

Output = 4

A node that collects the graph’s output.

RequestPort = 3

A port awaiting an external response. Human-in-the-loop enters here.

Unknown = 0

A node whose role could not be determined.

Written as a name in JSON. The UI picks the node shape based on it.