Install Kai in 15 Minutes

Three steps. No coding required. You'll have a personal AI assistant running on your computer and ready to text from your phone.

1
Telegram Bot
2
API Key
3
Install
1

Create Your Telegram Bot

About 5 minutes
  1. 1 Open Telegram on your phone or desktop.
  2. 2 Search for @BotFather and open the chat.
  3. 3 Send the command /newbot to BotFather.
  4. 4 Choose a display name for your bot (e.g., "Kai Assistant").
  5. 5 Choose a username that ends in "bot" (e.g., "raj_kai_bot").
  6. 6 BotFather will reply with your bot token - a long string of numbers and letters. Copy it.
Save this token somewhere safe - you will need it in Step 3.
2

Get Your Anthropic API Key

About 5 minutes
  1. 1 Go to console.anthropic.com
  2. 2 Sign up for an account (or sign in if you already have one).
  3. 3 Navigate to API Keys in the left sidebar.
  4. 4 Click Create Key and give it a name like "Kai".
  5. 5 Copy the key immediately - it will only be shown once.
You will need a credit card on file with Anthropic. Typical usage costs $10-30/month depending on how much you use Kai.
3

Run the Installer

About 5 minutes

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
  1. 1 The installer asks for your Telegram bot token (from Step 1).
  2. 2 It asks for your Telegram user ID (it tells you how to find this).
  3. 3 It asks for your Anthropic API key (from Step 2).
  4. 4 It installs Kai and sets it to start automatically when your computer turns on.
That's it. Open Telegram and text your new AI assistant. It's ready to work.

What happens next

Kai starts immediately

As soon as the installer finishes, Kai is running and listening for your messages in Telegram.

🔄

Auto-runs on boot

The installer registers Kai as a service. It starts automatically every time your computer turns on.

📱

Text it anytime

Open Telegram from your phone, tablet, or any device. Ask it anything. It works while you are away.

Troubleshooting

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.