Workflow orchestration system with fluent API. Enables complex agent workflows with conditional branching and parallel execution.

Constructors

Methods

  • Get workflow information

    Returns {
        id: string;
        name: undefined | string;
        description: undefined | string;
        stepCount: number;
        steps: {
            id: string;
            type: "condition" | "parallel" | "shinobi" | "kata" | "clan";
            hasCondition: boolean;
        }[];
    }

    • id: string
    • name: undefined | string
    • description: undefined | string
    • stepCount: number
    • steps: {
          id: string;
          type: "condition" | "parallel" | "shinobi" | "kata" | "clan";
          hasCondition: boolean;
      }[]
  • Validate workflow structure

    Returns {
        valid: boolean;
        errors: string[];
    }

    • valid: boolean
    • errors: string[]