Platform
ScaiWave ScaiGrid ScaiCore ScaiBot ScaiDrive ScaiKey Models Tools & Services
Solutions
Organisations Developers Internet Service Providers Managed Service Providers AI-in-a-Box
Resources
Support Documentation Blog Downloads
Company
About Research Careers Investment Opportunities Contact
Log in

Canonical examples

These examples demonstrate the v0.1 language using the resolved syntax rules. All examples from earlier design iterations have been rewritten to follow:

  • = for all assignments, : only for type annotations
  • goal always internal to @flexible / @guarded
  • Assignment capture only (result = @block { ... })
  • @guarded with explicit guard / validate
  • on_failure error model in @flexible
  • enum[...] for compile-time symbols, "a" | "b" for string unions
  • @conversation_policy as language primitive
  • @budget, @debug blocks where appropriate
  • No @adaptive (deferred — use if + @checkpoint pattern, see §6.8), @operator, @registry, goto, or any

In this section#

Updated 2026-05-17 08:59:19 View source (.md) rev 1