OktoScript The Programming Language for AI

A declarative language created to democratize artificial intelligence development.

advanced-example.okt OktoScript v1.2

What This Code Does

Why OktoScript?

A solution to the complexity of massive Python scripts

The Origin

AI Engineer Ademir P. de Oliveira created OktoScript for personal use, due to the difficulty of working with massive Python scripts and having to rewrite code constantly.

The solution was to create a declarative language that democratizes AI development, making it accessible to both engineers and people without deep programming experience.

On November 22nd, the grammar was released on GitHub for people to discover and use. OktoScript works seamlessly with OktoEngine, the native Rust/CUDA runtime, and integrates with the entire OktoSeek ecosystem.

How It Works

OktoScript is used to control training and inference in OktoEngine. With a simple and declarative syntax, you define:

  • How the model is trained (TRAIN, DATASET, MODEL blocks)
  • How it should behave (BEHAVIOR, GUARD blocks)
  • How it should react to problems (CONTROL block)
  • How to monitor and adjust automatically (MONITOR block)
📝

Simple Syntax

Readable and intuitive, no need for deep Python knowledge

🎯

Full Control

Complete control over training, inference, and model behavior

🧠

Autonomous Decisions

The model can make decisions and adjust automatically during training

Native Integration

Directly integrated with OktoEngine, no external dependencies