@agentvault/playwright

Private test build — not on npm. Install it straight from this site.

Install

With Bun:

bun add https://this-site.invalid/sdk/agentvault-playwright.tgz

With npm / pnpm / yarn:

npm install https://this-site.invalid/sdk/agentvault-playwright.tgz

Configure

Set these before running your agent:

export SELF_AGENT_PAY_API_KEY=<your agent key from the dashboard>
export SELF_AGENT_PAY_PROXY_URL=wss://<proxy host>/v1
export SELF_AGENT_PAY_API_URL=https://<your-deployment>.convex.site

Use

import { chromium, listTokens } from "@agentvault/playwright";

const catalog = await listTokens();
const browser = await chromium.launch();
const page = await browser.newPage();
// fill checkout forms with catalog tokens; the proxy substitutes real values
await browser.close();

Full API, the token grammar, and the rules of engagement are documented in the package README (bundled in the tarball). Questions? Ping the team.