Kagi is a terminal CLI for Kagi, providing command-line access to various features like search, quick answers, and summarization. It offers a guided setup process for authentication and supports both session tokens and API keys. The CLI is designed for interactive use, shell workflows, and structured JSON output, with features like batch searches, assistant interactions, and account management. Note: Writing Tools aren’t designed to work with this type of content.