Documentation Index
Fetch the complete documentation index at: https://docs.arkor.ai/llms.txt
Use this file to discover all available pages before exploring further.
createArkor
createArkor produces the project manifest that arkor dev, arkor start, and Studio look for in src/arkor/index.ts. In a typical project, you write it once and never touch it again.
trainer you pass comes from createTrainer. The scaffolder generates this file for you in arkor init.
Why have a manifest at all?
Today the manifest only carries aTrainer, but the type reserves space for deploy and eval slots so future pieces can sit alongside training without changing the entry-file shape. Always export arkor (not just trainer) from src/arkor/index.ts so your project keeps working when those slots land.
Reference
For the fullArkorInput / Arkor type shape, the three export shapes the runner accepts (arkor, trainer, default), the isArkor companion type guard, and the reserved fields’ direction, see the createArkor reference.