# SessionOptions

**Kind:** Interface

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

## Properties

| Property | Type |
|---|---|
| `maxTurns` | `number` |
| `context` | `TContext` |
| `turnHook` | `TurnHook<TContext>` |
| `stream` | `boolean` |
| `toolVerificationHook` | `ToolVerificationHook` |
| `toolPreExecutionHook` | `ToolPreExecutionHook` |
| `guardrailRetries` | `number` |
| `maxOutputRecoveries` | `number` |
| `enableInjection` | `boolean` |
| `postCompactionHook` | `PostCompactionHook` |
| `planMode` | `boolean` |
| `hardPlanMode` | `boolean` |
| `architectModel` | `string` |
| `implementModel` | `string` |
| `verbose` | `boolean` |
| `onUserPromptSubmit` | `(message: string) => Promise<{ blocked: boolean; blockReason?: string }>` |
| `workspace` | `string` |
