> ## 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.

# AgentsTransitionWorker.transform

**def AgentsTransitionWorker.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\transition\agents_transition.py#L480)

Re-evaluate the transition analysis on a new dataset.

Runs the full cross-agent transition analysis on any
data sample. Use this to:

* Monitor cross-agent stability on subsequent OOT windows.
* Analyze a subset of agents (e.g., the top 2 from the
  comparison).
* Generate a fresh transition report for a different
  segment or time period.

#### Parameters

**`data`** : *`pDF`*
The dataset for transition analysis (must contain\
target + features).

**`agents`** : *`tuple`*
Subset of agents to include (e.g., `(1, 2)` for\
a single pair, or `(1, 3, 4)` for multiple pairs).

#### Returns

*`AgentsTransitionResult`*
Transition vectors for the requested agent pairs.

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


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