orxtra v0.13.0 /orxtra validate
On this page

Validate agent, workflow and model-category TOML files against their strict schemas without touching the database, as a pre-commit or CI check.

#orxtra validate

Validate agent, workflow, and category configuration TOML files.

#validate agent

Validate an agent definition TOML file against the agent module's strict schema, without touching the database. Prints every error it finds to stderr and exits non-zero, or prints 'valid' and exits zero when the file is clean. Suitable as a pre-commit or CI check over a directory of agent definitions.

Effect: read_only

#Arguments

Arguments
NameRequiredDescription
pathyesFilesystem path to the agent TOML file to validate.

#validate workflow

Validate a workflow definition TOML file against the strict workflow schema without touching the database, checking the task declarations it makes and the dependency structure between them. Prints every error it finds to stderr and exits non-zero, or prints 'valid' and exits zero when the file is clean.

Effect: read_only

#Arguments

Arguments
NameRequiredDescription
pathyesFilesystem path to the workflow TOML file to validate.

#validate categories

Validate a model-categories TOML file against the strict categories schema without touching the database, checking the multi-provider model routing it declares. Prints every error it finds to stderr and exits non-zero, or prints 'valid' and exits zero when the file is clean.

Effect: read_only

#Arguments

Arguments
NameRequiredDescription
pathyesFilesystem path to the categories TOML file to validate.
Search