Overview
What @vorq-ai/client-sdk is, who it is for, and where to start.
@vorq-ai/client-sdk is the JavaScript and TypeScript client for the VORQ inference exchange. It
submits inference jobs, pays for them and reads their results, from Node or straight from a
browser page, with no backend of your own in between.
Every submission is sealed. The payload is encrypted in your process, the order is signed with your wallet, and the result comes back sealed to a key only you hold. The coordinator sees routing terms and ciphertext, never a prompt or an output.
Who it is for
- Node services and scripts that hold a dedicated wallet key and submit jobs in the background.
- Browser apps where each user connects their own wallet and pays for their own jobs.
- Code that already uses the
openaipackage, through a drop-infetchthat seals every Responses request.
What it covers
- One
submit/resultflow for text, image, video and embedding models. - Browser wallets over EIP-6963 (
BrowserWalletSigner) and local keys for Node (PrivateKeySigner). - A result key derived from the wallet (
deriveResultCipher): one key to hold and back up. - Payment by EIP-3009 authorization in the deployment's USDC token; costs computed locally as exact decimals.
- Durable jobs: store the id, re-attach later with
client.job(id). - Sealed batches (
client.batches). sealingFetch, which runs the stockopenaipackage's Responses API over the sealed flow.
The package is ESM-only, ships TypeScript types, and has one implementation for Node ≥ 22 and modern browsers.
Where to start
- Quickstart: install, submit a first job from Node and read its result.
- Use a browser wallet: the same flow in a web page.
- Job lifecycle: what happens between
submitandresult. - Client reference: the full API surface, split by area.