> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.io.run_response.RunResponse

<h2 id="autogen.io.run_response.RunResponse" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">RunResponse</span>
</h2>

```python theme={null}
RunResponse(iostream: ThreadIOStream, agents: list[Agent])
```

<b>Parameters:</b>

| Name       | Description                                                                                |
| ---------- | ------------------------------------------------------------------------------------------ |
| `iostream` | **Type:** [ThreadIOStream](/docs/api-reference/autogen/io/thread_io_stream/ThreadIOStream) |
| `agents`   | **Type:** list\[[Agent](/docs/api-reference/autogen/Agent)]                                |

### Instance Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### above\_run

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### context\_variables

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### cost

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### events

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### last\_speaker

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### messages

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### summary

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### uuid

<br />

<br />

### Instance Methods

<code class="doc-symbol doc-symbol-heading doc-symbol-method" />

#### process

```python theme={null}
process(self, processor: EventProcessorProtocol | None = None) -> None
```

<b>Parameters:</b>

| Name        | Description                                                                                                                    |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `processor` | **Type:** [EventProcessorProtocol](/docs/api-reference/autogen/io/EventProcessorProtocol) \| None<br /><br />**Default:** None |

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-method" />

#### set\_ui\_tools

```python theme={null}
set_ui_tools(self, tools: list[Tool]) -> None
```

Set the UI tools for the agents.

<b>Parameters:</b>

| Name    | Description                                                     |
| ------- | --------------------------------------------------------------- |
| `tools` | **Type:** list\[[Tool](/docs/api-reference/autogen/tools/Tool)] |

<br />
