Constructors
constructor
- new Dojo(runtime, config?): Dojo
Methods
if
- if(condition, agent): Dojo
Parameters
- condition: ((context) => boolean)
- (context): boolean
Returns boolean
- agent: any
getInfo
- getInfo(): {
id: string;
name: undefined | string;
description: undefined | string;
stepCount: number;
steps: {
id: string;
type: "condition" | "parallel" | "shinobi" | "kata" | "clan";
hasCondition: boolean;
}[];
} 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
- validate(): {
valid: boolean;
errors: string[];
} Returns {
valid: boolean;
errors: string[];
}
valid: boolean
errors: string[]
Workflow orchestration system with fluent API. Enables complex agent workflows with conditional branching and parallel execution.