Professional CLI Engine for Training AI Models
OktoEngine is the official execution engine for OktoScript, developed by OktoSeek AI. It transforms OktoScript configurations into trained, production-ready AI models with a single command.
OktoEngine is engineered to handle models of any size—from millions to billions of parameters. It supports complex training pipelines including full fine-tuning, LoRA adapters, and multi-dataset training with automatic optimization and checkpointing.
OktoEngine is the official execution engine for OktoScript. It reads your .okt files
and executes the complete training pipeline automatically—from dataset loading to model export.
Instead of writing hundreds of lines of Python code, you define your training pipeline in a simple, declarative format, and OktoEngine handles all the complexity behind the scenes.
One command: okto train
→ Trained model ready for deployment
OktoEngine provides everything you need for professional AI model training with autonomous decision-making:
Minimal CLI by design. All intelligence lives in the .okt file. The terminal is just the execution port.
Core Commands: init, validate, train, eval, export, convert
Inference Commands: infer, chat
Analysis Commands: compare, logs, tune
Utility Commands: list, doctor, upgrade, about, exit
OktoEngine executes CONTROL blocks that enable autonomous decision-making. Models can self-adjust learning rates, batch sizes, and stop conditions based on real-time metrics.
What makes it unique: Real-time parameter adjustment based on metrics, using CONTROL block logic for decision-making. No manual intervention needed. Adapts to training conditions automatically.
Training Methods:
Intelligent Training Control:
Monitor training progress, loss, learning rate, GPU usage, and CONTROL decisions in real-time directly in your terminal. MONITOR block tracks any metric you specify.
Built-in GUARD block for safety and ethics protection (hallucination, toxicity, bias detection). BEHAVIOR block controls model personality, verbosity, language, and response style. SECURITY block for input/output validation, rate limiting, and encryption.
Convert models between formats: PyTorch, ONNX, GGUF, TFLite, OktoModel, SafeTensors. Perfect for deployment to different targets (web, mobile, local inference).
Start interactive chat sessions with trained models. Uses BEHAVIOR settings, enforces GUARD rules, and supports session context. Type /exit to quit.
Comprehensive debug logging for troubleshooting and understanding execution flow with detailed diagnostics.
Enable with --debug flag for verbose output.
Built-in upgrade system that automatically downloads and installs the latest version from GitHub Releases.
Simply run okto upgrade to stay up-to-date.
Comprehensive environment checking with automatic dependency installation and system health monitoring.
Use okto doctor to check your system, or okto doctor --install to automatically fix issues.
OktoEngine provides a complete CLI interface for working with OktoScript files. These commands are available both in the terminal and are called by the OktoSeek IDE.
Initialize a new OktoScript project with boilerplate configuration.
Validate OktoScript files for syntax errors and configuration issues.
Train models from OktoScript configurations with real-time metrics and autonomous CONTROL decisions.
Evaluate trained models against test datasets.
Export trained models to multiple formats (ONNX, GGUF, TFLite, OktoModel, etc.).
Convert models between different formats. Perfect for deployment to different targets.
Supported formats: pt, bin, onnx, tflite, gguf, okm, safetensors
Run direct inference on a trained model (single input/output). Automatically respects BEHAVIOR, GUARD, INFERENCE, and CONTROL blocks.
Start an interactive chat session with a trained model. Uses BEHAVIOR settings, enforces GUARD rules, and supports session context.
Compare two trained models using the same test inputs. Compares latency, accuracy, loss, and resource usage.
Perfect for A/B testing. Shows detailed comparison table with recommendations.
View historical training logs and metrics saved by CONTROL and MONITOR blocks.
Shows loss per epoch, validation loss, accuracy, CPU/GPU/RAM usage, and decisions made by CONTROL block.
Auto-tune training parameters using the CONTROL block for intelligent optimization.
Uses CONTROL block logic to auto-adjust training. Can adjust learning rate dynamically, change batch size based on memory, activate early stopping, and balance classes automatically. This is unique in the market.
List available projects, models, datasets, or exports.
System diagnostics and automatic dependency installation.
Automatically update to the latest version from GitHub Releases.
Display information about OktoScript and OktoEngine.
Exit interactive mode (chat, tune, or other interactive sessions).
OktoEngine is designed to train models of any size with enterprise-grade reliability:
Start training AI models in minutes:
Download the latest release for your platform (Windows, Linux, or macOS) from GitHub Releases.
Download from GitHub Releases →
Run okto init my-project to create a new project with boilerplate configuration.
Run okto train and watch your model train with real-time metrics in the terminal.
OktoEngine will be integrated into OktoSeek IDE for visual training workflows:
OktoEngine is available for Windows, Linux, and macOS. Download the latest release from GitHub Releases.
Download from GitHub Releases →
Your platform will be automatically detected. You can also use okto upgrade to automatically update to the latest version.