kagi-search
Web search via Kagi. Use when specifically asked to search Kagi, or when needing to find current information, documentation, facts, or web content. Returns search results and Quick Answers.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Kagi Search
Search the web using Kagi. Returns search results with titles, URLs, snippets, and optionally a Quick Answer summary with references.
Setup
Requires kagi-search CLI in PATH
Usage
# Human-readable output (colored, hyperlinked)
kagi-search "query"
# JSON output (for programmatic use)
kagi-search --json "query"
# Limit results (default: 10)
kagi-search -n 5 "query"
# Read query from stdin
echo "query" | kagi-search
# Debug mode (logs to stderr)
kagi-search -d "query"
JSON Output Format
{
"results": [
{
"title": "Page Title",
"url": "https://example.com",
"snippet": "Description text..."
}
],
"quick_answer": {
"markdown": "Formatted answer...",
"raw_text": "Plain text answer...",
"references": [
{ "title": "Source", "url": "https://..." }
]
}
}
Workflow
- Run
kagi-search --json "query" - Parse JSON response
- Check
quick_answerfirst - often has the direct answer with citations - Use
resultsarray for detailed sources and additional context
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!