Skip to main content

Demos

The docs site ships with recorded terminal GIFs from the repo:
  • search
  • subscriber summarize
  • news
  • assistant

Preview

Search demo

Subscriber Summarize

Summarize demo

News

News demo

Assistant

Assistant demo

Regenerate

Subscriber demos require KAGI_SESSION_TOKEN. The demo scripts build the local debug binary, expose it as kagi through /tmp/*kagi*-demo-bin, and add short intro and outro pauses so the commands stay readable in the final GIFs. The current demo commands are:
  • kagi search --pretty "obsidian cli daily notes workflow"
  • kagi summarize --subscriber --url https://mullvad.net/en/browser | jq -M ...
  • kagi news --category tech --limit 1 | jq -M ...
  • kagi assistant "plan a private obsidian workflow for cafe work. give me 3 setup tips and a short checklist." | jq -M ...
chmod +x scripts/demo-search.sh scripts/demo-summarize.sh scripts/demo-news.sh scripts/demo-assistant.sh

mkdir -p docs/demo-assets /tmp/kagi-demos

agg --version
KAGI_SESSION_TOKEN='...' asciinema rec -c ./scripts/demo-search.sh -q -i 0.2 --cols 92 --rows 22 /tmp/kagi-demos/search.cast
KAGI_SESSION_TOKEN='...' asciinema rec -c ./scripts/demo-summarize.sh -q -i 0.2 --cols 92 --rows 22 /tmp/kagi-demos/summarize.cast
asciinema rec -c ./scripts/demo-news.sh -q -i 0.2 --cols 92 --rows 22 /tmp/kagi-demos/news.cast
KAGI_SESSION_TOKEN='...' asciinema rec -c ./scripts/demo-assistant.sh -q -i 0.2 --cols 92 --rows 22 /tmp/kagi-demos/assistant.cast

Rendering

Use the official asciinema agg binary when exporting GIFs. On this machine, the correct binary may be the Cargo-installed one rather than an unrelated npm package that also installs agg.
agg --theme asciinema --font-size 14 --idle-time-limit 2 --last-frame-duration 4 /tmp/kagi-demos/search.cast docs/demo-assets/search.gif
agg --theme asciinema --font-size 14 --idle-time-limit 2 --last-frame-duration 4 /tmp/kagi-demos/summarize.cast docs/demo-assets/summarize.gif
agg --theme asciinema --font-size 14 --idle-time-limit 2 --last-frame-duration 4 /tmp/kagi-demos/news.cast docs/demo-assets/news.gif
agg --theme asciinema --font-size 14 --idle-time-limit 2 --last-frame-duration 4 /tmp/kagi-demos/assistant.cast docs/demo-assets/assistant.gif