> ## Documentation Index
> Fetch the complete documentation index at: https://aidflow.aigensys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AgentsPredictorWorker.transform

**def AgentsPredictorWorker.transform**(self, data, agents=tuple(AGENTS)) [\[source\]](https://github.com/aigensys-labs/aidflow/blob/main/AID/\TRUENAS\aig_modeling_Products\AID\1_0_Lib\AID\selector\predict\agents_predictor.py#L451)

Predict with one or more agents on a new dataset.

Produces synchronized probability predictions for the
requested agents on any data sample. Use this to:

* Score a new OOT window.
* Predict on a subset of agents (e.g., the top 2).
* Generate predictions for a different segment.

#### Parameters

**`data`** : *`pDF`*
The dataset to be scored (must contain the features\
required by the agents).

**`agents`** : *`tuple`*
Subset of agents to engage. Defaults to all trained\
agents.

#### Returns

*`AgentsPredictorResult`*
A unified result object containing synchronized\
predictions for all requested agents.

> [!NOTE]
>
> **No State Change**: This method does not modify the
> fitted state. It produces a fresh prediction on the new
> data. The original fit results remain accessible via
> `.fitted`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.