GitHubGet started
← All use cases

A decision helper

Routes a support inbox to departments, asking the Laya decision model on the guest GPU where each ticket goes.

GPUPython with uvPython · Node.js · Rust

examples/laya
The laya agent filing support tickets under departments
You Route every ticket to the proper department

It asks Laya where each ticket goes

Laya gives a probability for every department, so the agent can tell when it is unsure.

the skill, run_laya.py
  • → python3 run_laya.py bf16 '{"state": "…", "questions": {…}}'
  • ← the choice, and the probability of every department

It files the whole inbox

Each ticket is copied into its department's folder, with a summary of what went where.

the inbox, filed
  • /context/inbox/the tickets, read-only
  • /artifacts/routes/<department>/each ticket, filed
  • /artifacts/routing.mdwhat went where

On your GPU, inside the VM

Laya runs through ncnn on Vulkan in the VM, on your machine's GPU.

the agent's microVM
  • python:3.12-slim-trixiewith ncnn
  • Virtio-GPU Venusyour GPU, over Vulkan
  • 2 vCPUs · 4 GiB
  • /modelsLaya, converted on first run

Run it

git clone https://github.com/brekkylab/ailoy
git clone https://github.com/brekkylab/ailoy-examples
cd ailoy-examples/laya/python
uv run main.py
needs GPU · Python with uv · and a logged-in Claude Code, Codex or Gemini CLI, or an API key

Run your first agent
in its own microVM

Install the package, name a model and run it