AGENT INTEGRATION
From demo to your agent.
One portable Skill with a Node.js client, pinned dependencies and a no-payment preview. Supports webpage reading and company profiles.
Download ResearchPi Skill ZIP ↓ Read the Skill first1. Unzip and preview
Unzip the download. Open a terminal in its researchpi directory. Node.js 24 is required.
node scripts/researchpi.mjs preview
This prints the recorded GitHub test response. No dependencies, wallet or payment needed. To inspect the live API price without buying:
node scripts/researchpi.mjs quote company github.com
2. Give the Skill to your agent
Ask your agent to read the downloaded researchpi/SKILL.md and use its bundled script. For agents with local Skill discovery, install the complete folder in the location supported by your agent. Keep scripts and assets together.
Read the ResearchPi SKILL.md in this folder. Show me the recorded company example, then quote a github.com lookup. Do not make a paid request yet.
3. Run one intentional purchase
Install the pinned client dependencies:
npm ci
Supply a dedicated buyer wallet key through RESEARCHPI_BUYER_PRIVATE_KEY in your local environment, not in a prompt or command argument. Fund it with native USDC on Base. Set RESEARCHPI_ALLOW_PAYMENT=true when you have authorized the task and budget.
node scripts/researchpi.mjs buy company github.com --request-id company-001 --max-usdc 0.060
Or read a page for at most 0.005 USDC:
node scripts/researchpi.mjs buy read https://example.com/ --request-id page-001 --max-usdc 0.005
A new request ID means a new intended purchase. On a timeout, run the same command with the same ID. Signed requests are saved before dispatch and completed results are cached locally. Keep .researchpi-state private; it contains payment credentials. Do not delete it to work around an uncertain payment.
Know what you get
Profiles reflect official-site metadata, not verified legal identities. Preserve source URLs, missing fields, conflicts and warnings. Public HTTPS HTML only; no browser rendering, PDFs or invented financials.