pi-elm-websearch
A Pi coding-agent package that searches the public web with Linkup.
Package details
Install pi-elm-websearch from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-elm-websearch- Package
pi-elm-websearch- Version
0.1.0- Published
- Aug 31, 2026
- Downloads
- 181/mo · 13/wk
- Author
- aseales
- License
- MIT
- Types
- extension, skill
- Size
- 10.3 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"skills": [
"./skills"
],
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Pi ELM web search
A Pi coding agent package that adds a web_search tool backed by Linkup and accessed through the University of Edinburgh ELM API.
The tool supports fast, standard, and deep search, domain and date filters, and returns source URLs and content for citation-backed answers. The package also bundles an elm-websearch skill with search and citation guidance.
Requirements
- Pi coding agent 0.84.4 or later
- Node.js 20 or later
- An ELM API key with access to web search
Install
Install directly from a checkout:
pi install /absolute/path/to/elm-websearch-pi
Use -l to install it for only the current project:
pi install -l /absolute/path/to/elm-websearch-pi
Set the API key in the environment used to launch Pi:
export ELM_API_KEY="your-key"
pi
Do not commit the key to a repository. The base URL defaults to https://elm.edina.ac.uk/api/v1. Set ELM_API_BASE_URL before starting Pi to use a different ELM deployment.
Tool arguments
| Argument | Required | Description |
|---|---|---|
query |
Yes | Focused web-search query |
depth |
No | fast, standard (default), or deep |
max_results |
No | Number of results, from 1 to 100; defaults to 10 |
include_domains |
No | Domains to include |
exclude_domains |
No | Domains to exclude |
from_date |
No | Earliest result date in YYYY-MM-DD format |
to_date |
No | Latest result date in YYYY-MM-DD format |
Development
npm install
npm test
To try the extension without installing it:
pi -e ./extensions/index.ts
License
MIT