@firstpick/pi-extension-brave-search
v0.1.4
Published
Brave Search tool for Pi with API key resolution from env and .env files.
Downloads
603
Maintainers
Readme
pi-extension-brave-search
Brave Search tool integration for Pi.
What it does
- Adds the
brave_searchtool for live web search from Pi. - Returns formatted results plus structured metadata.
- Applies sane limits to keep output stable and context-safe.
- Resolves API key in this order:
process.env.BRAVE_SEARCH_API_KEY./.env(current working directory)PI_CODING_AGENT_DIR/.env
Install
pi install npm:@firstpick/pi-extension-brave-searchConfiguration
BRAVE_SEARCH_API_KEY(required)
Commands
/brave-search-status— show whether Brave Search is configured and where key resolution succeeded./brave-search-test <query>— run a direct test query.
Tools
brave_search- Inputs:
query, optionalcount,country,search_lang,freshness,safesearch - Output: formatted search results + metadata
- Inputs:
