Three steps. No coding required. You'll have a personal AI assistant running on your computer and ready to text from your phone.
Pick your operating system and run the command below. The installer will ask for your bot token, your Telegram user ID, and your API key from Steps 1 and 2.
Open PowerShell (search "PowerShell" in the Start menu) and paste this command:
irm https://keepaisharp.com/install.ps1 | iex
Open Terminal and paste this command:
curl -fsSL https://keepaisharp.com/install.sh | bash
The installer says "permission denied"
Windows: Right-click PowerShell and select "Run as Administrator", then try again. Mac: Make sure you are using the command exactly as shown - the bash at the end is required.
Kai doesn't respond in Telegram
Make sure your computer is on and connected to the internet. Check that you messaged the correct bot (the one you created, not @BotFather). If it still does not work, restart the Kai service: kai restart in your terminal.
I get an "invalid API key" error
Go back to console.anthropic.com and make sure your API key is active and you have billing set up. You can update the key by running kai config in your terminal.
Kai stopped working after a computer restart
The service may not have started automatically. Open your terminal and run kai start. If that does not fix it, run the installer again - it will detect the existing install and repair the service registration.
How do I find my Telegram user ID?
Search for @userinfobot in Telegram and send it any message. It will reply with your numeric user ID. You can also find it in the installer - it walks you through this step.
If you'd rather not do this alone, we have two options: