Documentation Index
Fetch the complete documentation index at: https://docs.cirron.com/llms.txt
Use this file to discover all available pages before exploring further.
Cirron CLI
Cirron’s integrated CLI tool for machine learning engineers, data scientists, and anyone with an interest in ML development. The Cirron CLI streamlines the development, testing, and deployment of ML models with powerful features.Project Templates
Quick-start with PyTorch, TensorFlow, or scikit-learn templates
Automated Testing
Built-in test suite for ML environments, data pipelines, and model inference
Container Management
Simplified Docker builds and deployments with smart project detection
Environment Validation
Checks for Python, CUDA, and dependency compatibility
Installation
Install the Cirron CLI globally using npm (requires Node.js 20.19 or newer):curl one-line installer and a Homebrew formula are coming. For now, npm is the supported distribution channel.
Quick Start
Get up and running in minutes with our Quickstart Guide. The guide walks you through:- Installing the CLI
- Creating your first project
- Testing and building
- Deploying to Cirron platform
Project Detection
The CLI automatically detects Cirron projects by looking forcirron.yaml in the current working directory (cirron.yml and cirron.json are also accepted):
Project Found
No Project Found
Commands Overview
Global Commands
These commands work from anywhere:Project Commands
These commands operate on a project, identified by acirron.yaml in the current directory:
Offline Commands
Online Commands (require authentication and connection to Cirron platform)
Project Templates
The CLI provides several project templates to get you started quickly:PyTorch
TensorFlow
scikit-learn
Build System
The CLI provides intelligent container building with smart project detection:Basic Build
Registry Configuration
Configure your registry using environment variables:Image Naming Convention
Format:registry/organization/project:tag
Examples:
localhost:5000/john/my-pytorch-model:latestharbor.company.com/ml-team/sentiment-model:v1.0.0
Multi-Project Workflow
The CLI is designed for working with multiple projects:Typical Project Structure
cirron.yaml with a workspace: key instead. See Monorepo support.
Authentication
Authentication is optional and only needed for connecting to the Cirron platform. You can use all CLI features locally without authentication:Environment Validation
The CLI automatically validates your environment:- Python version compatibility
- CUDA availability for GPU projects
- Required dependencies
- Docker availability for container builds
Template System
Theinit command supports multiple ML framework templates:
- PyTorch:
pytorch(inference) andpytorch-train(training pipeline) - TensorFlow:
tensorflow(inference) andtensorflow-train(training pipeline) - Scikit-learn:
sklearn(basic model) andsklearn-pipeline(full pipeline) - Custom:
custom(blank Python project template)
requirements.txt, and a cirron.yaml for that framework, plus framework-specific data and model utilities. Training templates add a full training pipeline.
Configuration
- Project Config: Projects use
cirron.yamlfor configuration (cirron.ymlandcirron.jsonalso accepted) - Global Config: User settings in
~/.cirron/config.json, managed withcirron config - Environments: development / staging / production configurations
- Resolution order: global config → project config → command line flags
Next Steps
- Quickstart Guide - Get up and running quickly
- Commands Reference - Explore all available commands
- API Reference - Explore the Cirron API