<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / IExecutionService

# Interface: IExecutionService

Interface for execution service operations

## Table of contents

### Methods

- [execute](IExecutionService#execute)
- [executeStream](IExecutionService#executestream)

## Methods

### execute

▸ **execute**(`input`, `context`, `options?`): `Promise`\<`string`\>

Execute complete agent pipeline

#### Parameters

| Name       | Type                                                   |
| :--------- | :----------------------------------------------------- |
| `input`    | `string`                                               |
| `context`  | [`IConversationContext`](IConversationContext)         |
| `options?` | [`IExecutionServiceOptions`](IExecutionServiceOptions) |

#### Returns

`Promise`\<`string`\>

#### Defined in

[packages/agents/src/interfaces/service.ts:223](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L223)

---

### executeStream

▸ **executeStream**(`input`, `context`, `options?`): `AsyncGenerator`\<`string`, `void`, `never`\>

Execute streaming agent pipeline

#### Parameters

| Name       | Type                                                   |
| :--------- | :----------------------------------------------------- |
| `input`    | `string`                                               |
| `context`  | [`IConversationContext`](IConversationContext)         |
| `options?` | [`IExecutionServiceOptions`](IExecutionServiceOptions) |

#### Returns

`AsyncGenerator`\<`string`, `void`, `never`\>

#### Defined in

[packages/agents/src/interfaces/service.ts:232](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/service.ts#L232)
