kagi-fastgptlisted
Install: claude install-skill wawa1154/kagi-skills
# Kagi FastGPT
Get AI-generated answers with cited web sources using [Kagi's FastGPT API](https://help.kagi.com/kagi/api/fastgpt.html). FastGPT runs a full web search under the hood and synthesizes results into a concise answer — ideal for factual questions, API lookups, and current-events queries.
This skill uses a Go binary for fast startup and no runtime dependencies. The binary can be downloaded pre-built or compiled from source.
## Setup
Requires a Kagi account with API access enabled. Uses the same `KAGI_API_KEY` as the `kagi-search` skill.
1. Create an account at https://kagi.com/signup
2. Navigate to Settings → Advanced → API portal: https://kagi.com/settings/api
3. Generate an API Token
4. Add funds at: https://kagi.com/settings/billing_api
5. Add to your shell profile (`~/.profile` or `~/.zprofile`):
```bash
export KAGI_API_KEY="your-api-key-here"
```
6. Install the binary — see [Installation](#installation) below
## Pricing
1.5¢ per query ($15 USD per 1000 queries). Cached responses are free.
## Usage
```bash
{baseDir}/kagi-fastgpt.sh "query" # Ask a question (default)
{baseDir}/kagi-fastgpt.sh "query" --json # JSON output
{baseDir}/kagi-fastgpt.sh "query" --no-refs # Answer only, no references
{baseDir}/kagi-fastgpt.sh "query" --no-cache # Bypass response cache
{baseDir}/kagi-fastgpt.sh "query" --show-balance # Show API balance for this call
{baseDir}/kagi-fastgpt.sh balance