Install
openclaw skills install kagiPerform web searches and generate summarized answers with citations using the Kagi API and FastGPT for higher-quality results or rate-limit fallback.
openclaw skills install kagiUse the bundled Python scripts to call Kagi’s API from the OpenClaw host.
export KAGI_API_TOKEN='…'
python3 scripts/kagi_search.py "haaps glass" --limit 10 --json
python3 scripts/kagi_fastgpt.py "Summarize the latest Haaps glass mentions" --json
Use when you need a normal ranked list of results (URLs/titles/snippets).
Command:
python3 scripts/kagi_search.py "<query>" [--limit N] [--json]
Notes:
--json for raw API output.Authorization: Bot <token>.Use when you want a short answer grounded in web results, including reference URLs.
Command:
python3 scripts/kagi_fastgpt.py "<question>" [--cache true|false] [--json]
If Brave Search is rate-limited (429) or you want better results:
scripts/kagi_search.py to fetch resultsreferences/kagi-api.mdscripts/kagi_client.py, scripts/kagi_search.py, scripts/kagi_fastgpt.py