Skip to main content

VoltAgentSkillExecutor

Workspace API


Workspace API / services/executors/VoltAgentSkillExecutor

services/executors/VoltAgentSkillExecutor

Classes

VoltAgentSkillExecutor

Defined in: services/executors/VoltAgentSkillExecutor.ts:164

Base class for skill executors providing common functionality

Extends

Constructors

Constructor

new VoltAgentSkillExecutor(): VoltAgentSkillExecutor

Defined in: services/executors/VoltAgentSkillExecutor.ts:174

Returns

VoltAgentSkillExecutor

Overrides

BaseSkillExecutor.constructor

Properties

executorType

protected readonly executorType: ExecutorType

Defined in: services/executors/SkillExecutor.interface.ts:173

Inherited from

BaseSkillExecutor.executorType

executorName

protected readonly executorName: string

Defined in: services/executors/SkillExecutor.interface.ts:174

Inherited from

BaseSkillExecutor.executorName

executorVersion

protected readonly executorVersion: string

Defined in: services/executors/SkillExecutor.interface.ts:175

Inherited from

BaseSkillExecutor.executorVersion

Methods

getInfo()

getInfo(): ExecutorInfo

Defined in: services/executors/SkillExecutor.interface.ts:183

Get executor information

Returns

ExecutorInfo

Inherited from

BaseSkillExecutor.getInfo

successResult()

protected successResult(): ValidationResult

Defined in: services/executors/SkillExecutor.interface.ts:198

Create a success validation result

Returns

ValidationResult

Inherited from

BaseSkillExecutor.successResult

errorResult()

protected errorResult(errors, warnings): ValidationResult

Defined in: services/executors/SkillExecutor.interface.ts:205

Create an error validation result

Parameters
errors

ValidationError[]

warnings

ValidationWarning[] = []

Returns

ValidationResult

Inherited from

BaseSkillExecutor.errorResult

execute()

execute(params): AsyncGenerator<SkillSSEEvent>

Defined in: services/executors/VoltAgentSkillExecutor.ts:1544

Execute a skill using VoltAgent

Parameters
params

ExecuteParams

Returns

AsyncGenerator<SkillSSEEvent>

Overrides

BaseSkillExecutor.execute

supports()

supports(_skillVersion): boolean

Defined in: services/executors/VoltAgentSkillExecutor.ts:2169

Check if this executor supports a skill version

VoltAgent is the only executor - supports all skills

Parameters
_skillVersion

SkillVersion

Returns

boolean

Overrides

BaseSkillExecutor.supports

validate()

validate(skillVersion): Promise<ValidationResult>

Defined in: services/executors/VoltAgentSkillExecutor.ts:2178

Validate a skill version for VoltAgent execution

Parameters
skillVersion

SkillVersion

Returns

Promise<ValidationResult>

Overrides

BaseSkillExecutor.validate

Functions

getVoltAgentExecutor()

getVoltAgentExecutor(): VoltAgentSkillExecutor

Defined in: services/executors/VoltAgentSkillExecutor.ts:2292

Get the VoltAgent executor instance

Returns

VoltAgentSkillExecutor