Microck

Microck / kagi-cli

Public

terminal CLI for Kagi that gives you command-line access to search, lenses, assistant, summarization, feeds, and paid API commands.

11
1
100% credibility
Found Mar 17, 2026 at 11 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Rust
AI Summary

A terminal tool that brings Kagi's search, summarization, news feeds, and AI assistant features to your command line with easy account linking and structured outputs.

How It Works

1
🔍 Discover Kagi Terminal Tool

You hear about a handy tool that lets you search Kagi right from your computer's command line, perfect for quick research without opening a browser.

2
📥 Install Easily

Run a simple download command, and the tool appears ready to use on your computer in seconds.

3
🔗 Connect Your Kagi Account

Copy the session link from your Kagi settings and paste it once to link everything securely—no hassle.

4
🧑‍💻 Run Your First Search

Type a question like 'best coffee recipes' and see colorful results with links and snippets right in your terminal.

5
📄 Explore More Features

Ask for news updates, page summaries, or chat with an assistant, all flowing nicely into your workflow.

🚀 Power Up Your Research

Now you zip through searches, summaries, and insights from anywhere in your terminal, feeling like a pro researcher.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 11 to 11 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is kagi-cli?

kagi-cli is a Rust-built terminal client for Kagi search, letting you run searches, lenses, assistant prompts, summarization, news feeds, and paid API calls like fastgpt directly from the command line. It solves the hassle of switching to a browser for Kagi by offering JSON-first output for scripts, pretty terminal views, and easy auth via session links or API tokens. Works as a terminal client for Windows, Mac, and Linux with one-command installs via curl, brew, npm, or scoop.

Why is it gaining traction?

Unlike browser-bound Kagi access, this kagi cline delivers parallel batch searches with rate limiting, shell completions for bash/zsh/fish, and fallback auth between session and API tokens—perfect for chaining into pipelines without paid API upfront. Output formats like compact JSON, markdown, or CSV make it script-friendly, while subscriber features like lens-scoped queries feel native. Cross-platform packaging and demo scripts hook devs tired of manual clipboard terminal copies.

Who should use this?

Kagi subscribers building shell workflows or agents need it for quick `kagi search --lens 2 "rust docs"` or `kagi batch` runs. Terminal github authentication fans or those scripting news/enrich queries will dig the structured JSON. Devs on terminal github mac/windows setups wanting Kagi in dotfiles or CI pipelines.

Verdict

Grab it if you're a Kagi user—solid docs, CI, and MIT license make it production-ready for personal scripts despite 11 stars and 1.0% credibility score. Still early; watch for stability as usage grows.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.