ARTI guides
API and command reference
Find the contract by the operation you need. Each section links to the exact public source used by these guides.
Declare and execute programs
Use typed numerical composition for a FormulaProgram and named tensor resources for ProgramGraph. A configured FederatedProgram defines the execution region hosted by ARTILayer.
| Interface | Role |
|---|---|
| FormulaProgram · FormulaFabricV2 | Static typed computation and shared execution |
| TensorResource · Connection · ProgramGraph | Named resources, producers and explicit connections |
| FederatedProgram · ARTILayer | Configured graph and host boundary |
Place, train and save a model
Placement, parameter selection and tensor-state recovery are separate operations. Preview placement before modifying a host and keep the configured layer available when reloading its saved state.
| Interface | Use |
|---|---|
| ARTI.discover · ARTI.preview | Inspect placement before mutation |
| ARTI.attach · model.arti.summary | Install configured layers and inspect paths |
| arti.trainer · model.arti.trainer | Shared objective-driven training session |
| TrainingBinding | Separate execution / parameter / state owners |
Inspect and recover a task
Project inspection is a non-executing declaration entrance. Recipe checks and actual recovery have their own factory and checkpoint behavior.
python -m arti schema task-workflow generate --kind project --output project.schema.json| Command / API | Behavior |
|---|---|
| task init · check · status · explain | Generate project / validate declarations / inspect evidence |
| TaskRecipeConfig · TaskRecipe | Application factory and complete native task |
| plan_recipe_resume · resume_recipe_run | Inspect recovery / finish original target |
Prepare, predict, evaluate and deliver
These interfaces retain the task’s original inputs and result semantics. Installed callbacks define decoding, scores and file layout.
| Interface | Operation |
|---|---|
| DatasetSnapshot | Content-verified records and native assets |
| PredictionRunConfig · run_prediction | Commit and resume result partitions |
| EvaluationSuiteConfig · evaluate_prediction_suite | Independent views over committed outputs |
| TaskRuntimeProfile | Selected packaged entrypoint and environment |
| ResultExportConfig · export_prediction_results | Exact population and named file closure |
| inspect_result_export | Verify the archive without importing task code |