Reaper Language
Reaper is a scripting language for orchestrating NNN (Nested Neural Network) architectures. Where VITA is compiled and systems-level, Reaper is dynamic and used for high-level bot logic, conversation routing, and runtime AI orchestration.
Think of it as a configuration language with teeth — you can define bots, routes, triggers, and inference pipelines without touching Node.js.
Syntax
Variables
let x := 42
let name := "void"
mut counter := 0 // mutable
Reap blocks (entry points)
reap main {
log("hello from reaper")
}
reap on_connect(user: User) {
log("user joined: " + user.name)
}
Bot definitions
bot Lilly {
model: "llama3.2:3b"
system: "You are Lilly, death goddess"
temp: 0.9
trigger mention("lilly") {
respond(context)
}
trigger schedule("6h") {
dm(random_user(), greet())
}
}
Inference calls
let reply = infer("llama3.2:3b", {
system: "be helpful",
user: message.content,
max_tokens: 256
})
respond(reply)
Types
Int // integer
Float // floating point
String // text
Bool // true/false
User // authenticated user
Message // chat message
Context // conversation history
List[T] // array
Map[K,V] // dictionary