# AgentConfig

**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#L14)

Agent Core Runtime Types

Our interfaces for agent configuration, tool definitions, and run results.
These are the contracts that domain layers (PME, doc-automation, etc.) code against.
The SDK's types are mapped to these in agent-runtime.ts — if the SDK changes,
only that file needs updating.

## Properties

| Property | Type |
|---|---|
| `name` | `string` |
| `instructions` | `string | ((context: RunContext<TContext>) => string | Promise<string>)` |
| `model` | `string` |
| `modelSettings` | `AgentModelSettings` |
| `tools` | `ToolDefinition<TContext>[]` |
| `handoffs` | `AgentConfig<TContext>[]` |
| `handoffDescription` | `string` |
| `inputGuardrails` | `GuardrailDefinition[]` |
| `outputGuardrails` | `OutputGuardrailDefinition[]` |
| `outputType` | `'text' | JsonSchemaOutput` |
| `maxTurns` | `number` |
