0210GitHub
TypeSafe AI playground
110 use cases, games and dilemmas, with editable prompts and A/B tests.
BunsDev/typesafe-ai-playgroundREADME ↗
# TypeSafe AI Playground A community playground for **TypeSafe AI's Jev**: edit classification experiments, compare A/B inputs, route conversations, extract document fields, inspect code-policy decisions, and explore games and simulations built around typed model outputs. **Small experiments. Clear decisions.** This is an independent community project, not an official TypeSafe AI product, production agent harness, or claim that a typed answer is correct. **Shout-out to [@nickthompson480](https://github.com/nickthompson480) for the [original TypeSafe AI playground (examples only)](https://github.com/nickthompson480/typesafe-ai-playground).** This community extension builds on that project's example library and Python foundation with a Next.js interface and interactive prototypes. The original credit and [MIT license](LICENSE) are retained. [Open the live playground](https://typesafe-ai-playground.vercel.app) · [TypeSafe API documentation](https://docs.typesafe.ai/introduction/quickstart) · [Contributing](CONTRIBUTING.md) · [Agent guide](AGENTS.md) ## Run locally Use **Node.js 22+** and the exact pnpm version pinned in [package.json](package.json), currently `10.34.5`. Use pnpm only: the repository's local guard rejects other package managers, and `pnpm-lock.yaml` is the single JavaScript dependency lockfile. ```sh git clone https://github.com/TypeSafeAI/typesafe-playground.git cd typesafe-playground # Install/activate the pnpm version declared in package.json. # Where Corepack is installed, `corepack enable` enables its shims. pnpm install --frozen-lockfile cp .env.example .env.local # For live evaluations, edit .env.local and set TYPESAFE_API_KEY. pnpm dev ``` Open the dedicated development address, `http://localhost:3042`. `pnpm dev` keeps this port by defaul