@caphub/search
v0.1.1
Published
CLI-first search capability for agents using the Caphub API
Maintainers
Readme
@caphub/search
Hosted search capability for agents.
Install
npm install -g @caphub/searchOr run without install:
npx @caphub/search --helpRequired environment
export CAPHUB_API_KEY=your_caphub_api_keyOptional:
export CAPHUB_API_URL=https://api.caphub.io/v1/runOr store both in:
~/.config/caphub/config.json
{
"api_key": "csk_live_...",
"api_url": "https://api.caphub.io/v1/run"
}Examples
caphub-search '{"function":"search","queries":["site:github.com awesome ai agents"]}'caphub-search '{"function":"search-ideas","queries":["awesome list agents"]}'Agent notes
- stdin/argv input must be a single JSON object
- stdout is always JSON
- stderr is for errors only
- designed for subprocess use by LLM agents
