hakimi
v0.1.1
Published
Chat with AI assistant via Telegram/Slack/Feishu to remotely control your computer
Maintainers
Readme
Hakimi
Chat with an AI assistant via Telegram/Slack/Feishu to remotely control your computer.
Prerequisites
Hakimi depends on Kimi Code CLI. Install it first:
# Linux/macOS
curl -LsSf https://code.kimi.com/install.sh | bash
# Windows (PowerShell)
Invoke-RestMethod https://code.kimi.com/install.ps1 | Invoke-ExpressionFor detailed instructions, see the Getting Started Guide.
Install
npm install -g hakimiUsage
hakimiDebug mode (show detailed logs):
hakimi --debug1. Login to Kimi Code
Press L to login to your Kimi Code account. Follow the prompts to complete authorization in your browser.
2. Configure
Press C to start the configuration wizard. The AI assistant will guide you through:
- Naming your AI assistant
- Setting up chat platforms (Telegram/Slack/Feishu)
3. Start Service
Press S to start the service, then send messages to your Bot on the chat platform.
Supported Platforms
Telegram
- Search for @BotFather on Telegram
- Send
/newbotto create a bot - Get the Bot Token
Slack
- Go to https://api.slack.com/apps to create an app
- Get the App-Level Token (
xapp-...) - Get the Bot User OAuth Token (
xoxb-...)
Feishu (Lark)
- Go to https://open.feishu.cn to create an app
- Get the App ID and App Secret
Hotkeys
| Key | Function | |-----|----------| | L | Login to Kimi Code | | C | Configuration wizard | | S | Start/Stop service | | Q | Quit | | Esc | Back/Cancel |
Config Files
- Kimi Code:
~/.kimi/config.toml - Hakimi:
~/.hakimi/config.toml
License
MIT
