Computed upsell, not prompted
A pure module (14 tests) works out the exact gap to a voucher and the cheapest add-on that closes it; the LLM only phrases the sentence. Added after a prompt-only nudge silently failed.
03 / Ordering agent · bilingual
Order KFC Vietnam entirely inside a chat, in Vietnamese or English — while deterministic server code, not the model, owns every price.

The agent builds the cart, but checkout re-prices every line from the catalog server-side and re-validates the voucher — a compromised client can't change a single price.
A pure module (14 tests) works out the exact gap to a voucher and the cheapest add-on that closes it; the LLM only phrases the sentence. Added after a prompt-only nudge silently failed.
Racing double-submits collapse into one order via a partial unique index on the idempotency key — no double charge, no double loyalty redemption.
Mid-sentence Vietnamese/English switching was fixed with two fully monolingual system prompts behind a pinned language toggle — a documented bug-and-fix, not a guess.
Every model call is priced in micro-USD and cut off at $20/day, reset on Vietnam time.


Commission software, build a product together, distribute one that exists, or join in — write a few lines and Nyx will get back to you.
Send an invitation →