Laya vs Jev Arena: a Snake race and a Mortal-Kombat-style fight, nothing scripted
From the Prompt Engineer 48 video. Both models get the same input and typed questions; only the model differs. Laya needs no key.
# Laya vs Jev — AI vs AI Arena Two AI models go head to head in a **snake race** and a **Mortal-Kombat-style fight**. Every move is a real decision from the model — nothing is scripted. - **Laya** — open source, Apache 2.0, runs **locally** on your machine · [GitHub](https://github.com/NandhaKishorM/laya) · [Hugging Face](https://huggingface.co/convaiinnovations/laya) - **Jev** — TypeSafe's closed model, runs over their **API** · [announcement](https://typesafe.ai/blog/introducing-system-one-models-and-jev) Both take the same input and answer the same typed questions, so the only thing that changes between the two sides is the model. From the **Prompt Engineer 48** YouTube video. --- ## Quickstart **You need:** Python 3.10+, a browser, and (for Jev) a TypeSafe API key from [console.typesafe.ai](https://console.typesafe.ai). Laya needs no key. ```bash git clone https://github.com/PromptEngineer48/laya-vs-jev-arena.git cd laya-vs-jev-arena pip install -r requirements.txt ``` Add your Jev key: ```bash cp .env.example .env # Windows: copy .env.example .env ``` Open `.env` and paste your key after `TYPESAFE_API_KEY=`. Start the server: ```bash python server.py 8740 ``` Then open: | | | |---|---| | Front page | http://localhost:8740/ | | Snake race | http://localhost:8740/snake/ | | Kombat | http://localhost:8740/fight/ | Pick a model for each side from the dropdowns and hit **Start race** / **Fight**. ### Good to know - **The first Laya call takes ~30–60 s** — it downloads and loads the checkpoints once. That happens during "Priming…", before the clock starts. - **Keep the tab in the foreground.** Browsers throttle background tabs, and the game only advances while the page is drawing. - **No key?** Set both sides to Laya — or play yourself with