Private test build — not on npm. Install it straight from this site.
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
The commands above still read this-site.invalid, and this page deliberately
does not fill it in for you. It is a static file: nothing hands it the origin this
deployment is configured to serve on, so all it could use is the hostname your
request happened to arrive under — and if that were someone else's, the command would
fetch and execute their code on your machine. A person reading their own address bar can
tell the difference; this script cannot.
So replace https://this-site.invalid with the origin shown in your address
bar, once you are satisfied it is the deployment you meant to visit — but only if that
origin is https://, or a local server on
localhost / 127.0.0.1. If your address bar shows
http:// on any other host, do not substitute it: the tarball would arrive
over a channel anyone on the path can rewrite, and these commands EXECUTE what arrives.
Reach this page over https:// first, then copy the origin from there. The
dashboard's Overview page shows the same commands already filled in, if you would rather
copy them from there.
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
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.