# runProcessorPipeline

**Kind:** Function

**Source:** [`atloria-monorepo/libs/agent-core/src/context/history-processors.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/context/history-processors.ts#L286)

Run the processor pipeline over input items.
Returns the transformed items (never mutates the originals).

## Signature

```ts
function runProcessorPipeline(processors: HistoryProcessor[], items: AgentInputItem[]): AgentInputItem[]
```

## Parameters

| Name | Type |
|---|---|
| `processors` | `HistoryProcessor[]` |
| `items` | `AgentInputItem[]` |

**Returns:** `AgentInputItem[]`
