# Send Kagi Fastgpt to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "kagi-fastgpt",
    "name": "Kagi Fastgpt",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/joelazar/kagi-fastgpt",
    "canonicalUrl": "https://clawhub.ai/joelazar/kagi-fastgpt",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/kagi-fastgpt",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kagi-fastgpt",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "kagi-fastgpt.sh",
      "SKILL.md",
      "main.go"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "kagi-fastgpt",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T16:36:33.364Z",
      "expiresAt": "2026-05-11T16:36:33.364Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kagi-fastgpt",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=kagi-fastgpt",
        "contentDisposition": "attachment; filename=\"kagi-fastgpt-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "kagi-fastgpt"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/kagi-fastgpt"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/kagi-fastgpt",
    "downloadUrl": "https://openagent3.xyz/downloads/kagi-fastgpt",
    "agentUrl": "https://openagent3.xyz/skills/kagi-fastgpt/agent",
    "manifestUrl": "https://openagent3.xyz/skills/kagi-fastgpt/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/kagi-fastgpt/agent.md"
  }
}
```
## Documentation

### Kagi FastGPT

Get AI-generated answers with cited web sources using Kagi's FastGPT API. 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.

Create an account at https://kagi.com/signup
Navigate to Settings → Advanced → API portal: https://kagi.com/settings/api
Generate an API Token
Add funds at: https://kagi.com/settings/billing_api
Add to your shell profile (~/.profile or ~/.zprofile):
export KAGI_API_KEY="your-api-key-here"


Install the binary — see Installation below

### Pricing

1.5¢ per query ($15 USD per 1000 queries). Cached responses are free.

### Usage

{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" --timeout 60           # Custom timeout (default: 30s)

### Options

FlagDescription--jsonEmit JSON output (see below)--no-refsSuppress references in text output--no-cacheBypass cached responses (use for time-sensitive queries)--timeout <sec>HTTP timeout in seconds (default: 30)

### Default (text)

Prints the synthesized answer, followed by a numbered reference list:

Python 3.11 was released on October 24, 2022 and introduced several improvements...

--- References ---
[1] What's New In Python 3.11 — Python 3.11.3 documentation
    https://docs.python.org/3/whatsnew/3.11.html
    The headline changes in Python 3.11 include significant performance improvements...
[2] ...

Token usage and API balance are printed to stderr.

### JSON (--json)

Returns a JSON object with:

query — the original query
output — the synthesized answer
tokens — tokens consumed
references[] — array of { title, url, snippet } objects
meta — API metadata (id, node, ms)

### When to Use

Use kagi-fastgpt when you need a direct answer synthesized from web sources (e.g. "What version of X was released last month?", "How do I configure Y?")
Use kagi-search when you need raw search results to scan, compare, or extract data from yourself
Use web-browser when you need to interact with a page or the content is behind JavaScript

### Option A — Download pre-built binary (no Go required)

OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m)
case "$ARCH" in
  x86_64)        ARCH="amd64" ;;
  aarch64|arm64) ARCH="arm64" ;;
esac

TAG=$(curl -fsSL "https://api.github.com/repos/joelazar/kagi-skills/releases/latest" | grep '"tag_name"' | cut -d'"' -f4)
BINARY="kagi-fastgpt_${TAG}_${OS}_${ARCH}"

mkdir -p {baseDir}/.bin
curl -fsSL "https://github.com/joelazar/kagi-skills/releases/download/${TAG}/${BINARY}" \\
  -o {baseDir}/.bin/kagi-fastgpt
chmod +x {baseDir}/.bin/kagi-fastgpt

# Verify checksum (recommended)
curl -fsSL "https://github.com/joelazar/kagi-skills/releases/download/${TAG}/checksums.txt" | \\
  grep "${BINARY}" | sha256sum --check

Pre-built binaries are available for Linux and macOS (amd64 + arm64) and Windows (amd64).

### Option B — Build from source (requires Go 1.26+)

cd {baseDir} && go build -o .bin/kagi-fastgpt .

Alternatively, just run {baseDir}/kagi-fastgpt.sh directly — the wrapper auto-builds on first run if Go is available.

The binary has no external dependencies — only the Go standard library.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: joelazar
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T16:36:33.364Z
- Expires at: 2026-05-11T16:36:33.364Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/kagi-fastgpt)
- [Send to Agent page](https://openagent3.xyz/skills/kagi-fastgpt/agent)
- [JSON manifest](https://openagent3.xyz/skills/kagi-fastgpt/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/kagi-fastgpt/agent.md)
- [Download page](https://openagent3.xyz/downloads/kagi-fastgpt)