Skip to content

agent-core / Exports / IExecutionService

Interface: IExecutionService

Interface for execution service operations

Table of contents

Methods

Methods

execute

execute(input, context, options?): Promise<string>

Execute complete agent pipeline

Parameters

NameType
inputstring
contextIConversationContext
options?IExecutionServiceOptions

Returns

Promise<string>

Defined in

packages/agent-core/src/interfaces/service.ts:234


executeStream

executeStream(input, context, options?): AsyncGenerator<string, void, never>

Execute streaming agent pipeline

Parameters

NameType
inputstring
contextIConversationContext
options?IExecutionServiceOptions

Returns

AsyncGenerator<string, void, never>

Defined in

packages/agent-core/src/interfaces/service.ts:243

Released under the MIT License.