# RunOptions

**Kind:** Interface

**Source:** [`atloria-monorepo/libs/agent-core/src/runtime/types.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/runtime/types.ts#L312)

Options for running an agent.

## Properties

| Property | Type |
|---|---|
| `context` | `TContext` |
| `maxTurns` | `number` |
| `signal` | `AbortSignal` |
| `stream` | `boolean` |
| `onProgress` | `ProgressCallback` |
| `turnHook` | `TurnHook<TContext>` |
| `guardrailRetries` | `number` |
| `onAgentStart` | `(agentName: string) => void` |
| `onAgentEnd` | `(agentName: string, output: string) => void` |
| `maxOutputRecoveries` | `number` |
| `toolVerificationHook` | `ToolVerificationHook` |
| `toolPreExecutionHook` | `ToolPreExecutionHook` |
| `previousResponseId` | `string` |
| `nestingDepth` | `number` |
