# CodePipelineProcessAgentOverride

For one run, a different engine or model for one of the pipeline's agents.

**Kind:** an object, used in requests and responses. In a request it is called `CodePipelineProcessAgentOverrideInput`.

## In a request

| Field | Type | Required | Description |
|---|---|---|---|
| `agentName` | `string` |  | The agent to change: one of the pipeline's agents or the run's `additionalAgents`. |
| `engine` | [`CodeEngineType`](https://docs.maitento.com/reference/types/code-engine-type.md)`\| null` |  | The engine to use instead of the agent's `defaultEngine`. Null: keep it. |
| `model` | `string \| null` |  | The model to use instead of the agent's `defaultModel`. Null: keep it. |

```json
{
  "agentName": "...",
  "engine": "Claude",
  "model": "..."
}
```

## In a response

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `agentName` | `string` | The agent to change: one of the pipeline's agents or the run's `additionalAgents`. |
| `engine` | [`CodeEngineType`](https://docs.maitento.com/reference/types/code-engine-type.md)`\| null` | The engine to use instead of the agent's `defaultEngine`. Null: keep it. |
| `model` | `string \| null` | The model to use instead of the agent's `defaultModel`. Null: keep it. |

```json
{
  "agentName": "...",
  "engine": "Claude",
  "model": "..."
}
```

## Where it's used

- Inside [`CodePipelineProcess`](https://docs.maitento.com/reference/types/code-pipeline-process.md)
- Inside [`CodePipelineProcessStartRequest`](https://docs.maitento.com/reference/types/code-pipeline-process-start-request.md)
