Table of Contents

Class WorkflowAgentStep

Namespace
LMKit.Agents.Workflows
Assembly
LM-Kit.NET.dll

One agent step a host runs itself (AgentStepRunner): the step, what the agent receives, and, when the workflow resumes at this step, the agent's own stopped run and what unblocks it. A host that assembles its agents from more than a definition (an API key's grants, knowledge, memory, its own approval rules) runs them here exactly as it runs any agent.

public sealed class WorkflowAgentStep
Inheritance
WorkflowAgentStep
Inherited Members

Properties

CanStop

Gets whether the step may stop the workflow for a person. A step inside a parallel step cannot: its calls that need approval are refused rather than held.

Input

Gets what the agent receives, its template rendered.

Step

Gets the step: its id, agent name and revision.

StoppedRun

Gets the agent's run that stopped at this step, when the workflow resumes here; null for a fresh run.

Unblock

Gets what unblocks StoppedRun; null for a fresh run.

WorkflowRunId

Gets the run id of the workflow the step belongs to.

Share