Kaya is an AI scripting language

Written in Rust for embedded and standalone use.

Language Design

  • LLM aware type system
  • Inline templating
  • Chat-style stdio
  • Weave agents & code

Runtime Design

  • Auto sandboxing
  • Durable execution
  • Client-server architecture
  • Log-based state
// Chat-style standard IO
[assistant] "How would you rate this?"

// LLM-integrated type system
type Rating = "bad" | "neutral" | "good"
const rating: Rating = input()

// Inline templating for strings
let reply = generate(message: "Reply to the {{rating}} rating.")
"{{reply}}"
Kaya is WebAssembly-friendly.Run in browser
Install Kaya v0.1.0

This command installs the selected native standalone version.

Linux GNU x64View install script
curl -fsSL https://kaya-lang.org/install.sh | KAYA_VERSION=0.1.0 bash
Set up editor syntax highlighting →