← nopea.tech
ScaneaConsenteaMaskeaBundlesPricing

Maskea Studio

Build your pipeline visually. Export a real maskea.config.ts — nothing runs server-side, nothing is sent anywhere.

← Back to Maskea
maskea.config.ts
import { Nopea, retries, budget, secrets, pii, logging } from "@nopeatech/maskea";
import OpenAI from "openai";

const openai = new OpenAI();

export const maskea = new Maskea()
  .use(retries({ max: 3, backoff: "exponential" }))
  .use(budget({ maxMonthlyUsd: 50 }))
  .use(secrets({ mode: "mask" }))
  .use(pii({ mode: "mask" }))
  .use(logging({ format: "pretty" }));

// Wrap your existing AI call:
export const chat = maskea.wrap(
  openai.chat.completions.create.bind(openai.chat.completions)
);

Runs entirely in your browser. Nothing here is sent to a server — same local-first rule as the SDK itself.