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

# train • AI Agents Framework

> Backward-compatible shim for the LLM fine-tuning entry point.

# train

<Badge color="purple">AI Agents Framework</Badge>

Backward-compatible shim for the LLM fine-tuning entry point.

The canonical fine-tuning implementation lives in
:mod:`praisonai_train.train.llm.trainer` (C10; `praisonai.train` is an
`alias_package` shim to it). This top-level module is retained only as a
thin re-export so that any legacy reference to `praisonai/train.py`
(e.g. `python path/to/train.py train`) keeps working. There is a single
owner: `praisonai_train.train.llm.trainer`.

Note: because `praisonai.train` resolves to the package, this file is only
reachable when executed directly as a script, not via `import`.

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonai import train
```

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Agent Train" icon="dumbbell" href="/docs/docs/concepts/agent-train" />

  <Card title="Training" icon="chart-line" href="/docs/docs/train" />
</CardGroup>
