Install
Install with PiG
pig install npm:@mmalecki/feather-pi-webInstall with Pi
pi install npm:@mmalecki/feather-pi-webReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.
feather-pi-web
Lean web search and web fetch tools for pi, aimed at smaller models.
webfetch- fetches a page and reduces it to the markdown of its main content (up to 50k characters). Withcompact, a model summarizes it (with an optionalfocus) before it reaches the agent's context. Withraw, the page source comes back as fetched instead (up to 150k characters, or a quarter of the model's context window if that is less), for when the markdown is missing something. Images come back as attachments, converted and scaled the way pi'sreadtool does it (following theimages.autoResizesetting)websearch- searches through Parallel's Search API, which returns markdown excerpts per result
Installation
pi install git:github.com/mmalecki/feather-pi-web
Or try it for one run with pi -e /path/to/feather-pi-web.
Configuration
PARALLEL_API_KEY- enableswebsearchWEBFETCH_COMPACT_MODEL- theprovider/modelthat summarizes fetched pages, e.g. a small local one. Defaults to the session's model.WEBFETCH_MAX_RAW_CHARS- the most characters of page source arawfetch returns, whatever the model's context window. Defaults to 150000, or a quarter of the context window if that is less.
Summarizing runs without thinking, and its token usage counts towards the session's.