Python package and CLI 1.2.2
PyRel 1.2.2 adds more consistent CLI JSON and YAML output, new wait controls for long-running workflows, and Cortex agent deployment diagnostics.
How to install this version
Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:
python -m pip install "relationalai==1.2.2"For the latest installation instructions, see Start building with PyRel.
New Features and Enhancements
Section titled “New Features and Enhancements”-
More RAI CLI commands now support JSON and YAML output options, and these output formats has been standardizes across commands for easier integration with automation scripts.
The following commands now all support
--output jsonand--output yaml: -
Added a new
rai reasoners waitcommand that blocks until a reasoner isREADY. In addition, therai reasoners createandrai reasoners resumecommands now support--waitand--no-waitoptions. -
Cortex agent deployment diagnostics now help you validate your Snowflake setup before deployment:
- Use
CortexAgentManager.preflight()to surface missing permission grants and source objects in one pass. - Use
CortexAgentManager.print_setup_sql()to generate the matchingGRANTblock. - Run
python -m relationalai.agent.cortex.diagnosticsto perform the same checks from the command line.
- Use
Bug Fixes
Section titled “Bug Fixes”- Fixed a bug in relationalai.agent.cortex that could cause 404 errors during deployment.