Skip to content
System One

filedcom/playjev

A TypeScript library for controlling websites with plain-English instructions on top of the full Playwright API, similar to Stagehand but with Jev making the browser decisions instead of a generative LLM.

filedcom/playjev on GitHub

Stars
7
Forks
1
Language
TypeScript
License
MIT
Last push
20 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

if (!options.apiKey) throw new Error("TYPESAFE_API_KEY is required");
this.#apiKey = options.apiKey;
this.model = options.model ?? "jev-latest";
this.baseUrl = (options.baseUrl ?? "https://api.typesafe.ai/v1").replace(/\/$/, "");
this.timeoutMs = options.timeoutMs ?? 30_000;
this.maxRetries = options.maxRetries ?? 2;
if (this.timeoutMs <= 0) throw new Error("requestTimeoutMs must be greater than zero");
if (!Number.isInteger(this.maxRetries) || this.maxRetries < 0) {
  throw new Error("maxRetries must be a non-negative integer");
}

View in src/jev/client.ts

Open on GitHub

More like this

Use cases this is tagged with