@agentrouter/pi0.2.0
Price and run research tools in Pi with AgentRouter, an optional spending cap and receipts.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
AgentRouter for Pi
Look up what a provider tool costs, run a query with an optional USD cap, and retrieve the result and receipt. The package includes four research skills. Browse the AgentRouter tool catalog.
Install
Use Pi 1.6 or later in the 1.x series.
pi install npm:@agentrouter/pi
pi
To install from source, run pi install git:github.com/pageonelab/agentrouter-pi@v0.2.0. To upgrade an npm installation, run pi update npm:@agentrouter/pi. In an existing Pi session, use /reload.
Try a free price check
In interactive Pi, enter:
/agentrouter-price dataforseo.serp_google_organic
This reads the current public pricing without signing in or charging a wallet. The Google organic search tool page includes the input fields and billing details.
Bundled skills
Ask in your own words or name a skill. The host uses its description to select the instructions.
| Skill | Try asking |
|---|---|
| competitor-brief | Which alternatives do buyers mention on Reddit, and what made them switch? |
| job-shortlist | Find three Toronto sales roles I can apply for today. Link the employer forms. |
| growth-teardown | How does this product turn free users into referrals? Show where that happens. |
| ugc-teardown | Use my clip notes to write a 12-second Reel for this product, with two opening lines. |
Use /skill:job-shortlist to select a skill explicitly. The earlier /skill:agentrouter-competitor-brief shortcut still works.
Connect AgentRouter
In Pi, run /mcp login agentrouter and finish the browser sign-in. Pi stores the OAuth credentials. Open /mcp to inspect the connection. If a configuration file already defines a server called agentrouter, Pi uses that definition first. Check that it points to https://mcp.agentrouter.to/.
/skill:competitor-brief Compare vercel.com and netlify.com for “frontend hosting” in US English. Show me the prices first.
The extension exposes four MCP tools: find, describe, invoke and get run. A paid invocation requires the current pricing version, an idempotency key and interactive confirmation. A USD ceiling is optional. The user reviews the charge terms before the request goes to AgentRouter. Provider inputs go to AgentRouter and the selected provider. Use the returned run ID to retrieve a receipt. When using RPC, the client must handle approval dialogs. Print and JSON modes block paid calls.
AgentRouter MCP and account setup · Research examples with receipts · Pi MCP guide