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

> AID.production.exporter.ProductionExporter

```python theme={"theme":{"light":"dracula-soft","dark":"dracula"}}
from AID.production.exporter import ProductionExporter
```

Production deployment exporter.

Serializes a fitted champion agent and generates the
orchestration layer (Airflow DAG) for scheduled scoring.

#### Parameters

**`agent`** : *`WorkerBase | ModelUIBase`*
A fitted champion agent exposing `score(data)`, and `is_fitted`.

**`config`** : *`ExportConfig | None`*
Export configuration. Defaults to nightly schedule.

#### Examples

```python theme={"theme":{"light":"dracula-soft","dark":"dracula"}}
from aidflow.production import ProductionExporter, ExportConfig
config   = ExportConfig()
exporter = ProductionExporter(agent, config)
paths    = exporter.export_all('./deployment/')
# paths['pickle']      → deployment/champion.pkl
# paths['airflow_dag'] → deployment/dag.py
```


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