#Pi
First-party Pi extension that adds curl.md auth and management commands plus read_web_page and curl_md tools.
#Quick Start
Install the extension, launch Pi, and start curling.
Install extension
Install the
@curl.md/pipackage with Pi:pi install npm:@curl.md/piStart Pi
Run Pi just like you normally do.
piUse Pi
Now that Pi is running with the curl.md extension, all you need to do is use Pi. To confirm everything is set up, try this out:
Read the curl.md Pi extension docs and summarize how it works. https://curl.md/docs/plugins/piPi will automatically use curl.md to turn URLs (you give it or it decides to fetch on its own) into markdown.
Tip
Optionally, authenticate with the
curl_md_logincommand to unlock higher usage limits and features, like objective extraction.
#Install
Install the @curl.md/pi npm package with Pi:
pi install @curl.md/piNote
When the @curl.md/pi package is updated, Pi will ask if you want to update to the latest version.
If you prefer to edit config manually, add the extension to your Pi settings:
{
"packages": ["npm:@curl.md/pi"]
}Test without installing:
pi -e npm:@curl.md/piTo update:
pi update npm:@curl.md/pi#Usage
Ask for a page, paste links, or let Pi figure out what it needs to fetch.
#Prompting
Inside Pi, prompt like you normally would, for example:
Read the Cloudflare Agents docs and summarize the core concepts.
https://developers.cloudflare.com/agentsIn this example, Pi will use curl.md to fetch the page and return markdown optimized for agents.
You can also tell Pi to use a specific objective, keywords, or let it decide what to use on its own (it’s really good at this).
#Authentication
Authenticate inside Pi to connect the extension to your curl.md account or organization:
/curl_md_loginThe extension uses the same auth model as the CLI so you can also use the auth login command.
curl.md auth loginFor non-interactive environments, set CURLMD_API_KEY.
#Commands
After installing, Pi registers the following commands:
#Tools
The plugin also registers the following tools:
Both read_web_page and the curl_md alias accept the following inputs:
#Status/Debugging
Use the curl_md_status command to confirm auth state, tool registration, and CLI availability.
/curl_md_status#Contributing
We welcome contributions to make the Pi extension better. Feel free to create issues or pull requests on GitHub if there are issues or something could be improved.
Last updated: May 5 3:02 PM