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

# ProductionExporter.export_pickle

**def ProductionExporter.export\_pickle**(self, path='') [\[source\]](https://github.com/aigensys-labs/aidflow/blob/main/AID/\TRUENAS\aig_modeling_Products\AID\1_0_Lib\AID\production\exporter.py#L148)

Serialize the champion agent to a pickle file.

The resulting file is self-contained — it holds the
model, preprocessing chain, and feature lineage.
No external AIDflow imports are required at load time.

#### Parameters

**`path`** : *`Path`*
Target file path.

#### Returns

*`Path`*
The written file path.


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